Bug #17898

Virtual machine power off/on does not work for compute resource provider "rackspace".

Added by Shlomi Zadok over 1 year ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Amir Fefer
Category:Compute resources - Rackspace
Target version:1.15.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1300676 Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/4197, https://github.com/theforeman/foreman/pull/4196

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1300676
Description of problem: Power on/off for any rackspace virtual machine shows error notificatoin
Error - undefined method `stop' for #<Fog::Compute::RackspaceV2::Server:0x00000>

Version-Release number of selected component (if applicable): 6.1.2

How reproducible:

Steps to Reproduce:
1. Go to infrastructure and click on compute resource.
2. Create compute resource using provider rackspace.
3. Try to stop/start any virtual machine.

Actual results:
undefined method `stop' for #<Fog::Compute::RackspaceV2::Server:0x00000>

Expected results:
Should stop or start vm

Additional info:

Associated revisions

Revision adc5b993
Added by Amir Fefer over 1 year ago

Fixes #17898 - update rackspace to 0.1.4

rackspace 0.1.4 supports in start and stop API operations

Revision 12b970a4
Added by Dominic Cleal over 1 year ago

refs #17898 - update and tighten fog-rackspace dep

History

#1 Updated by Dominic Cleal over 1 year ago

  • Category set to Compute resources - Rackspace

#2 Updated by Amir Fefer over 1 year ago

  • Assignee set to Amir Fefer

#3 Updated by Amir Fefer over 1 year ago

I've uploaded a PR to fog-rackspace repository that should solve this issue:
https://github.com/fog/fog-rackspace/pull/21

#4 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4196 added

#5 Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/theforeman/foreman/pull/4197 added

#6 Updated by Amir Fefer over 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#7 Updated by Dominic Cleal over 1 year ago

  • Legacy Backlogs Release (now unused) set to 209

#8 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to 169

#9 Updated by Brad Buckingham over 1 year ago

  • Target version deleted (169)

#10 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to 1.11.0

Also available in: Atom PDF