summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorSulochan Acharya <sulochan@gmail.com>2013-03-19 15:05:27 -0500
committerSulochan Acharya <sulochan@gmail.com>2013-03-22 07:47:41 -0500
commite136de1aea8d1469465272942fa3d2769cbe3a80 (patch)
tree96395293aaf9f2368213d6414923fa42fbb5ebbb /nova/openstack
parent07694d4ffa2b64b7cb21d76af70b8f0df1166915 (diff)
downloadnova-e136de1aea8d1469465272942fa3d2769cbe3a80.tar.gz
nova-e136de1aea8d1469465272942fa3d2769cbe3a80.tar.xz
nova-e136de1aea8d1469465272942fa3d2769cbe3a80.zip
xenapi: fix console for rescued instance
Check if the instance is in vm_state RESCUED and if so change the name-label to reflect that. Name label is used to get vm ref and currently the original instance is being referenced even when in rescue mode. If rescue vm is not ready yet, InstanceNotReady is raised. Added tests cases for xenapi get_vnc_console for instance and rescue mode. Fixes bug #1157389 Change-Id: I5438103d517c40c1c87ddecd5f88b1487bfc0339
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions