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