Project

General

Profile

Actions

Bug #2891

closed

Openstack power controls don't work

Added by Andy Taylor over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Also available in: Atom PDF