[Openstack] devstack throws errors trying to start 'oslo.middleware' is not a global requirement.
lucas.gary at gmail.com
lucas.gary at gmail.com
Fri Nov 14 04:42:14 UTC 2014
Incidentally I'm now also getting:
2014-11-14 04:37:46.923 | + mysql -uroot -pdevstack -h127.0.0.1 -e 'DROP
DATABASE IF EXISTS cinder;'
2014-11-14 04:37:46.930 | + mysql -uroot -pdevstack -h127.0.0.1 -e 'CREATE
DATABASE cinder CHARACTER SET utf8;'
2014-11-14 04:37:46.937 | + /usr/local/bin/cinder-manage db sync
2014-11-14 04:37:47.138 | Traceback (most recent call last):
2014-11-14 04:37:47.139 | File "/usr/local/bin/cinder-manage", line 4, in
<module>
2014-11-14 04:37:47.139 |
__import__('pkg_resources').require('cinder==2014.1.4.dev21.g91d0f8d')
2014-11-14 04:37:47.139 | File
"/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 2880, in
<module>
2014-11-14 04:37:47.141 | working_set = WorkingSet._build_master()
2014-11-14 04:37:47.141 | File
"/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 434, in
_build_master
2014-11-14 04:37:47.141 | return
cls._build_from_requirements(__requires__)
2014-11-14 04:37:47.141 | File
"/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 447, in
_build_from_requirements
2014-11-14 04:37:47.142 | dists = ws.resolve(reqs, Environment())
2014-11-14 04:37:47.142 | File
"/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 632, in
resolve
2014-11-14 04:37:47.142 | raise VersionConflict(tmpl % args)
2014-11-14 04:37:47.142 | pkg_resources.VersionConflict: oslo.config
1.4.0.dev20.g32a0983 is installed but oslo.config>=1.4.0.0a3 is required by
['oslo.middleware']
2014-11-14 04:37:47.152 | + exit_trap
2014-11-14 04:37:47.153 | + local r=1
2014-11-14 04:37:47.153 | ++ jobs -p
2014-11-14 04:37:47.154 | + jobs=
2014-11-14 04:37:47.154 | + [[ -n '' ]]
2014-11-14 04:37:47.154 | + exit 1
On Thu, Nov 13, 2014 at 8:28 PM, lucas.gary at gmail.com <lucas.gary at gmail.com>
wrote:
> Here's my local.conf in case it matters:
>
> [[local|localrc]]
>
>
> # Credentials
>
> ADMIN_PASSWORD=devstack
>
> MYSQL_PASSWORD=devstack
>
> RABBIT_PASSWORD=devstack
>
> SERVICE_PASSWORD=devstack
>
> SERVICE_TOKEN=token
>
>
> #Enable/Disable Services
>
> disable_service n-net
>
> enable_service q-svc
>
> enable_service q-agt
>
> enable_service q-dhcp
>
> enable_service q-l3
>
> enable_service q-meta
>
> enable_service neutron
>
> enable_service tempest
>
>
> #networking
>
> HOST_IP=192.168.122.10
>
> FLOATING_RANGE=192.168.2.0/24
>
> PUBLIC_NETWORK_GATEWAY=192.168.2.1
>
> FIXED_RANGE=10.0.0.0/24
>
>
> #Stable Branches
>
> NOVA_BRANCH=stable/icehouse
>
> CINDER_BRANCH=stable/icehouse
>
> GLANCE_BRANCH=stable/icehouse
>
> HORIZON_BRANCH=stable/icehouse
>
> KEYSTONE_BRANCH=stable/icehouse
>
> NEUTRON_BRANCH=stable/icehouse
>
>
> #NEUTRON CONFIG
>
> Q_USE_DEBUG_COMMAND=True
>
>
> #CINDER CONFIG
>
> VOLUME_BACKING_FILE_SIZE=102400M
>
>
> #GENERAL CONFIG
>
> API_RATE_LIMIT=False
>
>
> # Output
>
> LOGFILE=/opt/stack/logs/stack.sh.log
>
> VERBOSE=True
>
> LOG_COLOR=False
>
> SCREEN_LOGDIR=/opt/stack/logs
>
>
> And I'm on stable/icehouse for devstack itself.
>
>
>
>
> On Thu, Nov 13, 2014 at 8:25 PM, lucas.gary at gmail.com <
> lucas.gary at gmail.com> wrote:
>
>> Here's a chunk of the output:
>>
>> 2014-11-14 04:19:48.308 | Cloning into '/opt/stack/oslo.messaging'...
>> 2014-11-14 04:19:49.407 | + cd /opt/stack/oslo.messaging
>> 2014-11-14 04:19:49.407 | + git checkout master
>> 2014-11-14 04:19:49.420 | Already on 'master'
>> 2014-11-14 04:19:49.421 | + cd /opt/stack/oslo.messaging
>> 2014-11-14 04:19:49.422 | + git show --oneline
>> 2014-11-14 04:19:49.422 | + head -1
>> 2014-11-14 04:19:49.425 | 6eb0d2f Merge "Updated from global requirements"
>> 2014-11-14 04:19:49.426 | + cd /opt/devstack
>> 2014-11-14 04:19:49.426 | + setup_install /opt/stack/oslo.messaging
>> 2014-11-14 04:19:49.426 | + local project_dir=/opt/stack/oslo.messaging
>> 2014-11-14 04:19:49.426 | + setup_package_with_req_sync
>> /opt/stack/oslo.messaging
>> 2014-11-14 04:19:49.427 | + local project_dir=/opt/stack/oslo.messaging
>> 2014-11-14 04:19:49.427 | + local flags=
>> 2014-11-14 04:19:49.428 | ++ cd /opt/stack/oslo.messaging
>> 2014-11-14 04:19:49.428 | ++ git diff --exit-code
>> 2014-11-14 04:19:49.436 | + local update_requirements=
>> 2014-11-14 04:19:49.436 | + [[ '' != \c\h\a\n\g\e\d ]]
>> 2014-11-14 04:19:49.437 | + cd /opt/stack/requirements
>> 2014-11-14 04:19:49.437 | + python update.py /opt/stack/oslo.messaging
>> 2014-11-14 04:19:49.697 | _sync_requirements_file({'nose-exclude':
>> 'nose-exclude', 'sockjs-tornado': 'sockjs-tornado>=1.0.0,<2.0.0',
>> 'prettytable': 'PrettyTable>=0.7,<0.8', 'pystache': 'pystache', 'cffi':
>> 'cffi', 'requests-mock': 'requests-mock>=0.4.0 # Apache-2.0',
>> 'hplefthandclient': 'hplefthandclient>=1.0.0,<2.0.0', 'networkx':
>> 'networkx>=1.8', 'diskimage-builder': 'diskimage-builder',
>> 'openstack.nose-plugin': 'openstack.nose_plugin>=0.7', 'pyparsing':
>> 'pyparsing>=2.0.1', 'tempest-lib': 'tempest-lib', 'python-glanceclient':
>> 'python-glanceclient>=0.9.0,!=0.14.0', 'python-ldap':
>> 'python-ldap==2.3.13', 'oauthlib': 'oauthlib>=0.6', 'python-ironicclient':
>> 'python-ironicclient', 'flask': 'Flask>=0.10,<1.0', 'amqplib':
>> 'amqplib>=0.6.1', 'selenium': 'selenium', 'feedparser': 'feedparser',
>> 'python-troveclient': 'python-troveclient>=1.0.3', 'mox': 'mox>=0.5.3',
>> 'jinja2': 'Jinja2', 'jsonpath-rw': 'jsonpath-rw>=1.2.0,<2.0', 'happybase':
>> 'happybase>=0.5,!=0.7', 'falcon': 'falcon>=0.1.6,<0.2.0', 'decorator':
>> 'decorator>=3.4.0', 'psycopg2': 'psycopg2', 'pbr': 'pbr>=0.6,<1.0',
>> 'oslotest': 'oslotest', 'python-openstackclient':
>> 'python-openstackclient>=0.3.0', 'passlib': 'passlib', 'psutil':
>> 'psutil>=1.1.1', 'greenlet': 'greenlet>=0.3.2', 'nose': 'nose', 'requests':
>> 'requests>=1.1', 'flake8': 'flake8==2.0', 'discover': 'discover',
>> 'nosehtmloutput': 'nosehtmloutput>=0.0.3', 'jsonschema':
>> 'jsonschema>=2.0.0,<3.0.0', 'os-apply-config': 'os-apply-config',
>> 'qpid-python': 'qpid-python', 'fixtures': 'fixtures>=0.3.14',
>> 'os-refresh-config': 'os-refresh-config', 'eventlet': 'eventlet>=0.13.0',
>> 'pyopenssl': 'pyOpenSSL>=0.11', 'pastedeploy': 'PasteDeploy>=1.5.0',
>> 'redis': 'redis', 'tripleo-image-elements': 'tripleo-image-elements',
>> 'ddt': 'ddt>=0.4.0', 'django-openstack-auth':
>> 'django_openstack_auth>=1.1.4,!=1.1.6', 'docutils': 'docutils==0.9.1',
>> 'python-designateclient': 'python-designateclient>=1.0.0',
>> 'oslo.serialization': 'oslo.serialization>=0.1.0 #
>> Apache-2.0', 'python-saharaclient': 'python-saharaclient>=0.6.0',
>> 'pysqlite': 'pysqlite', 'python-neutronclient':
>> 'python-neutronclient>=2.3.4,<3', 'sphinxcontrib-httpdomain':
>> 'sphinxcontrib-httpdomain', 'taskflow': 'taskflow>=0.1.3,<0.2',
>> 'msgpack-python': 'msgpack-python', 'lockfile': 'lockfile>=0.8', 'paste':
>> 'Paste', 'oslo.i18n': 'oslo.i18n>=0.1.0 # Apache-2.0', 'pyyaml':
>> 'PyYAML>=3.1.0', 'sqlalchemy-migrate':
>> 'sqlalchemy-migrate>=0.8.2,!=0.8.4,!=0.9.2', 'oslo.utils':
>> 'oslo.utils>=0.1.1 # Apache-2.0', 'cliff-tablib':
>> 'cliff-tablib>=1.0', 'wsgiref': 'wsgiref>=0.1.2', 'pillow': 'Pillow==2.4.0
>> # MIT', 'mox3': 'mox3>=0.7.0', 'routes': 'Routes>=1.12.3,!=2.0',
>> 'dnspython': 'dnspython>=1.9.4', 'anyjson': 'anyjson>=0.3.3', 'pyasn1':
>> 'pyasn1', 'pycadf': 'pycadf>=0.4.1', 'python-cinderclient':
>> 'python-cinderclient>=1.0.6', 'coinor.pulp': 'coinor.pulp>=1.0.4',
>> 'alembic': 'alembic>=0.4.1', 'sphinxcontrib-pecanwsme':
>> 'sphinxcontrib-pecanwsme>=0.6', 'kazoo': 'kazoo>=0.9', 'hgtools': 'hgtools
>> # dependency of pytest-runner that is only in setup_requires',
>> 'python-heatclient': 'python-heatclient>=0.2.3', 'cmd2': 'cmd2>=0.6.7',
>> 'testrepository': 'testrepository>=0.0.18', 'testscenarios':
>> 'testscenarios>=0.4', 'pexpect': 'pexpect>=3.1 # ISC License',
>> 'testresources': 'testresources>=0.2.4', 'oslo.rootwrap': 'oslo.rootwrap',
>> 'swift': 'swift', 'openstack-doc-tools': 'openstack-doc-tools>=0.13',
>> 'pyzmq': 'pyzmq==2.2.0.1', 'warlock': 'warlock>=1.0.1,<2',
>> 'python-novaclient': 'python-novaclient>=2.17.0', 'websockify':
>> 'websockify>=0.5.1,<0.6', 'sqlalchemy':
>> 'SQLAlchemy>=0.7.8,!=0.9.5,<=0.9.99', 'gear': 'gear', 'simplejson':
>> 'simplejson>=2.0.9', 'os-collect-config': 'os-collect-config', 'webob':
>> 'WebOb>=1.2.3', 'pylint': 'pylint==0.25.2', 'trollius':
>> 'trollius>=0.1.4,<0.2', 'iso8601': 'iso8601>=0.1.9', 'rtslib-fb':
>> 'rtslib-fb>=2.1.39', 'pytz': 'pytz>=2010h', 'pecan': 'pecan>=0.4.5',
>> 'xenapi': 'XenAPI>=1.2', 'testtools': 'testtools>=0.9.34', 'nosexcover':
>> 'nosexcover', 'django-bootstrap-form': 'django-bootstrap-form', 'pyghmi':
>> 'pyghmi>=0.5.8', 'boto': 'boto>=2.12.0,!=2.13.0', 'wsme': 'WSME>=0.6',
>> 'dib-utils': 'dib-utils # Apache-2.0', 'posix-ipc': 'posix_ipc',
>> 'django-nose': 'django-nose', 'oslo.messaging': 'oslo.messaging>=1.3.0',
>> 'hacking': 'hacking>=0.8.0,<0.9', 'dogpile.cache': 'dogpile.cache>=0.5.0',
>> 'configobj': 'configobj', 'futures': 'futures>=2.1.6', 'ordereddict':
>> 'ordereddict', 'oslosphinx': 'oslosphinx', 'mysql-python': 'MySQL-python',
>> 'pysendfile': 'pysendfile==2.0.0', 'suds': 'suds>=0.4', 'pip': 'pip>=1.4',
>> 'jsonrpclib': 'jsonrpclib', 'xattr': 'xattr>=0.4', 'paramiko':
>> 'paramiko>=1.9.0', 'mako': 'Mako>=0.4.0', 'lxml': 'lxml>=2.3', 'babel':
>> 'Babel>=1.3', 'six': 'six>=1.6.0', 'webtest': 'WebTest>=2.0', 'jsonpatch':
>> 'jsonpatch>=1.1', 'zake': 'zake>=0.0.13', 'kombu': 'kombu>=2.4.8',
>> 'croniter': 'croniter>=0.3.4 # MIT License', 'stevedore':
>> 'stevedore>=0.14', 'pymongo': 'pymongo>=2.4', 'unittest2': 'unittest2',
>> 'mock': 'mock>=1.0', 'python-swiftclient': 'python-swiftclient>=1.6',
>> 'wheel': 'wheel', 'wsgi-intercept': 'wsgi_intercept>=0.6.1 # MIT License',
>> 'python-keystoneclient': 'python-keystoneclient>=0.7.0', 'hp3parclient':
>> 'hp3parclient>=3.0,<4.0', 'oslo.config': 'oslo.config>=1.2.0',
>> 'python-ceilometerclient': 'python-ceilometerclient>=1.0.6',
>> 'python-subunit': 'python-subunit>=0.0.18', 'lesscpy': 'lesscpy>=0.9j',
>> 'coverage': 'coverage>=3.6', 'oslo.vmware': 'oslo.vmware>=0.2
>> # Apache-2.0', 'pysnmp': 'pysnmp>=4.2.1,<5.0.0', 'pyudev':
>> 'pyudev', 'sphinxcontrib-docbookrestapi': 'sphinxcontrib-docbookrestapi',
>> 'cliff': 'cliff>=1.4.3', 'python-seamicroclient':
>> 'python-seamicroclient>=0.1.0,<2.0', 'argparse': 'argparse', 'proboscis':
>> 'proboscis==1.2.5.3', 'sphinx': 'sphinx>=1.1.2,<1.1.999', 'pycrypto':
>> 'pycrypto>=2.6', 'pyflakes': 'pyflakes>=0.7.2,<0.7.4', 'httpretty':
>> 'httpretty>=0.8.0', 'netaddr': 'netaddr>=0.7.6', 'keyring':
>> 'keyring>=1.6.1,<2.0,>=2.1', 'django': 'Django>=1.4,<1.7', 'pep8':
>> 'pep8==1.4.5', 'extras': 'extras', 'django-compressor':
>> 'django_compressor>=1.3', 'netifaces': 'netifaces>=0.5',
>> 'python-memcached': 'python-memcached>=1.48', 'httplib2':
>> 'httplib2>=0.7.5'}, {}, /opt/stack/oslo.messaging/requirements.txt)
>> 2014-11-14 04:19:49.698 | Syncing
>> /opt/stack/oslo.messaging/requirements.txt
>> 2014-11-14 04:19:49.698 | 'oslo.middleware' is not a global requirement
>> but it should be,something went wrong
>> 2014-11-14 04:19:49.715 | + exit_trap
>> 2014-11-14 04:19:49.715 | + local r=1
>> 2014-11-14 04:19:49.715 | ++ jobs -p
>> 2014-11-14 04:19:49.716 | + jobs=
>> 2014-11-14 04:19:49.718 | + [[ -n '' ]]
>> 2014-11-14 04:19:49.718 | + exit 1
>>
>>
>> I can and have manually added the oslo.middleware as a requirement to
>> oslo.messaging and I've seen that be successful,
>>
>> I'm on ubuntu 12.04, any ideas what's going on here?
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141113/f4cc822b/attachment.html>
More information about the Openstack
mailing list