[openstack-dev] [infra][devstack] stable/kilo devstack fails with pkg_resources.ContextualVersionConflict

Lajos Katona lajos.katona at ericsson.com
Tue Apr 19 11:14:34 UTC 2016


Hi,

In our internal CI system we realized that stable/kilo devstack fails 
with the following stack trace:
2016-04-18 13:11:30.344 | + /usr/local/bin/*keystone-manage db_sync*
2016-04-18 13:11:31.142 | Traceback (most recent call last):
2016-04-18 13:11:31.142 | File "/usr/local/bin/keystone-manage", line 4, 
in <module>
2016-04-18 13:11:31.142 | 
__import__('pkg_resources').require('keystone==2015.1.4.dev4')
2016-04-18 13:11:31.142 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
2927, in <module>
2016-04-18 13:11:31.143 | @_call_aside
2016-04-18 13:11:31.143 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
2913, in _call_aside
2016-04-18 13:11:31.143 | f(*args, **kwargs)
2016-04-18 13:11:31.143 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
2940, in _initialize_master_working_set
2016-04-18 13:11:31.144 | working_set = WorkingSet._build_master()
2016-04-18 13:11:31.144 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
637, in _build_master
2016-04-18 13:11:31.144 | return cls._build_from_requirements(__requires__)
2016-04-18 13:11:31.144 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
650, in _build_from_requirements
2016-04-18 13:11:31.145 | dists = ws.resolve(reqs, Environment())
2016-04-18 13:11:31.145 | File 
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
834, in resolve
2016-04-18 13:11:31.145 | raise VersionConflict(dist, 
req).with_context(dependent_req)
2016-04-18 13:11:31.145 | *pkg_resources.ContextualVersionConflict: (pbr 
0.11.1 (/usr/local/lib/python2.7/dist-packages), 
Requirement.parse('pbr>=1.8'), set(['testresources']))*

It seems that the root cause is that testresources has a new version 
2.0.0 from 18 April.

I tried to find similar errors on openstack infra, but for me 
http://logstash.openstack.org/ gives back no result.

I have a patch in requirements (https://review.openstack.org/307174) but 
I got the same error for those runs.

Could somebody help to find a solution for this?

Regards
Lajos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160419/2cf84f37/attachment.html>


More information about the OpenStack-dev mailing list