If claim_resources or _fill_provider_mapping calls fail due to placement
error then the re-scheduling stops and the instance is not put into
ERROR state.
This patch adds proper exception handling to these cases.
Change-Id: I78fc2312274471a7bd85a263de12cc5a0b19fd10
Closes-Bug: #1819460
(cherry picked from commit b096d9303acfea81ca56394cab681d2b2eed2d91)
Reviewed: https:/ /review. opendev. org/657602 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1c774315a51 34937909f674b5c 5a65f06efb3cb7
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 1c774315a513493 7909f674b5c5a65 f06efb3cb7
Author: Balazs Gibizer <email address hidden>
Date: Mon Mar 11 15:24:05 2019 +0100
Handle placement error during re-schedule
If claim_resources or _fill_provider_ mapping calls fail due to placement
error then the re-scheduling stops and the instance is not put into
ERROR state.
This patch adds proper exception handling to these cases.
Change-Id: I78fc2312274471 a7bd85a263de12c c5a0b19fd10 1ca56394cab681d 2b2eed2d91)
Closes-Bug: #1819460
(cherry picked from commit b096d9303acfea8