Add populate_retry to schedule_and_build_instances
When boot an instance and failed on the compute node, nova will
not retry to boot on other host.
Since https://review.openstack.org/#/c/319379/ change the create
instance workflow and called schedule_and_build_instances which
not populate the retry into filter properties. So nova will not
retry when boot on compute fail. This patch populate retry to
instance properties when call schedule_and_build_instances.
Reviewed: https:/ /review. openstack. org/446262 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4e3be434bd0 b6f7c0add4e210e 1f674b80fe54f4
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 4e3be434bd0b6f7 c0add4e210e1f67 4b80fe54f4
Author: ShunliZhou <email address hidden>
Date: Fri Mar 10 14:05:57 2017 +0800
Add populate_retry to schedule_ and_build_ instances
When boot an instance and failed on the compute node, nova will
not retry to boot on other host.
Since https:/ /review. openstack. org/#/c/ 319379/ change the create and_build_ instances which and_build_ instances.
instance workflow and called schedule_
not populate the retry into filter properties. So nova will not
retry when boot on compute fail. This patch populate retry to
instance properties when call schedule_
Conflicts: tests/functiona l/regressions/ test_bug_ 1671648. py
nova/
NOTE(mriedem): The conflict is due to putting the functional
test fix before this bug fix in the backport series.
Change-Id: Ifdaddcd265a7fe 8282499e2704393 6f8212610ad 4aa9b84fa58bcb9 fd89b6bedc)
Closes-Bug: #1671648
(cherry picked from commit cb4ce72f5f09264