diff options
author | Russell Bryant <rbryant@redhat.com> | 2013-03-01 18:10:16 -0500 |
---|---|---|
committer | Russell Bryant <rbryant@redhat.com> | 2013-03-01 18:23:35 -0500 |
commit | fbeb552175c9f9d6d444ac5cc0606a5dceb39ef7 (patch) | |
tree | 2daea4fb0a6425abb9126945dedf468addbc9770 /nova/utils.py | |
parent | 11764e5250dc2ea4a92cf7402271e7d4e407113f (diff) | |
download | nova-fbeb552175c9f9d6d444ac5cc0606a5dceb39ef7.tar.gz nova-fbeb552175c9f9d6d444ac5cc0606a5dceb39ef7.tar.xz nova-fbeb552175c9f9d6d444ac5cc0606a5dceb39ef7.zip |
Set vm_state to ERROR on net deallocate failure.
If deallocate_network_for_instance from network.api fails while trying
to terminate an instance, set the vm_state to ERROR. Previously it
still completely failed at this point, but the instance vm_state was
still ACTIVE but the task_state was stuck in deleting. Now it will be
ERROR/deleting.
Fix bug 1110221.
Change-Id: I181a11c8de667fa462e1a2cb75b2c8ae41410273
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions