Actions
Bug #2891
closedOpenstack power controls don't work
Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources
Target version:
Description
In Foreman 1.2 on CentOS 6.4 I'm unable to control the state of Openstack VMs via the Power Off/Power On buttons in Foreman.
If I try to Power Off an instance, I get the following error:
Failed to stop example.hostname: undefined method `stop' for #
And if I try to start a suspended instance:
Failed to start example.hostname: undefined method `start' for #
I'm assuming this is because Openstack doesn't have a power off option, only a suspend option. A quick look at the Fog library suggests it does support this though.
Actions