diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-10 12:15:02 -0700 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-10 12:17:57 -0700 |
commit | d741328543ad6059bef56adb59f4c94781eaedcd (patch) | |
tree | 8d26b55cd4f1a3108bffdd4f5ffdb0b843c73d82 /nova/exception.py | |
parent | 641223db012211b353658dabaec27942e89ee5c6 (diff) | |
download | nova-d741328543ad6059bef56adb59f4c94781eaedcd.tar.gz nova-d741328543ad6059bef56adb59f4c94781eaedcd.tar.xz nova-d741328543ad6059bef56adb59f4c94781eaedcd.zip |
Fix flavor deletion when there is a deleted flavor
If there is a deleted flavor with the same ID as an undeleted flavor,
the flavormanage delete code attempts to delete it again, which fails.
This patch makes sure to pass read_deleted='no' when the flavor is
retrieved for deletion so we get the undeleted flavor. Includes a
failing test to make sure the value is passed properly.
Fixes bug 1048678
Change-Id: If6a20de2526b7ba90ada4a40317a98f79b2141dc
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions