032937ce51
This was spotted from someone validating the fix for bug 1670627. They reported that even though they failed to delete an instance in ERROR state that was in cell0, the quota usage was decremented. This is because we committed the quota reservation to decrement the usage before actually attempting to destroy the instance, rather than upon successful deletion. The rollback after InstanceNotFound is a noop because of how the Quotas.rollback method noops if the reservations were already committed. That is in itself arguably a bug, but not fixed here, especially since the counting quotas work in Pike will remove all of the reservations commit and rollback code. Change-Id: I12d1fa1a10f9014863123ac9cc3c63ddfb48378e Partial-Bug: #1678326 |
||
---|---|---|
.. | ||
api | ||
api_sample_tests | ||
compute | ||
db | ||
libvirt | ||
notification_sample_tests | ||
regressions | ||
wsgi | ||
__init__.py | ||
api_paste_fixture.py | ||
api_samples_test_base.py | ||
integrated_helpers.py | ||
test_compute_mgr.py | ||
test_images.py | ||
test_instance_actions.py | ||
test_legacy_v2_compatible_wrapper.py | ||
test_list_servers_ip_filter.py | ||
test_login.py | ||
test_metadata.py | ||
test_middleware.py | ||
test_server_group.py | ||
test_servers.py |