xenapi: console for rescue vm is broken

Bug #1157389 reported by Sulochan Acharya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Sulochan Acharya

Bug Description

For xenapi when a vm goes into rescue mode and one requests console
get_vnc_console is called ... which passes the original instance to get the
ref. The instance that it should be calling has "-rescue" name label, so
rescue vm never gets the console.

Tags: xenserver
Changed in nova:
assignee: nobody → Sulochan Acharya (sulochan-acharya)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/24822

Changed in nova:
status: New → In Progress
Changed in nova:
importance: Undecided → High
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/24822
Committed: http://github.com/openstack/nova/commit/e136de1aea8d1469465272942fa3d2769cbe3a80
Submitter: Jenkins
Branch: master

commit e136de1aea8d1469465272942fa3d2769cbe3a80
Author: Sulochan Acharya <email address hidden>
Date: Tue Mar 19 15:05:27 2013 -0500

    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

Changed in nova:
status: In Progress → Fix Committed
tags: added: xenserver
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.