[Devstack]: The 'oslo.config<1.10.0,>=1.9.3' distribution was not found and is required by keystone

Bug #1450708 reported by Pradip Rawat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Ekaterina Chernova

Bug Description

I am trying to install murano using devstack but it's fails with below error, I am using stable/kilo..... (without enabling murano services devstack working fine...!!)

2015-05-01 05:30:19.063 | + init_keystone
2015-05-01 05:30:19.063 | + is_service_enabled ldap
2015-05-01 05:30:19.066 | + return 1
2015-05-01 05:30:19.066 | + recreate_database keystone
2015-05-01 05:30:19.066 | + local db=keystone
2015-05-01 05:30:19.066 | + recreate_database_mysql keystone
2015-05-01 05:30:19.067 | + local db=keystone
2015-05-01 05:30:19.067 | + mysql -uroot -pvedams123 -h127.0.0.1 -e 'DROP DATABASE IF EXISTS keystone;'
2015-05-01 05:30:19.098 | + mysql -uroot -pvedams123 -h127.0.0.1 -e 'CREATE DATABASE keystone CHARACTER SET utf8;'
2015-05-01 05:30:19.105 | + /usr/local/bin/keystone-manage db_sync
2015-05-01 05:30:19.275 | Traceback (most recent call last):
2015-05-01 05:30:19.275 | File "/usr/local/bin/keystone-manage", line 4, in <module>
2015-05-01 05:30:19.275 | __import__('pkg_resources').require('keystone==2015.1.1.dev1')
2015-05-01 05:30:19.275 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3070, in <module>
2015-05-01 05:30:19.275 | @_call_aside
2015-05-01 05:30:19.275 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3056, in _call_aside
2015-05-01 05:30:19.275 | f(*args, **kwargs)
2015-05-01 05:30:19.276 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3083, in _initialize_master_working_set
2015-05-01 05:30:19.276 | working_set = WorkingSet._build_master()
2015-05-01 05:30:19.276 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 647, in _build_master
2015-05-01 05:30:19.276 | return cls._build_from_requirements(__requires__)
2015-05-01 05:30:19.276 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 660, in _build_from_requirements
2015-05-01 05:30:19.276 | dists = ws.resolve(reqs, Environment())
2015-05-01 05:30:19.277 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 833, in resolve
2015-05-01 05:30:19.277 | raise DistributionNotFound(req, requirers)
2015-05-01 05:30:19.277 | pkg_resources.DistributionNotFound: The 'oslo.config<1.10.0,>=1.9.3' distribution was not found and is required by keystone
2015-05-01 05:30:19.286 | + exit_trap
2015-05-01 05:30:19.286 | + local r=1
2015-05-01 05:30:19.286 | ++ jobs -p
2015-05-01 05:30:19.287 | + jobs=
2015-05-01 05:30:19.287 | + [[ -n '' ]]
2015-05-01 05:30:19.287 | + kill_spinner
2015-05-01 05:30:19.287 | + '[' '!' -z '' ']'
2015-05-01 05:30:19.287 | + [[ 1 -ne 0 ]]
2015-05-01 05:30:19.287 | + echo 'Error on exit'
2015-05-01 05:30:19.287 | Error on exit
2015-05-01 05:30:19.287 | + [[ -z /opt/stack/logs ]]
2015-05-01 05:30:19.287 | + /home/murano/devstack/tools/worlddump.py -d /opt/stack/logs
2015-05-01 05:30:19.343 | + exit 1

Revision history for this message
Victor Ryzhenkin (vryzhenkin) wrote :

Hey! Could u add more logs of devstack installation?

Changed in murano:
importance: Undecided → High
Revision history for this message
Tristan Cacqueray (tristan-cacqueray) wrote :

Hi, having "PIP_UPGRADE=True" in your local.conf might be the reason for these errors. If so, try to remove that parameter and stack again....

Also, this is not a murano bug.

Revision history for this message
Pradip Rawat (pradipkumarr) wrote :

Hi, again i verified my localrc, there is no parameter "PIP_UPGRADE=True" and without enabling murano services devstack is working fine with all services which murano is using like neutron, nova, heat and cinder. When i am enabling murano services then only this error is coming ...... I am not sure but it may be some problem from murano side..

Revision history for this message
Ekaterina Chernova (efedorova) wrote :

Yes, the problem is in Murano-dashboard in test-requirements.txt

oslo.config>=1.9.3,<1.10.0 # Apache-2.0

So versions are in conflict state, I'll update them

Changed in murano:
status: New → Confirmed
milestone: none → liberty-1
assignee: nobody → Ekaterina Chernova (efedorova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

Fix proposed to branch: master
Review: https://review.openstack.org/187247

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/187247
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=b2443a6ff00f0cb0284d107562714ba113e042f0
Submitter: Jenkins
Branch: master

commit b2443a6ff00f0cb0284d107562714ba113e042f0
Author: Ekaterina Chernova <email address hidden>
Date: Mon Jun 1 19:19:31 2015 +0300

    Update from global requirements

    Devstack installation is blocked during conflict in versions

    Change-Id: I81ea4ccbc5459bc1bc38cbeec1ebb6ffaea7d57f
    Closes-Bug: #1450708

Changed in murano:
status: In Progress → Fix Committed
tags: added: kilo-backport-potential
Changed in murano:
status: Fix Committed → Fix Released
tags: removed: kilo-backport-potential
Changed in murano:
milestone: liberty-1 → 1.0.0
Changed in murano:
milestone: 1.0.0 → 1.0.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.