Bug 860227
Summary: | volume detach fails due to mismatch between nova and python-cinderclient versioning | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eoghan Glynn <eglynn> |
Component: | python-cinderclient | Assignee: | Pádraig Brady <p> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | apevec, eharney, Jan.van.Eldik, p |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-20 15:03:12 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eoghan Glynn
2012-09-25 10:43:57 UTC
Initial work-around pending rebuild of python-cinderclient packages: sudo yum install git git clone https://github.com/openstack/python-cinderclient.git $HOME/git sudo mv /lib/python2.7/site-packages/cinderclient /lib/python2.7/site-packages/cinderclient.old sudo ln -s $HOME/git/python-cinderclient/cinderclient/ /lib/python2.7/site-packages/cinderclient sudo service openstack-nova-api restart The same versioning problem causes boot-from-volume to fail with: Build error: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 493, in _run_instance\n instance)\n', ' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 725, in _prep_block_device\n return self._setup_block_device_mapping(context, instance)\n', ' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 432, in _setup_block_device_mapping\n \'\', \'\', snapshot)\n', ' File "/usr/lib/python2.7/site-packages/nova/volume/cinder.py", line 218, in create\n', "TypeError: create() got an unexpected keyword argument 'imageRef'\n"] Fixed in latest cinderclient package: http://kojipkgs.fedoraproject.org/packages/python-cinderclient/0.2.26/1.fc18/noarch/python-cinderclient-0.2.26-1.fc18.noarch.rpm python-cinderclient-0.2.26-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-cinderclient-0.2.26-1.fc18 Package python-cinderclient-0.2.26-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-cinderclient-0.2.26-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14859/python-cinderclient-0.2.26-1.fc18 then log in and leave karma (feedback). python-cinderclient-0.2.26-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |