Project

General

Profile

Bug #10129

Error getting AWS flavours

Added by Andrew Lau over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
RPMs
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Error getting AWS "flavours" in Foreman 1.8 RC3 error:

2015-04-14 14:36:28 [W] Operation FAILED: undefined method `to_label' for #<Fog::Compute::AWS::Flavor:0x0000000a1e2850>
2015-04-14 14:36:28 [I] Rendered common/500.html.erb (4.7ms)
2015-04-14 14:36:28 [I] Completed 500 Internal Server Error in 489ms (Views: 5.4ms | ActiveRecord: 1.2ms)

Associated revisions

Revision a3bd4646 (diff)
Added by Michael Moll over 5 years ago

Refs #10129 - foreman-ec2 must depend on foreman-compute (fog)

Revision a8ba4ac4 (diff)
Added by Michael Moll over 5 years ago

Fixes #10129 - foreman-ec2 must depend on foreman-compute (fog)

Revision 0fc16c57
Added by Dominic Cleal over 5 years ago

Merge pull request #624 from mmoll/rpm/develop-ec2

Fixes #10129 - foreman-ec2 must depend on foreman-compute (fog) (RPM)

History

#1 Updated by Andrew Lau over 5 years ago

This error happens when selecting the ec2 compute resource in the "Deploy On" section in New Host tab, making the Virtual Machine tab leave a red error: Error loading virtual machine information: Internal Server Error

Log above is from production.log

#2 Updated by Andrew Lau over 5 years ago

We tracked this down to,
foreman-ec2 does not install ruby193-rubygem-fog which is provided by foreman-compute and thus resolves the issue. Another quirk I found was foreman-ec2 adds the openstack/rackspace option to compute resource, but will error due to missing foreman-compute/ruby193-rubygem-fog packages.

This seems to be a packaging issue, so I've been told is a different issue.

#3 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/622 added
  • Pull request deleted ()

#4 Updated by Daniel Lobato Garcia over 5 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/623 added
  • Pull request deleted (https://github.com/theforeman/foreman-packaging/pull/622)

#5 Updated by Anonymous over 5 years ago

  • Assignee set to Anonymous
  • Project changed from Plugins to Packaging
  • Category set to RPMs
  • Legacy Backlogs Release (now unused) set to 28
  • Pull request https://github.com/theforeman/foreman-packaging/pull/624 added
  • Pull request deleted (https://github.com/theforeman/foreman-packaging/pull/623)

I see this as 1.8.0 candidate, but it's very late, so 1.8.1 would also be OK, I guess.

#6 Updated by Dominic Cleal over 5 years ago

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

Also available in: Atom PDF