diff options
author | Yufang Zhang <yufang521247@gmail.com> | 2013-05-06 21:06:53 +0800 |
---|---|---|
committer | Yufang Zhang <yufang521247@gmail.com> | 2013-05-06 21:21:45 +0800 |
commit | 0098f12e8b1f035c7ecdb952cfcd4bbae86b6246 (patch) | |
tree | 38cffdd24f0854098d64c071dafdf7ad902d9396 /nova/exception.py | |
parent | 7bd267d5adeae405e6c7ae44624927aebddb918d (diff) | |
download | nova-0098f12e8b1f035c7ecdb952cfcd4bbae86b6246.tar.gz nova-0098f12e8b1f035c7ecdb952cfcd4bbae86b6246.tar.xz nova-0098f12e8b1f035c7ecdb952cfcd4bbae86b6246.zip |
libvirt: ignore NOSTATE in resume_state_on_host_boot() method.
Occasionally, libvirt would get NOSTATE from hypervisor as instance
state. Thus if we don't ignore instances in NOSTATE in
resume_state_on_host_boot() method, we would mistakenly reboot such
instances when we restart nova-compute service or on host boot. This
patch fixes this by adding NOSTATE into ignored_states.
Bug 1176897
Change-Id: I651cb043d7f97fde29b2a62e6ead8222062f01f7
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions