commit 94debcfaf0e6d20d46dd7df467018b4f7223e595
Author: John Garbutt <email address hidden>
Date: Wed May 27 18:30:22 2015 +0100
Create instance_extra entry if it doesn't update
When updating an instance, if there is no instance_extra, for older
instances, we make sure we create one if there is not one already.
This keeps flavor data migrations (ie system_metadata ->
instance_extra) from failing when the system_metadata entries are soft
deleted but an instance_extra entry is not created because it was
"updated" assuming an instance_extra entry already existed, leaving
the instance with no flavor data.
Reviewed: https:/ /review. openstack. org/186497 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=94debcfaf0e 6d20d46dd7df467 018b4f7223e595
Committed: https:/
Submitter: Jenkins
Branch: master
commit 94debcfaf0e6d20 d46dd7df467018b 4f7223e595
Author: John Garbutt <email address hidden>
Date: Wed May 27 18:30:22 2015 +0100
Create instance_extra entry if it doesn't update
When updating an instance, if there is no instance_extra, for older
instances, we make sure we create one if there is not one already.
This keeps flavor data migrations (ie system_metadata ->
instance_extra) from failing when the system_metadata entries are soft
deleted but an instance_extra entry is not created because it was
"updated" assuming an instance_extra entry already existed, leaving
the instance with no flavor data.
Closes-Bug: #1459758 c5ac45d64d8baca aca745ff3d7
Change-Id: I715217d98729c6