commit aefc28dd481354edd0f3b5aec18db006680b2ffe
Author: Ryan Moore <email address hidden>
Date: Mon May 20 14:56:55 2013 +0100
set ERROR state when scheduler hits max attempts
Presently when scheduler raises NoValidHost due to max attempts
being reached, the instance remains in a build state.
Exception handler for NoValidHost in manager.run_instance() needs
request_spec[instance_uuids] to know which host to put into an
error state in _set_vm_state_and_notify().
schedule_run_instances() was popping instance_uuids from the
request_spec prior to a call to _schedule().
Changed pop of instance_uuids prior to call to _schedule() to be a get.
Added pop of instance_uuids to beneath call to _schedule() as
individual creates do not need them.
Reviewed: https:/ /review. openstack. org/29780 github. com/openstack/ nova/commit/ aefc28dd481354e dd0f3b5aec18db0 06680b2ffe
Committed: http://
Submitter: Jenkins
Branch: master
commit aefc28dd481354e dd0f3b5aec18db0 06680b2ffe
Author: Ryan Moore <email address hidden>
Date: Mon May 20 14:56:55 2013 +0100
set ERROR state when scheduler hits max attempts
Presently when scheduler raises NoValidHost due to max attempts run_instance( ) needs spec[instance_ uuids] to know which host to put into an state_and_ notify( ). run_instances( ) was popping instance_uuids from the
being reached, the instance remains in a build state.
Exception handler for NoValidHost in manager.
request_
error state in _set_vm_
schedule_
request_spec prior to a call to _schedule().
Changed pop of instance_uuids prior to call to _schedule() to be a get.
Added pop of instance_uuids to beneath call to _schedule() as
individual creates do not need them.
Change-Id: I9654820e01d561 1763e9e673f15f4 6b947d09e6d
Fixes: bug #1182056