There are two calls during ConductorTaskManager.build_instances,
used during re-schedule, that could potentially raise exceptions
which leads to that the instance is stuck in BUILD state instead
of going to ERROR state.
This patch adds two functional testcase to reproduce the problems.
Conflicts: nova/tests/functional/test_servers.py
Change-Id: If80c4e4776b81cc06293989ee41d39b53735352b
Related-Bug: #1819460
(cherry picked from commit b63c42a0d4836fd0364cb306145d3474619f1e19)
Reviewed: https:/ /review. opendev. org/657600 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=07a1a8ff7dc b00283ba7ebb6f5 9a70002a4ee4db
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 07a1a8ff7dcb002 83ba7ebb6f59a70 002a4ee4db
Author: Balazs Gibizer <email address hidden>
Date: Mon Mar 11 14:39:10 2019 +0100
Reproduce bug #1819460 in functional test
There are two calls during ConductorTaskMa nager.build_ instances,
used during re-schedule, that could potentially raise exceptions
which leads to that the instance is stuck in BUILD state instead
of going to ERROR state.
This patch adds two functional testcase to reproduce the problems.
Conflicts:
nova/ tests/functiona l/test_ servers. py
Change-Id: If80c4e4776b81c c06293989ee41d3 9b53735352b 0364cb306145d34 74619f1e19)
Related-Bug: #1819460
(cherry picked from commit b63c42a0d4836fd