Quota reservation not rolled back if security group create fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Mark McLoughlin |
Bug Description
In SecurityGroupAP
if self.db.
msg = _('Security group %s already exists') % name
try:
except Exception:
with excutils.
the problem is obvious, if you do:
$> nova secgroup-create foo bar
$> nova secgroup-create foo bar
the second one fails with:
ERROR: Security group foo already exists (HTTP 400)
if you keep repeating it you get:
ERROR: SecurityGroupLi
and, by default, you have to wait a day for the leaked reservations to expire.
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-rc1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/12264
Review: https:/