Commit 4a0c749b by Őry Máté

vm: prevent propagation of failed renew in wake_up & deploy

parent 0468d9f5
...@@ -285,7 +285,10 @@ class DeployOperation(InstanceOperation): ...@@ -285,7 +285,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)
...@@ -726,8 +729,10 @@ class WakeUpOperation(InstanceOperation): ...@@ -726,8 +729,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