Skip to content
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

RFE: the ability to checkpoint on a host and restore on another #1618

Closed
muayyad-alsadi opened this issue Oct 10, 2018 · 9 comments
Closed
Assignees
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@muayyad-alsadi
Copy link
Contributor

Podman now supports Checkpoint/Restore In Userspace (CRIU)
but it seems to be limited to a single host, that is to checkpoint and restore on same host.

how about checkpoint on a host, scp to another host and restore there?

@TomSweeneyRedHat
Copy link
Member

@adrianreber Thoughts?

@adrianreber
Copy link
Collaborator

@muayyad-alsadi Like the linked article says, I am planing to implement migration support 'soon'. Not sure when 'soon' is, however. Hopefully I am able to open the necessary pull requests in the next few weeks.

@rhatdan
Copy link
Member

rhatdan commented Oct 10, 2018

@muayyad-alsadi Thanks for opening this.

@rhatdan
Copy link
Member

rhatdan commented Dec 22, 2018

@adrianreber Is looking into this.

@adrianreber
Copy link
Collaborator

I have a working proof of concept to migrate containers from one host to another working locally since today. I need to get the code into shape before submitting it, but it is working. It also needs runc changes which I will also look into.

@rhatdan
Copy link
Member

rhatdan commented Mar 8, 2019

This continues to move along.

@rhatdan
Copy link
Member

rhatdan commented Apr 13, 2019

@adrianreber Could you update this issue with your progress.

@adrianreber
Copy link
Collaborator

The container migration feature required changes in many different projects. CRIU, runc, selinux-policy, container-selinux. Most problems have been solved. Right now I am waiting for the last changes in selinux-policy to be available on Fedora 28 and 29 so that the corresponding container-selinux policy changes to support the restore of multi-threaded processes with the correct SELinux labels.

I wrote a blog post about the things I had to change in CRIU to get everything working with SELinux: https://lisas.de/~adrian/posts/2019-Apr-10-criu-and-selinux.html

Right now all things seem to be solved and just need to be part of the corresponding distribution packages to be part of Podman's CI. Once it is available in the CI my pull request could turn green and then we can start the discussion about the actual code changes.

I would say we are pretty close to get this merged.

@mheon
Copy link
Member

mheon commented Jun 7, 2019

I'm going to close this given #2272 is merged

@mheon mheon closed this as completed Jun 7, 2019
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

5 participants