Bug #17898

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

Added by Shlomi Zadok 4 months ago. Updated 2 months ago.

Status:Closed
Priority:Normal
Assigned To:Amir Fefer
Category:Compute resources - Rackspace
Target version:Team Daniel - Iteration 9
Difficulty: Bugzilla link:1300676
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4197, https://github.com/theforeman/foreman/pull/4196
Story points-
Velocity based estimate-
Release1.15.0Release relationshipAuto

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 3 months 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 3 months ago

refs #17898 - update and tighten fog-rackspace dep

History

#1 Updated by Dominic Cleal 4 months ago

  • Category set to Compute resources - Rackspace

#2 Updated by Amir Fefer 4 months ago

  • Assigned To set to Amir Fefer

#3 Updated by Amir Fefer 4 months 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 3 months 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 3 months ago

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

#6 Updated by Amir Fefer 3 months ago

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

#7 Updated by Dominic Cleal 3 months ago

  • Release set to 1.15.0

#8 Updated by Daniel Lobato Garcia 3 months ago

  • Target version set to Team Brad - Iteration 11

#9 Updated by Brad Buckingham 2 months ago

  • Target version deleted (Team Brad - Iteration 11)

#10 Updated by Daniel Lobato Garcia 2 months ago

  • Target version set to Team Daniel - Iteration 9

Also available in: Atom PDF