Commit c41a0811 by Guba Sándor

instance: fixed wake_up call

parent b4ed419c
...@@ -818,7 +818,8 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel): ...@@ -818,7 +818,8 @@ 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,
self.mem_dump['path']],
queue=queue_name).get() queue=queue_name).get()
def wake_up_async(self, user=None): def wake_up_async(self, user=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