Commit 217564f6 by Őry Máté

vm: call private renew method at time of deploy

(This one does not create a (sub)activity.)
parent ea9874e1
...@@ -728,7 +728,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel): ...@@ -728,7 +728,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
vm_tasks.resume.apply_async(args=[self.vm_name], vm_tasks.resume.apply_async(args=[self.vm_name],
queue=queue_name).get(timeout=timeout) queue=queue_name).get(timeout=timeout)
self.renew('suspend', act) self._do_renew()
def deploy(self, user=None, task_uuid=None): def deploy(self, user=None, task_uuid=None):
"""Deploy new virtual machine with network """Deploy new virtual machine with network
......
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