Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0ca705cf
authored
Aug 01, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: prevent propagation of failed renew in wake_up & deploy
parent
8ae27f21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
circle/vm/operations.py
+8
-3
No files found.
circle/vm/operations.py
View file @
0ca705cf
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment