Revision history [back]

click to hide/show revision 1
initial version

devstack requirements conflict

I am trying to build devstack on Centos 6.5 and am getting a conflict where openstackclient will not work with the version of stevedore installed (1.0.0):

    .
    .
    .
    2014-10-15 00:17:31.726 | + create_keystone_accounts
    2014-10-15 00:17:31.728 | ++ openstack project create admin
    2014-10-15 00:17:31.728 | ++ grep ' id '
    2014-10-15 00:17:31.729 | ++ get_field 2
    2014-10-15 00:17:31.730 | ++ read data
    2014-10-15 00:17:32.450 | ERROR: openstackclient.shell Exception raised: stevedore>=0.14
    2014-10-15 00:17:32.487 | + ADMIN_TENANT=
    2014-10-15 00:17:32.489 | ++ openstack user create admin --project '' --email admin@example.com --password admin
    2014-10-15 00:17:32.490 | ++ grep ' id '
    2014-10-15 00:17:32.490 | ++ get_field 2
    2014-10-15 00:17:32.490 | ++ read data
    2014-10-15 00:17:33.080 | ERROR: openstackclient.shell Exception raised: stevedore>=0.14
    2014-10-15 00:17:33.117 | + ADMIN_USER=
    2014-10-15 00:17:33.120 | ++ openstack role create admin
    2014-10-15 00:17:33.120 | ++ grep ' id '
    2014-10-15 00:17:33.120 | ++ get_field 2
    2014-10-15 00:17:33.121 | ++ read data
    2014-10-15 00:17:33.691 | ERROR: openstackclient.shell Exception raised: stevedore>=0.14
    2014-10-15 00:17:33.731 | + ADMIN_ROLE=
    2014-10-15 00:17:33.731 | + openstack role add --project --user
    2014-10-15 00:17:34.317 | ERROR: openstackclient.shell Exception raised: stevedore>=0.14
    2014-10-15 00:17:34.346 | + exit_trap
    2014-10-15 00:17:34.346 | + local r=1
    2014-10-15 00:17:34.347 | ++ jobs -p
    2014-10-15 00:17:34.347 | + jobs=
    2014-10-15 00:17:34.347 | + [[ -n '' ]]
    2014-10-15 00:17:34.347 | + exit 1
    controllernode1:/opt/devstack $ pip freeze | grep steve
    stevedore==1.0.0
    controllernode1:/opt/devstack $

Grepping through the requirements.txt files I see that both 0.14 and 1.0.0 are listed for stevedore, so I would have expected 1.0.0 to meet all the requirements:

controllernode1:/opt/stack $ find . -name requirements.txt | xargs grep stevedore
./glance/requirements.txt:stevedore>=0.14
./oslo.messaging/requirements.txt:stevedore>=1.0.0  # Apache-2.0
./python-openstackclient/requirements.txt:stevedore>=1.0.0  # Apache-2.0
./oslo.config/requirements.txt:stevedore>=1.0.0  # Apache-2.0
./python-keystoneclient/requirements.txt:stevedore>=1.0.0  # Apache-2.0
./oslo.vmware/requirements.txt:stevedore>=1.0.0  # Apache-2.0
./cliff/requirements.txt:stevedore>=0.14
./neutron/requirements.txt:stevedore>=0.14
./nova/requirements.txt:stevedore>=0.14
controllernode1:/opt/stack $

I tried reverting stevedore to 0.14 and running the 'openstack project create' manually but is just complains about the next conflict:

controllernode1:/opt/stack $ sudo pip install stevedore==0.14
Downloading/unpacking stevedore==0.14
  Downloading stevedore-0.14.tar.gz (357kB): 357kB downloaded
  Running setup.py (path:/tmp/pip_build_root/stevedore/setup.py) egg_info for package stevedore
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found
    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no files found matching '*.html' under directory 'docs'
    warning: no files found matching '*.css' under directory 'docs'
    warning: no files found matching '*.js' under directory 'docs'
    warning: no files found matching '*.png' under directory 'docs'
    warning: no files found matching '*.py' under directory 'tests'
Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.6/site-packages/argparse-1.2.1-py2.6.egg (from stevedore==0.14)
Installing collected packages: stevedore
  Found existing installation: stevedore 1.0.0
    Uninstalling stevedore:
      Successfully uninstalled stevedore
  Running setup.py install for stevedore
    [pbr] Reusing existing SOURCES.txt
Successfully installed stevedore
Cleaning up...
controllernode1:/opt/stack $ openstack project create admin
ERROR: openstackclient.shell Exception raised: requests>=1.1
controllernode1:/opt/stack $

Any ideas? Thanks in advance.

Below is the output of info.sh (following the downgrade of stevedore to 0.14)

controllernode1:/opt/devstack/tools $ ./info.sh
os|distro=rhel6
os|vendor=CentOS
os|release=6.5
git|cliff|master[51bec8c]
git|django_openstack_auth|master[3675a8e]
git|glance|stable/icehouse[63e599d]
git|horizon|stable/icehouse[694224c]
git|keystone|stable/icehouse[9b9c56d]
git|neutron|stable/icehouse[52baa45]
git|nova|stable/icehouse[74128f7]
git|noVNC|master[e2f1ff8]
git|oslo.config|master[eac2c57]
git|oslo.messaging|master[2e77446]
git|oslo.rootwrap|master[b4feb41]
git|oslo.vmware|master[776c20d]
git|pbr|master[f7537c5]
git|pycadf|master[a78885c]
git|python-cinderclient|master[8428ffd]
git|python-glanceclient|master[1781c5d]
git|python-heatclient|master[3d402d4]
git|python-keystoneclient|master[89dc951]
git|python-neutronclient|master[72c1473]
git|python-novaclient|master[1eb1abe]
git|python-openstackclient|master[fa9cdef]
git|python-swiftclient|master[83ca0b8]
git|requirements|stable/icehouse[c312e42]
git|stevedore|master[4f2b647]
git|taskflow|master[4533239]
git|tempest|master[9b0aed3]
pkg|gcc|4.4.7-4.el6
pkg|libffi-devel|3.0.5-3.2.el6
pkg|python-argparse|1.2.1-2.el6
pkg|python-eventlet|0.15.2-1.el6
pkg|python-greenlet|0.4.2-1.el6
pkg|python-routes|1.13-2.el6
pkg|python-sqlalchemy|0.8.4-1.el6
pkg|pyxattr|0.5.0-1.el6
pkg|python-greenlet|0.4.2-1.el6
pkg|python-routes|1.13-2.el6
pkg|python-sqlalchemy|0.8.4-1.el6
pkg|python-webob|1.2.3-8.el6
pkg|sqlite|3.6.20-1.el6
pkg|python-dateutil|1.4.1-6.el6
pkg|fping|2.4b2-10.el6
pkg|MySQL-python|1.2.3-0.3.c1.1.el6
pkg|curl|7.19.7-37.el6_5.3
pkg|dnsmasq-utils|2.48-13.el6
pkg|conntrack-tools|0.9.13-3.el6
pkg|ebtables|2.0.9-6.el6
pkg|gawk|3.1.7-10.el6
pkg|genisoimage|1.1.9-12.el6
pkg|iptables|1.4.7-11.el6
pkg|iputils|20071127-17.el6_4.2
pkg|kpartx|0.4.9-72.el6_5.4
pkg|libxml2-python|2.7.6-14.el6_5.2
pkg|numpy|1.4.1-9.el6
pkg|m2crypto|0.20.2-9.el6
pkg|parted|2.1-21.el6
pkg|polkit|0.96-5.el6_4
pkg|python-boto|2.32.1-1.el6
pkg|python-cheetah|2.4.1-1.el6
pkg|python-eventlet|0.15.2-1.el6
pkg|python-feedparser|5.1.2-2.el6
pkg|python-greenlet|0.4.2-1.el6
pkg|python-iso8601|0.1.10-1.el6
pkg|python-kombu|2.5.16-3.el6
pkg|python-lockfile|0.8-3.el6
pkg|python-migrate|0.8.2-1.el6
pkg|python-mox|0.5.3-2.el6
pkg|python-qpid|0.18-5.el6_4
pkg|python-routes|1.13-2.el6
pkg|python-sqlalchemy|0.8.4-1.el6
pkg|python-suds|0.4.1-3.el6
pkg|python-tempita|0.4-2.el6
pkg|sqlite|3.6.20-1.el6
pkg|sudo|1.8.6p3-12.el6
pkg|iscsi-initiator-utils|6.2.0.873-10.el6
pkg|lvm2|2.02.100-8.el6
pkg|genisoimage|1.1.9-12.el6
pkg|sysfsutils|2.1.0-7.el6
pkg|sg3_utils|1.28-5.el6
pkg|numpy|1.4.1-9.el6
pkg|Django|package Django is not installed
pkg|gcc|4.4.7-4.el6
pkg|pylint|0.21.1-2.el6
pkg|python-anyjson|0.3.3-1.el6
pkg|python-BeautifulSoup|3.0.8.1-1.el6
pkg|python-boto|2.32.1-1.el6
pkg|python-coverage|3.0.1-2.el6
pkg|python-dateutil|1.4.1-6.el6
pkg|python-eventlet|0.15.2-1.el6
pkg|python-greenlet|0.4.2-1.el6
pkg|python-httplib2|0.7.7-1.el6
pkg|python-kombu|2.5.16-3.el6
pkg|python-migrate|0.8.2-1.el6
pkg|python-mox|0.5.3-2.el6
pkg|python-nose|0.10.4-3.1.el6
pkg|python-routes|1.13-2.el6
pkg|python-sphinx|1.1.3-8.el6
pkg|python-sqlalchemy|0.8.4-1.el6
pkg|python-webob|1.2.3-8.el6
pkg|pyxattr|0.5.0-1.el6
pkg|MySQL-python|1.2.3-0.3.c1.1.el6
pkg|dnsmasq-utils|2.48-13.el6
pkg|ebtables|2.0.9-6.el6
pkg|iptables|1.4.7-11.el6
pkg|iputils|20071127-17.el6_4.2
pkg|python-boto|2.32.1-1.el6
pkg|python-eventlet|0.15.2-1.el6
pkg|python-greenlet|0.4.2-1.el6
pkg|python-iso8601|0.1.10-1.el6
pkg|python-kombu|2.5.16-3.el6
pkg|python-qpid|0.18-5.el6_4
pkg|python-routes|1.13-2.el6
pkg|python-sqlalchemy|0.8.4-1.el6
pkg|python-suds|0.4.1-3.el6
pkg|sqlite|3.6.20-1.el6
pkg|sudo|1.8.6p3-12.el6
pkg|libxslt-devel|1.1.26-2.el6_3.1
pip|Babel|1.3
pip|BeautifulSoup|3.0.8.1
pip|Cheetah|2.4.1
pip|Django|1.4.14
pip|Jinja2|2.7.2
pip|M2Crypto|0.20.2
pip|Mako|1.0.0
pip|Markdown|2.0.1
pip|MarkupSafe|0.9.2
pip|MySQL-python|1.2.3c1
pip|PIL|1.1.6
pip|Paste|1.7.5.1
pip|PasteDeploy|1.5.2
pip|PyYAML|3.11
pip|Pygments|1.4
pip|Routes|1.13
pip|SQLAlchemy|0.8.4
pip|SSSDConfig|1.9.2
pip|Sphinx|1.1.3
pip|Tempita|0.4
pip|WebOb|1.2.3
pip|alembic|0.6.7
pip|amqp|1.0.13
pip|amqplib|1.0.2
pip|anyjson|0.3.3
pip|argparse|1.2.1
pip|boto|2.32.1
pip|cffi|0.8.6
pip|cliff|1.7.1.dev8.g51bec8c
pip|cmd2|0.6.7
pip|coverage|3.0.1
pip|cryptography|0.6
pip|decorator|3.4.0
pip|django-appconf|0.6
pip|django-compressor|1.4
pip|django-openstack-auth|1.1.8.dev1.g3675a8e
pip|docutils|0.11
pip|dogpile.cache|0.5.4
pip|dogpile.core|0.4.1
pip|ecdsa|0.11
pip|egenix-mx-base|3.1.1
pip|ethtool|0.6
pip|euca2ools|2.1.4
pip|eventlet|0.15.2
pip|feedparser|5.1.2
pip|futures|2.2.0
pip|greenlet|0.4.2
pip|hgtools|6.1.1
pip|httplib2|0.7.7
pip|importlib|1.0.2
pip|iniparse|0.3.1
pip|iotop|0.3.2
pip|iso8601|0.1.10
pip|iwlib|1.0
pip|jsonpatch|1.8
pip|jsonpointer|1.4
pip|jsonrpclib|0.1.3
pip|jsonschema|2.4.0
pip|kerberos|1.0
pip|kombu|2.5.16
pip|lesscpy|0.10.1
pip|lockfile|0.8
pip|logilab-astng|0.20.1
pip|logilab-common|0.50.3
pip|lxml|3.4.0
pip|matplotlib|0.99.1.1
pip|mox|0.5.3
pip|netaddr|0.7.12
pip|networkx|1.9.1
pip|nose|0.10.4
pip|numpy|1.4.1
pip|oauthlib|0.6.3
pip|ordereddict|1.1
pip|oslo.config|1.4.0.dev11.geac2c57
pip|oslo.i18n|1.0.0
pip|oslo.messaging|1.4.2.dev45.g2e77446
pip|oslo.rootwrap|1.3.0.dev2.gb4feb41
pip|oslo.serialization|1.0.0
pip|oslo.utils|1.0.0
pip|oslo.vmware|0.6.1.dev28.g776c20d
pip|paramiko|1.15.1
pip|passlib|1.6.2
pip|pbr|0.11.0.dev42.gf7537c5
pip|ply|3.4
pip|posix-ipc|0.9.8
pip|prettytable|0.7.2
pip|py|1.4.25
pip|pyOpenSSL|0.14
pip|pyasn1|0.1.7
pip|pycadf|0.6.1.dev13.ga78885c
pip|pycparser|2.10
pip|pycrypto|2.6.1
pip|pycurl|7.19.0
pip|pygpgme|0.1
pip|pylint|0.21.1
pip|pyparsing|2.0.3
pip|python-ceilometerclient|1.0.12
pip|python-dateutil|1.4.1
pip|python-ldap|2.3.10
pip|python-nss|0.13
pip|python-troveclient|1.0.7
pip|pytz|2010h
pip|pyxattr|0.5.0
pip|qpid-python|0.18
pip|repoze.lru|0.4
pip|requests|2.4.3
pip|simplejson|2.0.9
pip|six|1.8.0
pip|sqlalchemy-migrate|0.8.2
pip|stevedore|0.14
pip|suds|0.4.1
pip|taskflow|0.5.1.dev2.g4533239
pip|tox|1.6.1
pip|unittest2|0.5.1
pip|urlgrabber|3.9.1
pip|virtualenv|1.10.1
pip|warlock|1.1.0
pip|websockify|0.5.1
pip|wsgiref|0.1.2
pip|yum-metadata-parser|1.1.2
localrc|LOGFILE=/opt/logs/stack/stack.sh.log
localrc|SCREEN_LOGDIR=/opt/logs/stack
localrc|LOG_COLOR=False
localrc|OFFLINE=False
localrc|RECLONE=yes
localrc|VERBOSE=True
localrc|disable_all_services
localrc|enable_service g-api g-reg key n-api n-crt n-obj n-cpu n-cond n-sch n-novnc n-xvnc n-cauth
localrc|enable_service horizon
localrc|enable_service neutron q-dhcp q-l3 q-meta q-svc odl-compute
localrc|enable_service mysql qpid tempest
localrc|HOST_IP=192.168.122.128
localrc|HOST_NAME=controllernode1
localrc|SERVICE_HOST_NAME=controllernode1
localrc|SERVICE_HOST=192.168.122.128
localrc|Q_HOST=$SERVICE_HOST
localrc|ODL_MGR_IP=192.168.122.1
localrc|Q_PLUGIN=ml2
localrc|Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch,linuxbridge,opendaylight
localrc|Q_ML2_PLUGIN_TYPE_DRIVERS=vlan,gre,vxlan
localrc|ML2_VLAN_RANGES=physnet1:2000:2999
localrc|ENABLE_TENANT_VLANS=True
localrc|VNCSERVER_PROXYCLIENT_ADDRESS=192.168.122.128
localrc|VNCSERVER_LISTEN=0.0.0.0
localrc|MYSQL_HOST=$SERVICE_HOST
localrc|RABBIT_HOST=$SERVICE_HOST
localrc|GLANCE_HOSTPORT=$SERVICE_HOST:9292
localrc|KEYSTONE_AUTH_HOST=$SERVICE_HOST
localrc|KEYSTONE_SERVICE_HOST=$SERVICE_HOST
localrc|MYSQL_PASSWORD=<password>
localrc|RABBIT_PASSWORD=<password>
localrc|QPID_PASSWORD=<password>
localrc|SERVICE_TOKEN=service
localrc|SERVICE_PASSWORD=<password>
localrc|ADMIN_PASSWORD=<password>
localrc|GLANCE_BRANCH=stable/icehouse
localrc|HORIZON_BRANCH=stable/icehouse
localrc|KEYSTONE_BRANCH=stable/icehouse
localrc|NOVA_BRANCH=stable/icehouse
localrc|NEUTRON_BRANCH=stable/icehouse
localrc|SWIFT_BRANCH=stable/icehouse
localrc|CINDER_BRANCH=stable/icehouse
localrc|HEAT_BRANCH=stable/icehouse
localrc|TROVE_BRANCH=stable/icehouse
localrc|CEILOMETER_BRANCH=stable/icehouse
controllernode1:/opt/devstack/tools $