diff options
| author | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2011-11-21 14:39:22 -0600 |
|---|---|---|
| committer | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2011-11-21 14:39:22 -0600 |
| commit | 21e08712d9ac5577c27e7ea4c9271372bc0bd3ed (patch) | |
| tree | d4eeefb5894253c440eab54095342ef5b2911cda /bin/stack | |
| parent | e3ebb8978a954718f052a0c4c1099d85a2e49a05 (diff) | |
| download | nova-21e08712d9ac5577c27e7ea4c9271372bc0bd3ed.tar.gz nova-21e08712d9ac5577c27e7ea4c9271372bc0bd3ed.tar.xz nova-21e08712d9ac5577c27e7ea4c9271372bc0bd3ed.zip | |
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
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
