Unable to migrate container
Bug #1563921 reported by
Chuck Short
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
criu (Ubuntu) |
Fix Released
|
Undecided
|
Tycho Andersen | ||
Xenial |
Fix Released
|
Undecided
|
Tycho Andersen | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Serge Hallyn | ||
Xenial |
Fix Released
|
Undecided
|
Serge Hallyn |
Bug Description
When trying to migrate a container to another host i get the following error:
Error (mount.c:740): mnt: 150:./sys/
Changed in linux (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
status: | New → In Progress |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug is caused by the new nsroot= patch introduced in:
https:/ /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/1560489
To fix it, we have two options:
1. patch the kernel again to allow nsroot= to be supplied on mount (I've spoken to hallyn and he's going to write a patch to allow this soon)
2. patch CRIU (with a patch that won't go upstream in CRIU, because we're expecting the mount patch from 1 to land) to trim nsroot before restoring: https:/ /github. com/tych0/ criu/commit/ 5691a6b38c84d23 707008d465bbb25 ef3c8a57eb
In either case, we also need to apply this patch to CRIU: https:/ /github. com/xemul/ criu/commit/ d071ab161a7a147 673253a4f460c1f 1164acd470