commit f8747407fc6ac0dd2669065a79094dd2c284a4b2
Author: Matt Riedemann <email address hidden>
Date: Mon Dec 18 17:41:26 2017 -0500
Don't try to delete build request during a reschedule
If populate_retry failed because of MaxRetriesExceeded,
don't try to delete build requests because they should
already be gone from the initial create attempt, plus
we should assume the cell conductor can't reach the API
database anyway.
Similar for hitting NoValidHost during a reschedule. We
can tell if we're doing a reschedule by the num_attempts
value in filter_properties, populated via populate_retry,
which will be >1 during a reschedule.
Reviewed: https:/ /review. openstack. org/528835 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f8747407fc6 ac0dd2669065a79 094dd2c284a4b2
Committed: https:/
Submitter: Zuul
Branch: master
commit f8747407fc6ac0d d2669065a79094d d2c284a4b2
Author: Matt Riedemann <email address hidden>
Date: Mon Dec 18 17:41:26 2017 -0500
Don't try to delete build request during a reschedule
If populate_retry failed because of MaxRetriesExceeded,
don't try to delete build requests because they should
already be gone from the initial create attempt, plus
we should assume the cell conductor can't reach the API
database anyway.
Similar for hitting NoValidHost during a reschedule. We
can tell if we're doing a reschedule by the num_attempts
value in filter_properties, populated via populate_retry,
which will be >1 during a reschedule.
Change-Id: I0b3ec6bb098ca3 2ffd32a61d4f9dc f426c3faf46
Closes-Bug: #1736946