diff options
author | Eoghan Glynn <eglynn@redhat.com> | 2012-06-29 17:30:52 +0000 |
---|---|---|
committer | Eoghan Glynn <eglynn@redhat.com> | 2012-06-30 08:30:16 +0100 |
commit | ea711b229789d9db54b7e10fe4c67ee1bf1db8c6 (patch) | |
tree | df134fa7a50c5d1e26847ba7ca7eb1cea246ca64 /nova/exception.py | |
parent | 019d953ef5b4bed7c53401375bfd7aa890fc0c1d (diff) | |
download | nova-ea711b229789d9db54b7e10fe4c67ee1bf1db8c6.tar.gz nova-ea711b229789d9db54b7e10fe4c67ee1bf1db8c6.tar.xz nova-ea711b229789d9db54b7e10fe4c67ee1bf1db8c6.zip |
Create instance in DB before block device mapping
Fixes lp 1019334
A recently added foreign key constraint on the the block_device_mapping
table causes boot-from-volume to fail, as the bdm is populated before the
instance DB entry is created.
This fix simply transposes the ordering to avoid breaking the constraint.
Change-Id: Ic62ea3ba000a2cdf58d2bd5bb17dde2b8cf340e4
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions