-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 checkpoint on macOS fails #12053
Comments
#12281 should fix it. Remote checkpoint/restore had a number of issues. |
Merged, closing. |
Hi,
I notice a couple other regressions:
|
podman info --debug
|
Thank you for checking! For testing, you would need to compile Podman for Mac and for Linux (and get that into the VM) from the main branch. I don't think that there are daily builds available in brew. @baude @ashley-cui what do you think? |
Sounds about right. |
Hi, |
This did not make it into the recent 3.4.4 release (didn't backport cleanly, diffs versus main were too large). It will be fixed in Podman 4.0.0, released early next year. At that point it should make its way into the VM and Brew at around the same time. |
Thanks for getting back. I'll keep an eye open in the year.
Alan
|
Hi,
|
yes it supports podman 4. an exact reproducer might help as well as you doing a podman machine ssh and looking at journalctl and other relevant things. also, does it work if you ssh into the machine and run the commands in linux? |
I am mistaken, and checkpointing works! Thank you! |
While the example checkpoint from the documentation works, on the case I am working on it has failed. I am trying to export the checkpoint with "-e" and the resultant checkpoint file is empty but there is no complaint. If I run the checkpoint inside the podman machine, I get the error
The CRIU logfile is over 1m, so in the interest of getting started I'm just including tail -50, below, which shows some issue with file locks near the end. In case this matters this is for a container run interactively, and I am checkpointing from another shell. I am happy to provide any additional information you need in order to debug this.
|
Some more information: The container I'm working first builds a number of jar files and then runs JAVA, which presents an interactive prompt. If I checkpoint the container after the build but before I run JAVA the checkpoint succeeds. It fails when I try to checkpoint while JAVA is presenting the prompt. I could upload the image and instructions to start the application if desired. |
The image is available here: https://mumble.net/~alanr/lsw-podman-image.gz When the prompt "CL-USER(1):" is presented is when I try to checkpoint. I just found CRaC, which is a modified criu used in a project aiming to checkpoint JAVA programs and provide an API for knowing that an checkpoint is being restored. I don't understand CRIU and so I don't know if the changes they make are relevant. |
The container checkpoints and restores if I invoke the commands with --file-locks --tcp-established |
/kind bug
Description
podman checkpoint on macos fails.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Checkpoint succeeds
Additional information you deem important (e.g. issue happens only occasionally):
Not sure it is supposed to work yet
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Not sure what macOS equivalent is. Providing "brew info" output
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
macOS Catalina 10.15.7
The text was updated successfully, but these errors were encountered: