-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
β¨π making dy-sidecar resilient to restarts #3239
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #3239 +/- ##
========================================
- Coverage 81.6% 80.9% -0.8%
========================================
Files 753 759 +6
Lines 32205 32392 +187
Branches 4115 4128 +13
========================================
- Hits 26309 26214 -95
- Misses 5040 5295 +255
- Partials 856 883 +27
Flags with carried forward coverage won't be shown. Click here to find out more.
|
GitHK
changed the title
β¨π removal of dy-sidecar volumes from nodes
β¨π making dy-sidecar more resilient to restarts
Aug 11, 2022
GitHK
changed the title
β¨π making dy-sidecar more resilient to restarts
β¨π making dy-sidecar resilient to restarts
Aug 11, 2022
β¦core-forked into pr-osparc-named-volumes
Kudos, SonarCloud Quality Gate passed!Β Β 0 Bugs No Coverage information |
pcrespov
added a commit
to pcrespov/osparc-simcore
that referenced
this pull request
Aug 22, 2022
β¦)" This reverts commit 25e7ca9.
pcrespov
added a commit
to pcrespov/osparc-simcore
that referenced
this pull request
Aug 22, 2022
β¦)" This reverts commit 25e7ca9.
pcrespov
added a commit
that referenced
this pull request
Aug 22, 2022
GitHK
added a commit
that referenced
this pull request
Sep 3, 2022
Co-authored-by: Andrei Neagu <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What do these changes do?
In short
dynamic-sidecar
to restart and recover the previous status it had.dynamic-sidecar
is restarted it will reattach itself to its previous volumes and will be able to save the service's data.New volume handling
Changes how volumes, attached to the dynamic-sidecar, are handled.
What will I see on the node?
When starting a service( for example: based on jupyter-math), with node_uuid=
4e600b06-bc61-4c6a-9ff8-c6df9dbd27a3
, the following volumes will be created by the dy-sidecar:The naming of the volumes follows the following rule
dyv_{RUN_ID}{NORMLIZED_FOLDER_PATH}_{NODE_UUID}
where:dyv
a simple identifiable prefixRUN_ID
is a UUID generate by the director-v2 when starting the dynamic-sidecar. It is used to uniquely identify different runs of the service. This allows the service (between restarts) to not attach itself to older data (maybe out of date).NORMLIZED_FOLDER_PATH
obtained by replacing the/
with_
in the folder pathNODE_UUID
the service's unique identifier inside the projectChanges
state_exclude
insidedirector-v2
testsdy-volrm_{NODE_UUID}
services which could remain pending in the system in case of error.Checks
Related issue/s
How to test
Checklist