Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put instances in ERROR state when scheduler fails.
When the scheduler's selected driver method raises an exception, such as NoValidHost, any affected instance must be placed into the ERROR state. This is done by catching exceptions raised in _schedule() and, if 'instance_id' is present in kwargs, moving the identified instance to the ERROR state. This fixes bug 886289. Change-Id: I5c73549e073493701b86658569823b9bc161291d
- Loading branch information
Kevin L. Mitchell
committed
Nov 21, 2011
1 parent
e3ebb89
commit 21e0871
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters