delete_subnet since ipallocationranges has a foreign key to the subnet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Gary Kotton |
Bug Description
After create_net and create_subnet , then delete_subnet fails with the following errors:
This bug can be reproduced by executing delete_subnet just after stack.sh has finished.
ubuntu@
ERROR: cliff.app (IntegrityError) (1451, 'Cannot delete or update a parent row: a foreign key constraint fails (`ovs_quantum`
QuantumDbPlugin
an entry in IPAllocationRange tables that refers to the subnet to be deleted.
I also confirms that delete_subnet succeeded after I deleted the entry in IPAllocationRange tables that refers to the subnet.
(environment)
quantum: commit b0f43d7
devstack: commit 5a70e3f + https:/
Changed in quantum: | |
assignee: | nobody → Akihiro Motoki (amotoki) |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | folsom-2 → 2012.2 |
Thanks for filing this bug and working on a fix!