Project

General

Profile

Actions

Bug #10129

closed

Error getting AWS flavours

Added by Andrew Lau almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
RPMs
Target version:
Difficulty:
Triaged:
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)

Actions #1

Updated by Andrew Lau almost 10 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

Actions #2

Updated by Andrew Lau almost 10 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.

Actions #3

Updated by The Foreman Bot almost 10 years ago

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

Updated by Daniel Lobato Garcia almost 10 years ago

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

Updated by Anonymous almost 10 years ago

  • Project changed from Plugins to Packaging
  • Category set to RPMs
  • Translation missing: en.field_release set to 28
  • Assignee set to Anonymous
  • 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.

Actions #6

Updated by Dominic Cleal almost 10 years ago

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

Also available in: Atom PDF