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.
Reviewed: https:/ /review. openstack. org/111773 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=86a4bd7d9b3 4057f04ebbe2d21 31f033d33d082b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 86a4bd7d9b34057 f04ebbe2d2131f0 33d33d082b
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: I64e95f6b537e83 a30dd64474f63f1 40e0e8e7373
Closes-Bug: #1352428