Bug #10129
closed
Error getting AWS flavours
Added by Andrew Lau over 9 years ago.
Updated about 6 years ago.
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)
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
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.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-packaging/pull/622 added
- Pull request deleted (
)
- Pull request https://github.com/theforeman/foreman-packaging/pull/623 added
- Pull request deleted (
https://github.com/theforeman/foreman-packaging/pull/622)
- 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.
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF