Commit c41a0811 by Guba Sándor

instance: fixed wake_up call

parent b4ed419c
...@@ -818,8 +818,9 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel): ...@@ -818,8 +818,9 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
task_uuid=task_uuid, user=user): task_uuid=task_uuid, user=user):
queue_name = self.get_remote_queue_name('vm') queue_name = self.get_remote_queue_name('vm')
vm_tasks.resume.apply_async(args=[self.vm_name, self.dump_mem], vm_tasks.wake_up.apply_async(args=[self.vm_name,
queue=queue_name).get() self.mem_dump['path']],
queue=queue_name).get()
def wake_up_async(self, user=None): def wake_up_async(self, user=None):
"""Execute wake_up asynchronously. """Execute wake_up asynchronously.
......
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