commit 68b22c1e31c69b6dcc6bf57c8eb8e213904bf963
Author: Dan Smith <email address hidden>
Date: Mon Jun 1 08:15:51 2015 -0700
Handle FlavorNotFound when augmenting migrated flavors
When we migrate a partial flavor from system_metadata to a full
flavor in instance_extra, we need to query for the original flavor in
order to fill in the missing extra_specs. If that fails because the
flavor has been deleted, we need to just not augment the flavor, log
a warning, and continue instead of failing.
Reviewed: https:/ /review. openstack. org/187227 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=68b22c1e31c 69b6dcc6bf57c8e b8e213904bf963
Committed: https:/
Submitter: Jenkins
Branch: master
commit 68b22c1e31c69b6 dcc6bf57c8eb8e2 13904bf963
Author: Dan Smith <email address hidden>
Date: Mon Jun 1 08:15:51 2015 -0700
Handle FlavorNotFound when augmenting migrated flavors
When we migrate a partial flavor from system_metadata to a full
flavor in instance_extra, we need to query for the original flavor in
order to fill in the missing extra_specs. If that fails because the
flavor has been deleted, we need to just not augment the flavor, log
a warning, and continue instead of failing.
Change-Id: Ida49ddea525fb5 4e0d0238746b83b 0202da437c3
Related-Bug: #1460673