diff options
author | Mark Washenberger <mark.washenberger@rackspace.com> | 2011-12-06 14:44:43 -0500 |
---|---|---|
committer | Mark Washenberger <mark.washenberger@rackspace.com> | 2011-12-06 15:29:28 -0500 |
commit | 8eb5af2d4086438a678abb22d720dbd3ebb9a02d (patch) | |
tree | c98dac9358ca71fcd83802f9eac9d8d52882863b /nova/context.py | |
parent | 882b1e475de1ef71d7d3f0b50a58f91569905a75 (diff) | |
download | nova-8eb5af2d4086438a678abb22d720dbd3ebb9a02d.tar.gz nova-8eb5af2d4086438a678abb22d720dbd3ebb9a02d.tar.xz nova-8eb5af2d4086438a678abb22d720dbd3ebb9a02d.zip |
vm_state:=error on driver exceptions during resize
Set vm_state to error if a driver raises an exception (of any type)
during resize_instance and finish_resize.
I want to highlight that there is a slight behavioral change here.
Before, on a MigrationError the exception was not reraised in the
resize_instance function. However, based on my understanding it is not
a big deal to make this change. The worst case is log duplication in
a fairly rare error state.
Change-Id: Ifd1ea66cf3f2e59ee06714f666e357a99936b4e3
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions