xenapi tries to shutdown rescue instance even if it's already shutdown

Bug #961507 reported by Johannes Erdfelt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Johannes Erdfelt

Bug Description

It will end up with an error like this:

['VM_BAD_POWER_STATE', 'OpaqueRef:5f9021b0-dc99-9b3a-c0b6-e820158d7c0b', 'paused, suspended, running', 'halted']

The code should check the state first and only shut it down if it isn't already halted.

Changed in nova:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)
status: New → In Progress
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/5641

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/5641
Committed: http://github.com/openstack/nova/commit/4944a612e0926cfe542e0cb146cc9fabf70256f6
Submitter: Jenkins
Branch: master

commit 4944a612e0926cfe542e0cb146cc9fabf70256f6
Author: Johannes Erdfelt <email address hidden>
Date: Wed Mar 21 18:59:57 2012 +0000

    Only shutdown rescue instance if it's not already shutdown

    Fixes bug 961507

    Change-Id: Ib48d6ea3ad7c89e922cde8e0c0952d1bee2ca7bf

Changed in nova:
status: In Progress → Fix Committed
Devin Carlen (devcamcar)
Changed in nova:
importance: Undecided → Low
milestone: none → folsom-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-1 → 2012.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.