Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Kolla-ansible Sahara Failed.

Hi, everyone

I'm using openstack kolla-ansible queens version. I want use a sahara but i had a failed.

o Creating cluster failed for the following reason(s): Failed to create trust Error ID: 4507a375-4e5d-41f7-8e65-3c11ac2208b1, Failed to create trust Error ID: 15b91ad6-e434-4191-b083-b731d7cebe49

o sahara-engine.log

2020-03-16 16:04:07.247 8 ERROR sahara.service.trusts [req-38b9f7df-b392-4ea0-9e07-41da0f44fae6 16ef061a00d44885bb13cb109baa057b 97da27035c0f4562a43b81a00ed1b455 - - -] [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] Unable to create trust (reason: (http://controllervip:35357/auth/tokens): The resource could not be found. (HTTP 404)): NotFound: (http://controllervip:35357/auth/tokens): The resource could not be found. (HTTP 404) 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [req-38b9f7df-b392-4ea0-9e07-41da0f44fae6 16ef061a00d44885bb13cb109baa057b 97da27035c0f4562a43b81a00ed1b455 - - -] [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] Error during rollback of cluster (reason: Failed to create trust Error ID: 2cc90421-dbc2-47af-be1f-123bf585a30b): CreationFailed: Failed to create trust Error ID: 2cc90421-dbc2-47af-be1f-123bf585a30b 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] Traceback (most recent call last): 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sahara/service/ops.py", line 216, in wrapper 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] if _rollback_cluster(cluster, ex): 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sahara/service/ops.py", line 244, in _rollback_cluster 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] _setup_trust_for_cluster(cluster) 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sahara/service/ops.py", line 186, in _setup_trust_for_cluster 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] trusts.create_trust_for_cluster(cluster) 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sahara/service/trusts.py", line 95, in create_trust_for_cluster 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] allow_redelegation=True) 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sahara/service/trusts.py", line 73, in create_trust 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] raise ex.CreationFailed(_('Failed to create trust')) 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] CreationFailed: Failed to create trust 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] Error ID: 2cc90421-dbc2-47af-be1f-123bf585a30b 2020-03-16 16:04:07.271 8 ERROR sahara.service.ops [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] 2020-03-16 16:04:07.364 8 INFO sahara.utils.cluster [req-38b9f7df-b392-4ea0-9e07-41da0f44fae6 16ef061a00d44885bb13cb109baa057b 97da27035c0f4562a43b81a00ed1b455 - - -] [instance: none, cluster: f261c4dc-4222-4626-8c55-9c5150ba2d2a] Cluster status has been changed. New status=Error 2020-03-16 16:04:20.466 19 WARNING oslo_messaging.server [-] Possible hang: wait is waiting for stop to complete 2020-03-16 16:04:35.475 19 WARNING sahara.context [-] Arguments dropped when creating context: {u'read_only': False, u'domain': None, u'project_name': u'admin', u'global_request_id': None, u'show_deleted': False, u'user_identity': u'16ef061a00d44885bb13cb109baa057b 97da27035c0f4562a43b81a00ed1b455 - - -', u'project_domain': None, u'is_admin_project': True, u'project': u'97da27035c0f4562a43b81a00ed1b455', u'user': u'16ef061a00d44885bb13cb109baa057b', u'user_domain': None, u'user_name': u'admin', u'tenant': u'97da27035c0f4562a43b81a00ed1b455'} 2020-03-16 16:04:35.694 19 ERROR sahara.service.trusts [req-25a6e725-5f6a-4bec-a706-ce11a432519c 16ef061a00d44885bb13cb109baa057b 97da27035c0f4562a43b81a00ed1b455 - - -] [instance: none, cluster: 0ad78282-8da9-4ed1-b8cc-c62c29a63a1d] Unable to create trust (reason: (http://controllervip:35357/auth/tokens): The resource could not be found. (HTTP 404)): NotFound: (http://controllervip:35357/auth/tokens): The resource could not be found. (HTTP 404)

This is CentOS7 Vanilla 2.7.1 version. I tried a sahara-api, sahara-engine -> sahara.conf setting change keystone_authtoken, but same.

So, did you have a idea?