Actions
Bug #28059
closedUnable to Associate a existing VM
Difficulty:
Triaged:
No
Description
Unable to Associate a existing VM
Steps:
on UI: Infrastructure => Compute Resources => Azure CR => click on 'Associate VMs'
Actual results:
09:01:12 rails.1 | 2019-10-15T09:01:12 [I|app|00c850d4] Completed 500 Internal Server Error in 133ms (ActiveRecord: 2.2ms) 09:01:12 rails.1 | | 09:01:12 rails.1 | | 09:01:12 rails.1 | 2019-10-15T09:01:12 [F|app|00c850d4] 09:01:12 rails.1 | 2019-10-15T09:01:12 [F|app|00c850d4] ArgumentError (wrong number of arguments (given 1, expected 0)): 09:01:12 rails.1 | 2019-10-15T09:01:12 [F|app|00c850d4] 09:01:12 rails.1 | 2019-10-15T09:01:12 [F|app|00c850d4] /home/rootazure/foreman_azure_rm/app/models/foreman_azure_rm/azure_rm.rb:160:in `vms' 09:01:12 rails.1 | | app/services/compute_resource_host_associator.rb:11:in `associate_hosts' 09:01:12 rails.1 | | app/controllers/compute_resources_controller.rb:52:in `associate' 09:01:12 rails.1 | | app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone' 09:01:12 rails.1 | | app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' 09:01:12 rails.1 | | app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' 09:01:12 rails.1 | | lib/foreman/middleware/telemetry.rb:10:in `call' 09:01:12 rails.1 | | lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call' 09:01:12 rails.1 | | lib/foreman/middleware/logging_context_session.rb:22:in `call' 09:01:12 rails.1 | | lib/foreman/middleware/logging_context_request.rb:11:in `call' 09:01:12 rails.1 | 2019-10-15T09:01:12 [I|app|a92b7838] Rendered images/_list.html.erb (201.9ms) 09:01:12 rails.1 | 2019-10-15T09:01:12 [I|app|a92b7838] Completed 200 OK in 26043ms (Views: 219.2ms | ActiveRecord: 5.8ms) 09:01:12 rails.1 | |
Expected results:
VM should be Associate.
Actions