Commit 01816dc9 by Bach Dániel

vm: create renew activity on deploy

parent d2825fb9
...@@ -756,8 +756,7 @@ class Instance(AclBase, VirtualMachineDescModel, StatusModel, ...@@ -756,8 +756,7 @@ class Instance(AclBase, VirtualMachineDescModel, StatusModel,
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._do_renew() self.renew(which='both', base_activity=act)
self.save()
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