Commit e3ddb284 by Guba Sándor

instance: fixed shutdown rpc call to pass arguments at kwargs

parent e344913e
......@@ -849,7 +849,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
queue_name = self.get_remote_queue_name('vm')
logger.debug("RPC Shutdown at queue: %s, for vm: %s.",
self.vm_name, queue_name)
vm_tasks.shutdown.apply_async(args=[self.vm_name],
vm_tasks.shutdown.apply_async(kwargs={'name': self.vm_name},
queue=queue_name).get()
self.node = None
self.vnc_port = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment