summaryrefslogtreecommitdiffstats
path: root/nova/context.py
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2013-03-06 05:28:41 +0000
committerRick Harris <rconradharris@gmail.com>2013-03-11 18:56:10 +0000
commit40feb35898ed0a6d57b1f481c165e683796b045c (patch)
treed354febeb8875cdbb71a65cef9aca3f1eab8561d /nova/context.py
parent00b5ec9a00d3d310ff8f924ab356a39215b6a528 (diff)
downloadnova-40feb35898ed0a6d57b1f481c165e683796b045c.tar.gz
nova-40feb35898ed0a6d57b1f481c165e683796b045c.tar.xz
nova-40feb35898ed0a6d57b1f481c165e683796b045c.zip
xenapi: Fix reboot with hung volumes
If a volume becomes inoperable (e.g. the ISCSI connection is severed) and the user goes to reboot, the instance may enter a permanently halted state. The root cause is that a VBD that points to 'bad' volume prevents VM operations ('reboot', 'start') from completing under XenServer. The work around is to detect which volumes are bad, detach in the virt-layer, retry the operation (or in the case of reboot, just 'start' the halted instance), and then notify the compute manager via a callback so it can detach the volume in Cinder. Fixes bug 1148614 Change-Id: Id4e8e84bb5748cfa267c2a418f9405fd86829e8f
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions