Devstack install fails in cinder due to pyasn1 version conflict

Bug #1717026 reported by Angela Smith
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
devstack
Expired
Undecided
Unassigned

Bug Description

Running stack.sh, install fails with ContextualVersionConflict for pyasn1:
2017-09-13 20:09:12.396 | Obtaining file:///opt/stack/cinder
2017-09-13 20:09:17.963 | Exception:
2017-09-13 20:09:17.963 | Traceback (most recent call last):
2017-09-13 20:09:17.963 | File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
2017-09-13 20:09:17.963 | status = self.run(options, args)
2017-09-13 20:09:17.963 | File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 335, in run
2017-09-13 20:09:17.963 | wb.build(autobuilding=True)
2017-09-13 20:09:17.963 | File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
2017-09-13 20:09:17.963 | self.requirement_set.prepare_files(self.finder)
2017-09-13 20:09:17.964 | File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
2017-09-13 20:09:17.964 | ignore_dependencies=self.ignore_dependencies))
2017-09-13 20:09:17.964 | File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 521, in _prepare_file
2017-09-13 20:09:17.964 | req_to_install.check_if_exists()
2017-09-13 20:09:17.964 | File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 1036, in check_if_exists
2017-09-13 20:09:17.964 | self.req.name
2017-09-13 20:09:17.964 | File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 558, in get_distribution
2017-09-13 20:09:17.964 | dist = get_provider(dist)
2017-09-13 20:09:17.964 | File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 432, in get_provider
2017-09-13 20:09:17.964 | return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
2017-09-13 20:09:17.964 | File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 968, in require
2017-09-13 20:09:17.964 | needed = self.resolve(parse_requirements(requirements))
2017-09-13 20:09:17.964 | File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 859, in resolve
2017-09-13 20:09:17.964 | raise VersionConflict(dist, req).with_context(dependent_req)
2017-09-13 20:09:17.964 | ContextualVersionConflict: (pyasn1 0.3.3 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('pyasn1==0.3.2'), set(['pyasn1-modules']))
2017-09-13 20:09:18.251 | + inc/python:pip_install:1 : exit_trap

Revision history for this message
Jaewoo Park (aselius) wrote :

I'm half sure that this is due to the oauth2lib requirement in cinder. I believe that has the <4.0.0 constraint, whereas the other required dependencies for keystone etc. require 4.2.1 pyasn1

Revision history for this message
Jaewoo Park (aselius) wrote :

I submitted a ticket for the problem I mentioned above: https://bugs.launchpad.net/cinder/+bug/1736569

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

This issue does not seem to appear in a default devstack installation, please provide the steps to reproduce, your local.conf file and a full log from the stack.sh run.

Changed in devstack:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for devstack because there has been no activity for 60 days.]

Changed in devstack:
status: Incomplete → Expired
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.