Project

General

Profile

Actions

Bug #10825

closed

Error creating VMWare compute resources: wrong number of arguments(1 for 0)

Added by Dave Nash almost 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In version 1.8.1 installed from RPM when attempting to create a new CMware compute resource I receive the following error when clicking the "Load DataCenter" button

Unable to save

wrong number of arguments(1 for 0)

here is the sanatized output of the attempt from the production.log with debug turned on

Started PUT "/compute_resources/test_connection" for 10.54.24.70 at 2015-06-15 20:33:34 +0000
2015-06-15 20:33:34 [I] Processing by ComputeResourcesController#test_connection as /*
2015-06-15 20:33:34 [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"XXXXX=", "compute_resource"=>{"name"=>"test", "provider"=>"Vmware", "description"=>"", "server"=>"vcenter.XXXXX", "user"=>"XXXXX", "password"=>"[FILTERED]", "set_console_password"=>"[FILTERED]"}, "fakepassword"=>"[FILTERED]", "cr_id"=>"null"}
2015-06-15 20:33:34 [D] User Load (1.2ms) SELECT "users".
FROM "users" WHERE "users"."id" = $1 LIMIT 1 "id", 4
2015-06-15 20:33:34 [D] Setting current user thread-local variable to XXXX
2015-06-15 20:33:34 [D] AuthSource Load (1.0ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = 3 LIMIT 1
2015-06-15 20:33:34 [I] CR_ID IS null
2015-06-15 20:33:34 [D] String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware test was not decrypted
2015-06-15 20:33:34 [D] String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware test was not decrypted
2015-06-15 20:33:34 [D] ComputeResource Exists (1.0ms) SELECT 1 AS one FROM "compute_resources" WHERE "compute_resources"."name" = 'test' LIMIT 1
2015-06-15 20:33:34 [D] String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware test was not decrypted
2015-06-15 20:33:34 [D] String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware test was not decrypted
2015-06-15 20:33:35 [D] String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware test was not decrypted
2015-06-15 20:33:35 [D] String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware test was not decrypted
2015-06-15 20:33:35 [I] Rendered compute_resources/form/_vmware.html.erb (22.8ms)
2015-06-15 20:33:35 [I] Rendered compute_resources/_form.html.erb (31.2ms)
2015-06-15 20:33:35 [I] Completed 200 OK in 950ms (Views: 33.6ms | ActiveRecord: 3.1ms)

Actions

Also available in: Atom PDF