2017-01-01 4 views
5

की मांग करता है यह उबंटू 16.04 सर्वर पर stable/newton पर है।ओपनस्टैक डेवस्टैक विफल: keystoneauth1 2.12.2 स्थापित करता है, फिर 2.16.0 या बेहतर

त्रुटि संदेश है:

[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$ 

और बाद:

[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$ 

मैं भी हटाना सुनिश्चित बना दिया है

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 

./stack.sh उपयोगकर्ता stack के रूप में चल रहा है, /opt/devstack से पहले पीआईपी कैश rm -rf ~/.pip/cache, लेकिन वहां डी ओएस इस उपयोगकर्ता के लिए एक प्रतीत नहीं होता है।

संस्करण संघर्ष कैसे हल किया जा सकता है?

उत्तर

1

मैंने वर्चुअलबॉक्स के तहत एक नया वीएम स्थापित करने के लिए डिफ़ॉल्ट Vagrant स्क्रिप्ट का उपयोग करके हल किया, जिस पर devstack बस ठीक (stable/newton) स्थापित किया गया। मैंने फिर समस्या के साथ वीएम हटा दिया। मुझे पायथन पैकेज संस्करणों के साथ गलत कॉन्फ़िगरेशन का मूल कारण नहीं मिला।

संबंधित मुद्दे