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
Resume healthcheck when daemon restarts #41935
Resume healthcheck when daemon restarts #41935
Conversation
496ecb1
to
9c5f55e
Compare
Probably could use a test as well; I see there's a test for restarting the daemon that's already testing some scenarios with live-restore enabled;
|
04fd49e
to
e1973f1
Compare
Looks like CI is failing (seeing some panics) |
CI job "ppc64le" doesn't pass, I don't think it's coming from my code, @thaJeztah can you look at it please? |
I kicked CI to run again 👍 |
Thank you, but the job "ppc64le" failed again, the error says that it cannot delete some files (operation not allowed). |
@thaJeztah I think Jenkins is looking to delete the directory because I force-pushed the e1973f1 commit two days ago. |
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
could you squash the commits? (let me know if you need help doing so) |
Thanks, I would click on the "squash and merge" button. I cannot start the merge because the integration test did not pass. |
We cannot use squash and merge due to dco signing requirements. |
It also doesn't use a merge commit in that case. |
8b2383b
to
77e809e
Compare
The commits squash is done. |
@alexisries Thanks, we'll merge once review is complete. |
Note that this is fixing a bug in that one cannot restart a daemon with live-restore and also have healthchecks. |
cef3235
to
6088690
Compare
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 😅
Call updateHealthMonitor for alive non-paused containers Signed-off-by: Alexis Ries <alexis.ries.ext@orange.com>
6088690
to
9f39889
Compare
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, thanks!
Failures are the known failures from #42892 - ignoring those |
Call updateHealthMonitor for alive non-paused containers when daemon restarts.
What I did
Fix issue #41871 feat. @ealessandria-orange
- How I did it
While dockerd restores, call updateHealthMonitor for non paused alive containers.
- How to verify it
At dockerd restart, containers' healthcheck is still running.
- Description for the changelog
Fix issue #41871