diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-01-16 12:47:04 -0800 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-01-16 12:47:04 -0800 |
commit | 3b4016184f83c71158d41db9a26e6043d9ae1506 (patch) | |
tree | b38ba9782125feed9c8db085ae0df191b130ba8c /nova/exception.py | |
parent | 34ffd41831ee6b6e629a5f5c2e52c2729f00029d (diff) | |
download | nova-3b4016184f83c71158d41db9a26e6043d9ae1506.tar.gz nova-3b4016184f83c71158d41db9a26e6043d9ae1506.tar.xz nova-3b4016184f83c71158d41db9a26e6043d9ae1506.zip |
Makes sure compute doesn't crash on failed resume.
If the call to the driver to resume an instance raises an exception,
then nova-compute fails to start properly. This can happen during
recovery, for example, where an instance has been deleted so the
backing files are gone but the database is restored to a state
where it exists.
This patch fixes the issue by catching the exception and setting
the instance to error.
Fixes bug 1100430
Change-Id: Ie31f39fcd43174c29bf7a5cb1b6fa29e4c723f97
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions