commit 384cce84fde784f9e2f39db49502c66e20ff0b4c
Author: David Ripton <email address hidden>
Date: Sun Jan 5 23:15:14 2014 -0500
Make floating_ip_bulk_destroy deallocate quota if not auto_assigned
The expected use case for floating_ip_bulk_destroy is to destroy
auto_assigned floating IPs, for which no quota is used so no quota
needs to be recovered. But it can also be used to destroy other
(not auto_assigned) floating IPs, in which case the previously used
quota was not recovered. This fixes the quota leak in that unusual
case.
Reviewed: https:/ /review. openstack. org/65029 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=384cce84fde 784f9e2f39db495 02c66e20ff0b4c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 384cce84fde784f 9e2f39db49502c6 6e20ff0b4c
Author: David Ripton <email address hidden>
Date: Sun Jan 5 23:15:14 2014 -0500
Make floating_ ip_bulk_ destroy deallocate quota if not auto_assigned
The expected use case for floating_ ip_bulk_ destroy is to destroy
auto_assigned floating IPs, for which no quota is used so no quota
needs to be recovered. But it can also be used to destroy other
(not auto_assigned) floating IPs, in which case the previously used
quota was not recovered. This fixes the quota leak in that unusual
case.
Closes-Bug: #1254174
Change-Id: Ibff80d9ebac8d4 422e401909033da 12d9ec0b593