This adds a functional regression recreate test for bug 1837955 which was introduced with change
Iae904afb6cb4fcea8bb27741d774ffbe986a5fb4 in the Queens
release.
In this scenario, the primary (and potentially alternate)
hosts for a server build fail and reschedule to conductor.
Eventually all alternate hosts are exhausted and specifically
trying to claim allocations against the alternates fails,
probably because between the time of initial scheduling and
rescheduling something else took up the spare capacity on the
alternate host.
When this happens, MaxRetriesExceeded is raised but the
instance is stuck in BUILD status rather than set to ERROR
status with a fault message.
Reviewed: https:/ /review. opendev. org/673357 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5cc39fc51ee e6e39f584394283 f009aa6809d17b
Committed: https:/
Submitter: Zuul
Branch: master
commit 5cc39fc51eee6e3 9f584394283f009 aa6809d17b
Author: Matt Riedemann <email address hidden>
Date: Mon Jul 29 15:36:42 2019 -0400
Add functional regression test for bug 1837955
This adds a functional regression recreate test for b4fcea8bb27741d 774ffbe986a5fb4 in the Queens
bug 1837955 which was introduced with change
Iae904afb6c
release.
In this scenario, the primary (and potentially alternate)
hosts for a server build fail and reschedule to conductor.
Eventually all alternate hosts are exhausted and specifically
trying to claim allocations against the alternates fails,
probably because between the time of initial scheduling and
rescheduling something else took up the spare capacity on the
alternate host.
When this happens, MaxRetriesExceeded is raised but the
instance is stuck in BUILD status rather than set to ERROR
status with a fault message.
Change-Id: I4ca64dd60d8833 56880680fb1f04c ee4136c2e00
Related-Bug: #1837955