From db1782916eed78d19846a3d274b71e4e8d552e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Hal=C3=A1sz?= Date: Wed, 18 Jan 2017 11:22:53 +0100 Subject: [PATCH] Added missing parameter when requesting OpenStack remote console Fixes the 'wrong number of arguments' error https://bugzilla.redhat.com/show_bug.cgi?id=1414377 --- .../providers/openstack/cloud_manager/vm/remote_console.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/manageiq/providers/openstack/cloud_manager/vm/remote_console.rb b/app/models/manageiq/providers/openstack/cloud_manager/vm/remote_console.rb index c5d3dc5c699..36846138960 100644 --- a/app/models/manageiq/providers/openstack/cloud_manager/vm/remote_console.rb +++ b/app/models/manageiq/providers/openstack/cloud_manager/vm/remote_console.rb @@ -38,7 +38,7 @@ def remote_console_acquire_ticket_queue(protocol, userid) :priority => MiqQueue::HIGH_PRIORITY, :role => 'ems_operations', :zone => my_zone, - :args => [userid, protocol] + :args => [userid, MiqServer.my_server.id, protocol] } MiqTask.generic_action_with_callback(task_opts, queue_opts)