Project

General

Profile

Bug #12187

Warning! uninitialized constant Fog::Compute::OpenStack

Added by Steve Banik almost 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - OpenStack
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

This occurs when I attempt to power on or power off a Google instance, however, the power on/off succeeds. Full trace is attached.

full_trace.log full_trace.log 15.3 KB Steve Banik, 10/15/2015 02:40 PM

Related issues

Has duplicate Foreman - Bug #13081: uninitialized constant Fog::Compute::OpenStackDuplicate2016-01-08

Associated revisions

Revision 49c332e5 (diff)
Added by Tom Caspy over 3 years ago

fixes #12187 - checking if OpenStack is defined before calling that constant

Revision cf5cdb7a (diff)
Added by Tom Caspy over 3 years ago

fixes #12187 - checking if OpenStack is defined before calling that constant

(cherry picked from commit 49c332e55d61d08eb51ebec8029889a7e396e125)

Revision 261e0f7b (diff)
Added by Tom Caspy over 3 years ago

fixes #12187 - checking if OpenStack is defined before calling that constant

(cherry picked from commit 49c332e55d61d08eb51ebec8029889a7e396e125)

History

#1 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 91

As a workaround, you can "yum install foreman-compute".

The issue comes from being able to install the GCE support (bundler group) without the Fog group (foreman-compute). The view helper shouldn't assume that the Fog::Compute::OpenStack class exists (simply doing vm.class.name and comparing strings would be enough).

#2 Updated by Dominic Cleal almost 4 years ago

  • Difficulty set to trivial

#3 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) deleted (91)

Sorry, this hasn't been fixed in time for the 1.9.3 release, unsetting.

#4 Updated by Dominic Cleal over 3 years ago

  • Category changed from Compute resources - GCE to Compute resources - OpenStack

#5 Updated by Dominic Cleal over 3 years ago

  • Has duplicate Bug #13081: uninitialized constant Fog::Compute::OpenStack added

#6 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Tom Caspy
  • Pull request https://github.com/theforeman/foreman/pull/3200 added

#7 Updated by Tom Caspy over 3 years ago

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

#8 Updated by Dominic Cleal over 3 years ago

  • Legacy Backlogs Release (now unused) set to 123

#9 Updated by Daniel Lobato Garcia over 3 years ago

  • Bugzilla link set to 1272028

Also available in: Atom PDF