diff options
| author | Mark McLoughlin <markmc@redhat.com> | 2012-08-31 16:49:06 +0100 |
|---|---|---|
| committer | Mark McLoughlin <markmc@redhat.com> | 2012-08-31 17:25:29 +0100 |
| commit | 2525afadd3475143040e6a4fe4021dc911a3f159 (patch) | |
| tree | 939143761176248ebd66fc7bbc6f95529cd12b15 /nova/openstack | |
| parent | 68abbbbcf02650d24d65a1455ddd40099616c2bd (diff) | |
| download | nova-2525afadd3475143040e6a4fe4021dc911a3f159.tar.gz nova-2525afadd3475143040e6a4fe4021dc911a3f159.tar.xz nova-2525afadd3475143040e6a4fe4021dc911a3f159.zip | |
Avoid leaking security group quota reservations
Fixes bug #1043765
If you attempt to create a security group where one already exists using
that name, a security groups quota reservation is leaked. Fix by
ensuring the reservation is rolled back in all failure cases.
Add a check to the tests to ensure that a reservation isn't leaked in
any of our sad path tests for security group creation.
Change-Id: I22d6e4a0452d3ac7a23056b0a4aee6f7dd135e30
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
