Sahara Cluster: Error on creation of a cluster

asked 2018-06-12 10:50:28 -0500

mondomeme gravatar image

Hi everybody. I have installed Sahara(pike) and Sahara dashboard in a controller node. I have access to the Data Processing project in horizon and when I try to create a cluster, it goes in error status : Creating cluster failed for the following reason(s): Failed to create trust Error ID: 717a4a3c-4ca3-4460-a917-42c6ff70ad37, Failed to create trust Error ID: 58397ca1-3a04-47c1-a933-1227570581f0.

I check the sahara-engine.log and in particular:

2018-06-12 15:18:01.242 6229 ERROR sahara.service.trusts [req-f9136169-343e-4aa8-bd6e-4c72510942ae 05690139ec424a908708c334d8bf285f 6421e95ef0424d8b85dec1a1898e69c4 - - -] [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] Unable to create trust (reason: Invalid input for field 'scope/project/domain/name': [u'default'] is not of type 'string'

Failed validating 'type' in schema['properties']['scope']['properties']['project']['properties']['domain']['properties']['name']: {'type': 'string'}

On instance['scope']['project']['domain']['name']: [u'default'] (HTTP 400) (Request-ID: req-980e7c3b-c25a-4f77-a75d-179b3db4324b)): BadRequest: Invalid input for field 'scope/project/domain/name': [u'default'] is not of type 'string' 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [req-f9136169-343e-4aa8-bd6e-4c72510942ae 05690139ec424a908708c334d8bf285f 6421e95ef0424d8b85dec1a1898e69c4 - - -] [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] Error during operating on cluster (reason: Failed to create trust Error ID: 9547274c-9d6a-4421-b326-7a1d74cfdae8): CreationFailed: Failed to create trust Error ID: 9547274c-9d6a-4421-b326-7a1d74cfdae8 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] Traceback (most recent call last): 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] File "/usr/local/lib/python2.7/dist-packages/sahara/service/ops.py", line 192, in wrapper 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] f(cluster_id, args, *kwds) 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] File "/usr/local/lib/python2.7/dist-packages/sahara/service/ops.py", line 273, in _provision_cluster 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] ctx, cluster, plugin = _prepare_provisioning(cluster_id) 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] File "/usr/local/lib/python2.7/dist-packages/sahara/service/ops.py", line 254, in _prepare_provisioning 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] _setup_trust_for_cluster(cluster) 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] File "/usr/local/lib/python2.7/dist-packages/sahara/service/ops.py", line 180, in _setup_trust_for_cluster 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] trusts.create_trust_for_cluster(cluster) 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] File "/usr/local/lib/python2.7/dist-packages/sahara/service/trusts.py", line 95, in create_trust_for_cluster 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] allow_redelegation=True) 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] File "/usr/local/lib/python2.7/dist-packages/sahara/service/trusts.py", line 73, in create_trust 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272] raise ex.CreationFailed(_('Failed to create trust')) 2018-06-12 15:18:01.272 6229 ERROR sahara.service.ops [instance: none, cluster: ed9e328b-680d-4cfc-aee2-ca445f5f1272 ... (more)

edit retag flag offensive close merge delete