Commit 0ca705cf by Őry Máté

vm: prevent propagation of failed renew in wake_up & deploy

parent 8ae27f21
......@@ -281,7 +281,10 @@ class DeployOperation(InstanceOperation):
"boot virtual machine")):
self.instance.resume_vm(timeout=timeout)
self.instance.renew(parent_activity=activity)
try:
self.instance.renew(parent_activity=activity)
except:
pass
register_operation(DeployOperation)
......@@ -702,8 +705,10 @@ class WakeUpOperation(InstanceOperation):
"deploy network")):
self.instance.deploy_net()
# Renew vm
self.instance.renew(parent_activity=activity)
try:
self.instance.renew(parent_activity=activity)
except:
pass
register_operation(WakeUpOperation)
......
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