Comment 2 for bug 1043765

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/12264
Committed: http://github.com/openstack/nova/commit/2525afadd3475143040e6a4fe4021dc911a3f159
Submitter: Jenkins
Branch: master

commit 2525afadd3475143040e6a4fe4021dc911a3f159
Author: Mark McLoughlin <email address hidden>
Date: Fri Aug 31 16:49:06 2012 +0100

    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