Project

General

Profile

Bug #2891

Openstack power controls don't work

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

Status:
Closed
Priority:
Normal
Category:
Compute resources
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Revision a6ce3c99 (diff)
Added by Daniel Lobato Garcia over 9 years ago

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

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

#4 Updated by Ohad Levy over 9 years ago

  • Target version set to 1.3.0

Also available in: Atom PDF