commit 80385a22ee480a4c9775148d4729ab5d9c52e76d
Author: Eric Fried <email address hidden>
Date: Mon Oct 21 11:50:25 2019 -0500
Don't populate resources for not-yet-migrated inst
Per the referenced bug, it is possible for update_available_resource to
race with a migration such that the migration record exists, but the
instance's migration context doesn't. In such cases we shouldn't try to
track the instance's assigned resources on this host (because there
aren't any yet).
Reviewed: https:/ /review. opendev. org/689842 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=80385a22ee4 80a4c9775148d47 29ab5d9c52e76d
Committed: https:/
Submitter: Zuul
Branch: master
commit 80385a22ee480a4 c9775148d4729ab 5d9c52e76d
Author: Eric Fried <email address hidden>
Date: Mon Oct 21 11:50:25 2019 -0500
Don't populate resources for not-yet-migrated inst
Per the referenced bug, it is possible for update_ available_ resource to
race with a migration such that the migration record exists, but the
instance's migration context doesn't. In such cases we shouldn't try to
track the instance's assigned resources on this host (because there
aren't any yet).
Change-Id: I69f99adfa8c91b 50086052ca1b15c 55e86ed614d
Closes-Bug: #1849165