Bug #2891
Openstack 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.
Associated revisions
History
#1
Updated by Daniel Lobato Garcia over 9 years ago
- Category changed from VM management to Compute resources
- Assignee set to Daniel Lobato Garcia
#2
Updated by Lukas Zapletal over 9 years ago
- Status changed from New to Ready For Testing
Thanks for your contribution!
#3
Updated by Daniel Lobato Garcia over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset a6ce3c9944b77b49c6420652199695656a719de4.
#4
Updated by Ohad Levy over 9 years ago
- Target version set to 1.3.0
fixes #2891 Openstack power control operations support
Compute resource helper Strings should be possible to translate
Compute resource permission to pause vms
Tests for Openstack VM pausing/resuming
VMs UI shows only available actions
I18n string issues. Vm power state cannot be properly translated yet
Removed redundant method