boot-from-volume broken by foreign key constraints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Eoghan Glynn |
Bug Description
Recently we've had a foreign key constraint added for the block_device_
The problem is that it causes boot-from-volume to break[3], as the current code-path[4] populates the block_device_
*before* the entry in the instances table entry has been created.
[1] mysql> show create table block_device_
...
Create Table: CREATE TABLE `block_
...
CONSTRAINT `block_
...
[2] https:/
[3] File "/opt/stack/
...
raise DBError(e)
DBError: (IntegrityError) (1452, 'Cannot add or update a child row: a foreign key constraint fails (`nova`
[4] https:/
Changed in nova: | |
assignee: | nobody → Eoghan Glynn (eglynn) |
Changed in nova: | |
milestone: | none → folsom-2 |
importance: | Undecided → High |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-2 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/9177
Review: https:/