nova/nova/compute
Matt Riedemann 361b883831 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
edf51119fa in stable/ocata.

Change-Id: I5200e72c195e12b5a069cbae3f209492ed569fb4
Closes-Bug: #1678326
(cherry picked from commit 5c1af55cbe)
2017-04-05 19:50:46 -04:00
..
monitors Fix invalid import order 2016-07-04 11:23:52 +05:30
__init__.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
api.py Commit usage decrement after destroying instance 2017-04-05 19:50:46 -04:00
build_results.py Compute Add build_instance hook in compute manager 2014-12-04 10:12:00 -05:00
cells_api.py Move instance creation to conductor 2017-01-26 12:02:54 -08:00
claims.py rt: use a single ResourceTracker object instance 2017-01-16 14:09:25 -05:00
flavors.py Merge "Replace flavors.get_all_flavors_sorted_list() with object call" 2016-10-18 12:13:09 +00:00
instance_actions.py Report instance-actions for live migration force complete API 2016-03-10 15:02:35 +00:00
manager.py libvirt: Remove redundant bdm serial mangling and saving during swap_volume 2017-02-09 13:36:39 +00:00
power_state.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00
resource_tracker.py Avoid redundant call to update_resource_stats from RT 2017-01-27 18:23:45 +00:00
rpcapi.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
stats.py Address nits in I83a5f06ad 2016-03-09 13:19:59 +00:00
task_states.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00
utils.py Fix missing instance.delete notification 2017-03-13 15:02:06 -04:00
vm_states.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00