diff options
author | Matthew Sherborne <msherborne@gmail.com> | 2013-04-18 17:51:52 +1000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-04-20 22:02:25 +0000 |
commit | b4dc932c2a10c3d9c678cf759f94237504661348 (patch) | |
tree | de7a210503c6f33d607662f66d70ab8af48f96e3 /nova/utils.py | |
parent | 4c887edc8840327ce707d2015fa50ac625bb17db (diff) | |
download | nova-b4dc932c2a10c3d9c678cf759f94237504661348.tar.gz nova-b4dc932c2a10c3d9c678cf759f94237504661348.tar.xz nova-b4dc932c2a10c3d9c678cf759f94237504661348.zip |
Can now reboot rescued instances in xenapi
This patch makes it possible to reboot an instance that is in rescue mode.
It causes the reboot action to search first for rescue mode VM (the
normal VMs name plus '-rescue') .. if it can't find it, it does a reboot
of the normal VM. If it finds the rescue one first, it'll reboot the
rescue instance.
If there is more than one VM named 'myvm-rescue', it'll raise an
exception just like it did if there were more than one VM named 'myvm'.
Helps with bug: 1170237
Change-Id: I1858d86bf93546618eeaaec92d856f5236f3f090
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions