-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
podman docker-compose healthchecks issue #10617
Comments
I see "Custom embedded system" - Podman healthchecks require the use of systemd as an init system. Does your distribution use systemd for init? |
@mheon - Yes I use systemd. I can see the timer firing periodically to run the healthcheck. |
I can take a look at this, it is in the same vein as #10610 edit: made some progress, narrowing down where in the compat side I think the issue is. Will follow up more tomorrow when I am sure |
@jwhonce PTAL if you have time, not seeing any obvious issues with the compat API on this one. Healthcheck is passed in the body of the request and seems to be decoded properly. |
@cdoern - thanks for starting to look into this. Were you able to reproduce the failing healthchecks as I described? |
A friendly reminder that this issue had no activity for 30 days. |
@cdoern did you ever look at this? |
Compat healthcheck tests are of the format []string but podman's were of the format string. Converted podman's to []string at the specgen level since it has the same effect and removed the incorrect parsing of compat healthchecks. fixes containers#10617 Signed-off-by: cdoern <[email protected]>
Compat healthcheck tests are of the format []string but podman's were of the format string. Converted podman's to []string at the specgen level since it has the same effect and removed the incorrect parsing of compat healthchecks. fixes containers#10617 Signed-off-by: cdoern <[email protected]>
I am running podman 3.1.2-dev on a custom embedded Linux device. I have a docker-compose.yml file with an application named 'app1', which is a simple Python3 Flask webserver. Podman successfully brings up the docker-compose environment, but my healthchecks always return error, regardless of what I use for timeouts, intervals, retries, etc. My defined healthcheck works when I exec into the container and run them manually. When I inspect the application with 'podman inspect app1', I can see 2 'CMD-SHELL' instances defined. I believe it should only have mine and perhaps this is the issue.
Output of podman inspect app1:
Manually running healthchecks:
docker-compose.yml file:
The text was updated successfully, but these errors were encountered: