summaryrefslogtreecommitdiffstats
path: root/nova/context.py
diff options
context:
space:
mode:
authorgtt116 <gtt116@126.com>2013-03-13 03:43:16 +0000
committergtt116 <gtt116@126.com>2013-03-13 12:23:29 +0000
commit22e8e37e45c69136b252a494d8398b0b98e35b9e (patch)
treed012b32722bd84a234fdcd82fc28e6815a07cad6 /nova/context.py
parent99155de44615dbb5718bf7d20bf749ef49a4b507 (diff)
downloadnova-22e8e37e45c69136b252a494d8398b0b98e35b9e.tar.gz
nova-22e8e37e45c69136b252a494d8398b0b98e35b9e.tar.xz
nova-22e8e37e45c69136b252a494d8398b0b98e35b9e.zip
Do cleaning up resource before rescheduling.
Fix bug: #1153964 If some exception raised when spawn instance, the instance will be rescheduled to other host. But just deallocate network before rescheduling is not enough, like security group filters and volumes will stay on old host. So shutdown instance and clean up volumes instead of just deallocate network before rescheduling. Change-Id: Ieb6220ae66f0b97a92c50f6998f456968b516fcb
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions