commit 361b88383130be8da9d474d02a9f62136239d506
Author: Matt Riedemann <email address hidden>
Date: Fri Mar 31 21:08:55 2017 -0400
Commit usage decrement after destroying instance
This fixes a regression in Ocata where we were always
decrementing quota usage during instance delete even
if we failed to delete the instance. Now the reservation
is properly committed after the instance is destroyed.
The related functional test is updated to show this working
correctly now.
Reviewed: https:/ /review. openstack. org/452364 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=361b8838313 0be8da9d474d02a 9f62136239d506
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 361b88383130be8 da9d474d02a9f62 136239d506
Author: Matt Riedemann <email address hidden>
Date: Fri Mar 31 21:08:55 2017 -0400
Commit usage decrement after destroying instance
This fixes a regression in Ocata where we were always
decrementing quota usage during instance delete even
if we failed to delete the instance. Now the reservation
is properly committed after the instance is destroyed.
The related functional test is updated to show this working
correctly now.
Conflicts:
nova/ compute/ api.py
nova/ tests/unit/ compute/ test_compute_ api.py
NOTE(mriedem): The conflict is due to not having change 9ff8a3337abb910 7a06fa33d3c68f in stable/ocata.
edf51119fa5
Change-Id: I5200e72c195e12 b5a069cbae3f209 492ed569fb4 a72308767df8709 064ffae6a8)
Closes-Bug: #1678326
(cherry picked from commit 5c1af55cbe526de