Bug #2540
closedError retriving "Virtual Machines" list from Rackspace compute resource.
Description
I get the following error when clicking on the "Virtual Machines" tab for a Rackspace compute resource "There was an error listing VM's : 500 OK"
In the production.log, I get the following error.
Started GET "/compute_resources/1-rackspace-lon/vms" for 195.99.195.90 at Wed May 22 08:48:42 +0000 2013
Processing by ComputeResourcesVmsController#index as HTML
Parameters: {"compute_resource_id"=>"1-rackspace-lon"}
Operation FAILED: wrong number of arguments (1 for 0)
Rendered common/500.rhtml (16.8ms)
Completed 500 Internal Server Error in 175ms (Views: 18.1ms | ActiveRecord: 10.8ms)
Files
Updated by Ohad Levy over 11 years ago
- Status changed from New to Need more information
did you figure this one out?
any chance you are using the V2 api (e.g. openstack) instead of the V1?
Updated by Jim Bailey over 11 years ago
I have tried V1 V2 and the Openstack and Rackspace commute resources type; same error for all of them. I can login but It doesn't let me see the compute resources. If I can get it to work I try and get some docs written up since the Manual is a bit sparse there. We actually use both EC2 and Rackspace, so I might actually be bale to help the project for a change.
Updated by Sam Kottler over 11 years ago
- File rackspace_500.png rackspace_500.png added
- Category set to Compute resources
- Status changed from Need more information to New
- Assignee set to Sam Kottler
- Target version set to 1.3.0
- Difficulty set to easy
I've also run into this issue. It happens when using the v2 API (the only one foreman supports ;)).
Attached is a screenshot. I'll work on fixing this.
Updated by Sam Kottler over 11 years ago
- Status changed from New to Ready For Testing
I submitted a PR to fog to fix the issue upstream that just got merged thanks to @Ohad Levy - https://github.com/fog/fog/pull/1975.
There is an open PR for Foreman, too, although it'll require some changes before it's ready to get merged - https://github.com/theforeman/foreman/pull/807. Once the new Fog release comes out we can pin to versions above 1.15.0 and remove the hack that'll get implemented in lib/ as a stopgap right now.
Updated by Sam Kottler over 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset c5aa8c8546e3999656c74bd3b441c5aa544a96f8.