vmware power manager doesn't tell power state correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Arata Notsu |
Bug Description
Create a node with "ironic node-create -d pxe_ssh -i ssh_virt_
Then, try to create a new instance using the node. The node will be powered ON successfully. But soon, the provisioning will turn to ERROR. This is because the vmware power manager's list_running command cannot get the power state properly; it always says the power is OFF.
From a log like this, I found that the manager tried to get a state of the VM {_NodeName_}. But {_NodeName_} is a placeholder and has to be replaced with the actual target VM's ID.
2014-12-09 11:06:25.819 19357 DEBUG ironic.
Changed in ironic: | |
assignee: | nobody → Arata Notsu (arata776) |
status: | New → In Progress |
Changed in ironic: | |
importance: | Undecided → Medium |
Changed in ironic: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | kilo-1 → 2015.1.0 |
Reviewed: https:/ /review. openstack. org/139810 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=af21ffd9867 a175469ac1f11a3 94486b43abd519
Committed: https:/
Submitter: Jenkins
Branch: master
commit af21ffd9867a175 469ac1f11a39448 6b43abd519
Author: Arata Notsu <email address hidden>
Date: Sun Dec 7 00:15:45 2014 +0900
Correct vmware ssh power manager
{_NodeName_} in list_running has to be replaced since the power manager
relies on it.
Now _get_hosts_ name_for_ node is called before list_running, so unit
tests are modified too.
Change-Id: I4a787039b7bc0f 13c29455f041120 e9e43e7c46b
Closes-Bug: #1400674