Reviewed: https://review.openstack.org/9177 Committed: http://github.com/openstack/nova/commit/ea711b229789d9db54b7e10fe4c67ee1bf1db8c6 Submitter: Jenkins Branch: master
commit ea711b229789d9db54b7e10fe4c67ee1bf1db8c6 Author: Eoghan Glynn <email address hidden> Date: Fri Jun 29 17:30:52 2012 +0000
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
Reviewed: https:/ /review. openstack. org/9177 github. com/openstack/ nova/commit/ ea711b229789d9d b54b7e10fe4c67e e1bf1db8c6
Committed: http://
Submitter: Jenkins
Branch: master
commit ea711b229789d9d b54b7e10fe4c67e e1bf1db8c6
Author: Eoghan Glynn <email address hidden>
Date: Fri Jun 29 17:30:52 2012 +0000
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: Ic62ea3ba000a2c df58d2bd5bb17dd e2b8cf340e4