commit 30aad1e796778a94da7719b1d4586bd3cdecb821
Author: Dan Smith <email address hidden>
Date: Mon Apr 18 12:40:54 2016 -0700
Fix reverse_upsize_quota_delta attempt to look up deleted flavors
When we did the "great flavor migration of 2015" we missed a quota method
which still looks up flavors by id from the migration. Now that flavors
are moved to the api database and actually removed when deleted, this no
longer works. The problem manifests itself as a failure when trying to
revert a migration or resize operation when the original flavor has been
deleted.
Change-Id: I5f95021410a309ac07fe9f474cbcd0214d1af208
Closes-Bug: #1570748
(cherry picked from commit a46e847aad4ee7edbb63eb08f97f6635e6c9ccb0)
Reviewed: https:/ /review. openstack. org/309040 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=30aad1e7967 78a94da7719b1d4 586bd3cdecb821
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 30aad1e796778a9 4da7719b1d4586b d3cdecb821
Author: Dan Smith <email address hidden>
Date: Mon Apr 18 12:40:54 2016 -0700
Fix reverse_ upsize_ quota_delta attempt to look up deleted flavors
When we did the "great flavor migration of 2015" we missed a quota method
which still looks up flavors by id from the migration. Now that flavors
are moved to the api database and actually removed when deleted, this no
longer works. The problem manifests itself as a failure when trying to
revert a migration or resize operation when the original flavor has been
deleted.
Change-Id: I5f95021410a309 ac07fe9f474cbcd 0214d1af208 dbb63eb08f97f66 35e6c9ccb0)
Closes-Bug: #1570748
(cherry picked from commit a46e847aad4ee7e