Ask Your Question
0

Murano deploiement failed

asked 2018-06-18 07:45:14 -0500

Sideris gravatar image

Hi all,

I've installed murano on my openstack architecture. But when i want to deploy an environment i have this error:

2018-06-18 11:57:18 — Action deploy is scheduled
2018-06-18 11:57:18 — 'NoneType' object has no attribute 'get_user_id'

When i watch the log, in murano-engine.log i have these errors

2018-06-18 13:57:18.879 21759 ERROR murano.common.engine [-] Exception 'NoneType' object has no attribute 'get_user_id' occurred during invocation of <system>: AttributeError: 'NoneType' object has no attribute 'get_user_id'
2018-06-18 13:57:18.879 21759 ERROR murano.common.engine Traceback (most recent call last):
2018-06-18 13:57:18.879 21759 ERROR murano.common.engine   File "/usr/lib/python2.7/dist-packages/murano/common/engine.py", line 199, in execute
2018-06-18 13:57:18.879 21759 ERROR murano.common.engine     self._create_trust()
2018-06-18 13:57:18.879 21759 ERROR murano.common.engine   File "/usr/lib/python2.7/dist-packages/murano/common/engine.py", line 318, in _create_trust
2018-06-18 13:57:18.879 21759 ERROR murano.common.engine     self._session.token, self._session.project_id)
2018-06-18 13:57:18.879 21759 ERROR murano.common.engine   File "/usr/lib/python2.7/dist-packages/murano/common/auth_utils.py", line 96, in create_trust
2018-06-18 13:57:18.879 21759 ERROR murano.common.engine     trustee_user = admin_client.session.auth.get_user_id(admin_client.session)
2018-06-18 13:57:18.879 21759 ERROR murano.common.engine AttributeError: 'NoneType' object has no attribute 'get_user_id'
2018-06-18 13:57:18.879 21759 ERROR murano.common.engine
2018-06-18 13:57:18.918 21759 INFO murano.common.engine [-] Finished processing task: {"action": {"isException": true, "result": {"message": "'NoneType' object has no attribute 'get_user_id'", "details": "Traceback (most recent call last):\n  File \"/usr/lib/python2.7/dist-packages/murano/common/engine.py\", line 199, in execute\n    self._create_trust()\n  File \"/usr/lib/python2.7/dist-packages/murano/common/engine.py\", line 318, in _create_trust\n    self._session.token, self._session.project_id)\n  File \"/usr/lib/python2.7/dist-packages/murano/common/auth_utils.py\", line 96, in create_trust\n    trustee_user = admin_client.session.auth.get_user_id(admin_client.session)\nAttributeError: 'NoneType' object has no attribute 'get_user_id'\n"}}}
2018-06-18 13:57:18.920 21759 WARNING oslo_messaging.rpc.client [-] Using notification transport for RPC. Please use get_rpc_transport to obtain an RPC transport instance.
2018-06-18 13:57:19.074 21759 ERROR oslo_messaging.rpc.server [-] Exception during message handling: KeyError: u'\'model\'\nTraceback (most recent call last):\n\n  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming\n    res = self.dispatcher.dispatch(message)\n\n  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 220, in dispatch\n    return self._do_dispatch(endpoint, method, ctxt, args)\n\n  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 190, in _do_dispatch\n    result = func(ctxt, **new_args)\n\n  File "/usr/lib/python2.7/dist-packages/murano/common/server.py", line 47, in process_result\n    model = result[\'model\']\n\nKeyError: \'model\'\n'
2018-06-18 13:57:19.074 21759 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2018-06-18 13:57:19.074 21759 ERROR ...
(more)
edit retag flag offensive close merge delete

Comments

correctly configure all parameters for keystone auth in section [keystone_auth] and [murano_auth] in murano.conf

i wrote some tips in https://ask.openstack.org/en/question/116121/nonetype-has-no-attribute-get_user_id/?sort=latest (https://ask.openstack.org/en/question...)

lukaslemes gravatar imagelukaslemes ( 2018-09-26 12:38:04 -0500 )edit

3 answers

Sort by » oldest newest most voted
0

answered 2018-08-23 10:55:16 -0500

Hello! Have you had any chance debugging this? I've got the same problem after upgrading from pike to queens.

Thanks!

edit flag offensive delete link more
0

answered 2018-09-24 21:34:51 -0500

jmguzman gravatar image

I have the same issue. Did you manage to find a solution?

edit flag offensive delete link more
0

answered 2018-09-25 07:46:34 -0500

lukaslemes gravatar image

Hi, probably broken trusted keystone login, because when u set use_trusts = false in murano.conf, then it's ok. Or set some config value for trusted in murano.conf, but i dont find out what value so far

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-06-18 07:45:14 -0500

Seen: 228 times

Last updated: Sep 24 '18