Project

General

Profile

Actions

Bug #9946

closed

unable to delete a vm from the compute resource vm listing

Added by Ohad Levy almost 10 years ago. Updated almost 10 years ago.

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

Description

when trying to delete a libvirt vm from the compute resources vm listing i get:

2015-03-30 13:34:03 [I] Processing by ComputeResourcesVmsController#destroy as HTML
2015-03-30 13:34:03 [I]   Parameters: {"authenticity_token"=>"7rL4y3xGuy0u/zIGrgTR+RZ8FN+fXdSpcvXOajY6Rjk=", "compute_resource_id"=>"6-xx-sat-lab", "id"=>"7cdec39a-7a16-7894-c93a-5899c292fe68"}
2015-03-30 13:34:03 [W] Operation FAILED: wrong number of arguments (0 for 1)
2015-03-30 13:34:03 [I]   Rendered common/500.html.erb within layouts/application (6.2ms)
2015-03-30 13:34:03 [I]   Rendered layouts/base.html.erb (1.8ms)
2015-03-30 13:34:03 [I] Completed 500 Internal Server Error in 88.4ms (Views: 33.8ms | ActiveRecord: 1.2ms)

tracelog:

ArgumentError
wrong number of arguments (0 for 1)
app/models/compute_resources/foreman/model/libvirt.rb:38:in `destroy_vm'
app/controllers/compute_resources_vms_controller.rb:71:in `destroy'
app/controllers/concerns/application_shared.rb:13:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Actions

Also available in: Atom PDF