This is on stable/newton , on a Ubuntu 16.04 server.
Error message:
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 859, in resolve raise VersionConflict(dist, req).with_context(dependent_req) ContextualVersionConflict: (keystoneauth1 2.12.2 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('keystoneauth1>=2.16.0'), set(['glance-store'])) +inc/python:pip_install:1 exit_trap
Before running ./stack.sh , from /opt/devstack as the stack user:
stack@ubuntu-server-openstack :/opt/devstack$ pip list | ack keystoneauth1 DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. keystoneauth1 (2.16.0) stack@ubuntu-server-openstack :/opt/devstack$
And after:
stack@ubuntu-server-openstack :/opt/devstack$ pip list | ack keystoneauth1 DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. keystoneauth1 (2.12.2) stack@ubuntu-server-openstack :/opt/devstack$
I also made sure that you delete the cache-pip rm -rf ~/.pip/cache , but for this user, it seems not.
How to resolve version conflict?
source share