summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2012-09-10 12:15:02 -0700
committerVishvananda Ishaya <vishvananda@gmail.com>2012-09-10 12:17:57 -0700
commitd741328543ad6059bef56adb59f4c94781eaedcd (patch)
tree8d26b55cd4f1a3108bffdd4f5ffdb0b843c73d82 /nova/exception.py
parent641223db012211b353658dabaec27942e89ee5c6 (diff)
downloadnova-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