Failed to create trustee

Asked by narasimha18sv

While creating bay it is failing with below error.2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone [req-075be281-1ec6-4e21-9074-e5e829fa48ba admin admin - - -] Failed to create trustee
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone Traceback (most recent call last):
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/magnum/common/keystone.py", line 184, in create_trustee
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone domain=domain_id)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/debtcollector/renames.py", line 45, in wrapper
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone return f(*args, **kwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 94, in inner
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone return func(*args, **kwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneclient/v3/users.py", line 77, in create
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone log=not bool(password))
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 171, in _post
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone resp, body = self.client.post(url, body=body, **kwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 179, in post
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone return self.request(url, 'POST', **kwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 331, in request
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 98, in request
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone return self.session.request(url, method, **kwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 94, in inner
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone return func(*args, **kwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 320, in request
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone auth_headers = self.get_auth_headers(auth)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 638, in get_auth_headers
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone return auth.get_headers(self, **kwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/base.py", line 159, in get_headers
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone token = self.get_token(session)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 216, in get_token
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone return self.get_access(session).auth_token
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 262, in get_access
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone self.auth_ref = self.get_auth_ref(session)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3/base.py", line 190, in get_auth_ref
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone authenticated=False, log=False, **rkwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 520, in post
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone return self.request(url, 'POST', **kwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 94, in inner
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone return func(*args, **kwargs)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", line 420, in request
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone raise exceptions.from_response(resp, method, url)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone NotFound: The resource could not be found. (HTTP 404)
2016-04-26 09:17:44.624 19391 ERROR magnum.common.keystone
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher [req-075be281-1ec6-4e21-9074-e5e829fa48ba admin admin - - -] Exception during message handling: Failed to create trustee 91a376a6-7b32-4fb4-b1f0-1b33489c913f in domain 61a6f2b431c8475dbcc40e756cf3d8d6
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher incoming.message))
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/magnum/conductor/handlers/bay_conductor.py", line 143, in bay_create
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher self._create_trustee_and_trust(osc, bay)
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/magnum/conductor/handlers/bay_conductor.py", line 128, in _create_trustee_and_trust
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher CONF.trust.trustee_domain_id)
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/magnum/common/keystone.py", line 188, in create_trustee
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher domain_id=domain_id)
2016-04-26 09:17:44.641 19391 ERROR oslo_messaging.rpc.dispatcher TrusteeCreateFailed: Failed to create trustee 91a376a6-7b32-4fb4-b1f0-1b33489c913f in domain 61a6f2b431c8475dbcc40e756cf3d8d6

As suggested in other sites I have added trust values in magnum.conf
but still the same error
[trust]
trustee_domain_id = 61a6f2b431c8475dbcc40e756cf3d8d6
trustee_domain_admin_id = f68acb0dff7040b09c8210a9d0c2cf80
trustee_domain_admin_password = cloud123

I am not using barbican to cert management .
[certificates]
cert_manager_type = local

Question information

Language:
English Edit question
Status:
Expired
For:
Magnum Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.