diff options
author | John Griffith <john.griffith@solidfire.com> | 2012-09-17 21:05:49 -0600 |
---|---|---|
committer | John Griffith <john.griffith@solidfire.com> | 2012-09-17 21:06:14 -0600 |
commit | 088472b86f3748e00e82c8a0b304371caebbd519 (patch) | |
tree | 5b12fe5b0962acc4d8cfcf8718aa9cba8ff90584 /nova/notifications.py | |
parent | 5fc0dbb912e688c1844856d8d7764ebedf7b6b2d (diff) | |
download | nova-088472b86f3748e00e82c8a0b304371caebbd519.tar.gz nova-088472b86f3748e00e82c8a0b304371caebbd519.tar.xz nova-088472b86f3748e00e82c8a0b304371caebbd519.zip |
Fix volume id conversion in nova-manage volume
The nova-manage volume commands weren't updated when the switch
from int volume-id's to uuid's was made. This updates the
param2id method to call the appropriate conversion, and doesn't
attempt to cast the value to an int.
There is an additional issue with the nova-manage commands with the
introduction of Cinder. The calls in nova-manage are direct to the
nova database which when using Cinder is not valid. Add an error message
when trying to use delete or re-attach commands as they don't work.
This change deprecates the nova-manage delete function as it's now
implemented as an admin extension (nova commit id: If795599d and
cinder commit id: I29f4b892).
The reattach command is only valid for nova-volumes, a similar extension
will need to be added to cover cinder at which time the nova-manage volume
reattach can be deprecated as well.
Partial fix for bug #1051603
Change-Id: I666d4e627dee4a2025f7135560ee36c40f4bf17a
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions