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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[20.10] Fix live-restore w/ restart policies + volume refs #44238
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
Before this change restarting the daemon in live-restore with running containers + a restart policy meant that volume refs were not restored. This specifically happens when the container is still running *and* there is a restart policy that would make sure the container was running again on restart. The bug allows volumes to be removed even though containers are referencing them. 馃槺 Signed-off-by: Brian Goff <cpuguy83@gmail.com> (cherry picked from commit 4c0e097) Signed-off-by: Brian Goff <cpuguy83@gmail.com>
thaJeztah
added
status/2-code-review
impact/changelog
area/volumes
kind/bugfix
PR's that fix bugs
labels
Oct 3, 2022
thaJeztah
approved these changes
Oct 3, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
paralin
added a commit
to skiffos/buildroot
that referenced
this pull request
Oct 16, 2022
This release of Docker Engine comes with some bug-fixes, and an updated version of Docker Compose. Builder Fix an issue that could result in a panic during docker builder prune or docker system prune moby/moby#44122. Daemon Fix a bug where using docker volume prune would remove volumes that were still in use if the daemon was running with "live restore" and was restarted moby/moby#44238. Packaging Update Docker Compose to v2.11.2. https://github.com/moby/moby/releases/tag/v20.10.19 Signed-off-by: Christian Stewart <christian@paral.in>
paralin
added a commit
to skiffos/buildroot
that referenced
this pull request
Oct 16, 2022
This release of Docker Engine comes with some bug-fixes, and an updated version of Docker Compose. Builder Fix an issue that could result in a panic during docker builder prune or docker system prune moby/moby#44122. Daemon Fix a bug where using docker volume prune would remove volumes that were still in use if the daemon was running with "live restore" and was restarted moby/moby#44238. Packaging Update Docker Compose to v2.11.2. https://github.com/moby/moby/releases/tag/v20.10.19 Signed-off-by: Christian Stewart <christian@paral.in>
arnout
pushed a commit
to buildroot/buildroot
that referenced
this pull request
Oct 17, 2022
This release of Docker Engine comes with some bug-fixes, and an updated version of Docker Compose. Builder Fix an issue that could result in a panic during docker builder prune or docker system prune moby/moby#44122. Daemon Fix a bug where using docker volume prune would remove volumes that were still in use if the daemon was running with "live restore" and was restarted moby/moby#44238. Packaging Update Docker Compose to v2.11.2. https://github.com/moby/moby/releases/tag/v20.10.19 Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arnout
pushed a commit
to buildroot/buildroot
that referenced
this pull request
Oct 17, 2022
This release of Docker Engine comes with some bug-fixes, and an updated version of Docker Compose. Builder Fix an issue that could result in a panic during docker builder prune or docker system prune moby/moby#44122. Daemon Fix a bug where using docker volume prune would remove volumes that were still in use if the daemon was running with "live restore" and was restarted moby/moby#44238. Packaging Update Docker Compose to v2.11.2. https://github.com/moby/moby/releases/tag/v20.10.19 Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arnout
pushed a commit
to buildroot/buildroot
that referenced
this pull request
Nov 2, 2022
This release of Docker Engine comes with some bug-fixes, and an updated version of Docker Compose. Builder Fix an issue that could result in a panic during docker builder prune or docker system prune moby/moby#44122. Daemon Fix a bug where using docker volume prune would remove volumes that were still in use if the daemon was running with "live restore" and was restarted moby/moby#44238. Packaging Update Docker Compose to v2.11.2. https://github.com/moby/moby/releases/tag/v20.10.19 Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 231e492) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arnout
pushed a commit
to buildroot/buildroot
that referenced
this pull request
Nov 2, 2022
This release of Docker Engine comes with some bug-fixes, and an updated version of Docker Compose. Builder Fix an issue that could result in a panic during docker builder prune or docker system prune moby/moby#44122. Daemon Fix a bug where using docker volume prune would remove volumes that were still in use if the daemon was running with "live restore" and was restarted moby/moby#44238. Packaging Update Docker Compose to v2.11.2. https://github.com/moby/moby/releases/tag/v20.10.19 Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 0a11951) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arnout
pushed a commit
to buildroot/buildroot
that referenced
this pull request
Nov 2, 2022
This release of Docker Engine comes with some bug-fixes, and an updated version of Docker Compose. Builder Fix an issue that could result in a panic during docker builder prune or docker system prune moby/moby#44122. Daemon Fix a bug where using docker volume prune would remove volumes that were still in use if the daemon was running with "live restore" and was restarted moby/moby#44238. Packaging Update Docker Compose to v2.11.2. https://github.com/moby/moby/releases/tag/v20.10.19 Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 231e492) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arnout
pushed a commit
to buildroot/buildroot
that referenced
this pull request
Nov 2, 2022
This release of Docker Engine comes with some bug-fixes, and an updated version of Docker Compose. Builder Fix an issue that could result in a panic during docker builder prune or docker system prune moby/moby#44122. Daemon Fix a bug where using docker volume prune would remove volumes that were still in use if the daemon was running with "live restore" and was restarted moby/moby#44238. Packaging Update Docker Compose to v2.11.2. https://github.com/moby/moby/releases/tag/v20.10.19 Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 0a11951) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Before this change restarting the daemon in live-restore with running containers + a restart policy meant that volume refs were not restored. This specifically happens when the container is still running and there is a restart policy that would make sure the container was running again on restart.
The bug allows volumes to be removed even though containers are referencing them. 馃槺
Signed-off-by: Brian Goff cpuguy83@gmail.com
(cherry picked from commit 4c0e097)
Signed-off-by: Brian Goff cpuguy83@gmail.com