HyperV "Shutting Down" state is not mapped

Bug #1352428 reported by Adelina Tuvenie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Adelina Tuvenie
Icehouse
Fix Released
Low
Claudiu Belu

Bug Description

The method which gets VM related information can fail if the VM is in an intermediary state such as "Shutting down".
The reason is that some of the Hyper-V specific vm states are not defined as possible states.

This will result into a key error as shown bellow:

http://paste.openstack.org/show/90015/

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/111773

Changed in nova:
assignee: nobody → Adelina Tuvenie (atuvenie)
status: New → In Progress
Jay Pipes (jaypipes)
Changed in nova:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/111773
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=86a4bd7d9b34057f04ebbe2d2131f033d33d082b
Submitter: Jenkins
Branch: master

commit 86a4bd7d9b34057f04ebbe2d2131f033d33d082b
Author: Adelina Tuvenie <email address hidden>
Date: Mon Aug 4 19:02:16 2014 +0300

    Fixes Hyper-V vm state issue

    The method which gets VM related information can fail if the
    vm is in an intermediary state such as "Shutting down".
    The reason is that some of the Hyper-V specific vm states
    are not defined as possible states.

    This patch assures that a valid state is always returned by
    this method.

    Change-Id: I64e95f6b537e83a30dd64474f63f140e0e8e7373
    Closes-Bug: #1352428

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/116076

Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/icehouse)

Reviewed: https://review.openstack.org/116076
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=87f842d1dbf26a49954400abd80b235407de93a7
Submitter: Jenkins
Branch: stable/icehouse

commit 87f842d1dbf26a49954400abd80b235407de93a7
Author: Adelina Tuvenie <email address hidden>
Date: Mon Aug 4 19:02:16 2014 +0300

    Fixes Hyper-V vm state issue

    The method which gets VM related information can fail if the
    vm is in an intermediary state such as "Shutting down".
    The reason is that some of the Hyper-V specific vm states
    are not defined as possible states.

    This patch assures that a valid state is always returned by
    this method.

    Change-Id: I64e95f6b537e83a30dd64474f63f140e0e8e7373
    Closes-Bug: #1352428
    (cherry picked from commit 86a4bd7d9b34057f04ebbe2d2131f033d33d082b)

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.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.