[openstack-dev] [murano] Fail to install murano in Pro environment / Ansible cookbook for murano

Kirill Zaitsev kzaitsev at mirantis.com
Mon Jul 4 15:09:10 UTC 2016


Hi Alioune!

Can you please share which versions of murano and existing cloud do you have? 

I would bet that you’re using stable/liberty murano, or earlier. The code you mentioned has been refactored in stable/mitaka [1] This was done, because oslo.messaging has merged a commit [2], that changed a couple of interfaces murano used. This commit AFAIK triggered a major version release of oslo.messaging (5.0.0). At least according to gerrit 5.0.0 is the 1st release it is included in.
Then again in stable/liberty the upper constraint for oslo.messaging was 2.5.0 [3]. However it is not capped in requirements. [4]

So the problem here (and that’s my educated guess =)) is that tox is installing way too recent version of oslo.messaging library for murano to use on stable/liberty. A quick solution for your case would be to downgrade your oslo.messaging to 2.5.0

A longer and better solution would be to teach our tox to honor upper-constraints for stable branches, I guess, since they’re not always backward compatible as we may see.
Hope this helps!

Also, please note, that this ML is not for usage questions — the question is more suited for openstack at lists.openstack.org 
Or you can come to #murano in IRC =) We try to keep it alive and you’ll be able to get answers quicker.

[1] https://review.openstack.org/#/q/Ied7acaeed6edde17d2d6f073c304021e22811409,n,z 
[2] https://review.openstack.org/#/c/297988/ 
[3] https://github.com/openstack/requirements/blob/stable/liberty/upper-constraints.txt#L196
[4] https://github.com/openstack/requirements/blob/stable/liberty/global-requirements.txt#L90 
-- 
Kirill Zaitsev
Murano Project Tech Lead
Software Engineer at
Mirantis, Inc

On 4 juillet 2016 at 17:34:40, Alioune (balioune3 at gmail.com) wrote:

Hi all,

I'm trying to install murano in existing openstack platform following [1].
So the installation process fails at step [2] with this error.
Any suggestion for solving that ?
Is there existing murano playbook for easy deployment with ansible ?


You can find my murano.conf in [3]

[1] http://docs.openstack.org/developer/murano/install/manual.html

[2] sudo  tox -e venv -- murano-api --config-file ./etc/murano/murano.conf

[3] https://drive.google.com/file/d/0B-bfET74f0WZd2N6WGR0Szh1UUE/view?usp=sharing


ERROR:
2016-07-04 14:06:59.960 9251 WARNING keystonemiddleware.auth_token [-] Use of the auth_admin_prefix, auth_host, auth_port, auth_protocol, identity_uri, admin_token, admin_user, admin_password, and admin_tenant_name configuration options was deprecated in the Mitaka release in favor of an auth_plugin and its related options. This class may be removed in a future release.
2016-07-04 14:06:59.960 9251 WARNING keystonemiddleware.auth_token [-] Configuring admin URI using auth fragments was deprecated in the Kilo release, and will be removed in the N release, use 'identity_uri\ instead.
2016-07-04 14:07:00.252 9251 CRITICAL murano [-] TypeError: __init__() takes exactly 3 arguments (5 given)
2016-07-04 14:07:00.252 9251 ERROR murano Traceback (most recent call last):
2016-07-04 14:07:00.252 9251 ERROR murano   File ".tox/venv/bin/murano-api", line 10, in <module>
2016-07-04 14:07:00.252 9251 ERROR murano     sys.exit(main())
2016-07-04 14:07:00.252 9251 ERROR murano   File "/home/vagrant/murano/murano/cmd/api.py", line 66, in main
2016-07-04 14:07:00.252 9251 ERROR murano     launcher.launch_service(server.get_notification_service())
2016-07-04 14:07:00.252 9251 ERROR murano   File "/home/vagrant/murano/murano/common/server.py", line 235, in get_notification_service
2016-07-04 14:07:00.252 9251 ERROR murano     NOTIFICATION_SERVICE = _prepare_notification_service(str(uuid.uuid4()))
2016-07-04 14:07:00.252 9251 ERROR murano   File "/home/vagrant/murano/murano/common/server.py", line 219, in _prepare_notification_service
2016-07-04 14:07:00.252 9251 ERROR murano     [s_target], endpoints, None, True)
2016-07-04 14:07:00.252 9251 ERROR murano TypeError: __init__() takes exactly 3 arguments (5 given)
2016-07-04 14:07:00.252 9251 ERROR murano
ERROR: InvocationError: '/home/vagrant/murano/.tox/venv/bin/murano-api --config-file etc/murano/murano.conf'
_________________________________________________ summary _________________________________________________
ERROR:   venv: commands failed
__________________________________________________________________________  
OpenStack Development Mailing List (not for usage questions)  
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe  
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160704/d35a0a37/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Message signed with OpenPGP using AMPGpg
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160704/d35a0a37/attachment.pgp>


More information about the OpenStack-dev mailing list