2017-01-01 9 views
5

Jest to na stable/newton, na serwerze Ubuntu 16.04.Awaria OpenStack DevStack: instaluje keystoneauth1 2.12.2, a następnie wymaga wersji 2.16.0 lub lepszej

Komunikat o błędzie jest:

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 

Przed uruchomieniem ./stack.sh z /opt/devstack jako użytkownik stack:

[email protected]:/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) 
[email protected]:/opt/devstack$ 

i po:

[email protected]:/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) 
[email protected]:/opt/devstack$ 

Mam również zadbał, aby usunąć pip cache rm -rf ~/.pip/cache, ale nie d Oes nie wydaje się być jednym dla tego użytkownika.

W jaki sposób można rozwiązać konflikt wersji?

Odpowiedz

1

Rozwiązałem to, używając domyślnego skryptu Vagrant, aby skonfigurować nowe vm w VirtualBox, na którym zainstalowano devstack fine (stable/newton). Następnie usunąłem vm z problemem. Nie znalazłem głównej przyczyny błędnej konfiguracji z wersjami pakietów Pythona.

Powiązane problemy