You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, same error here. In my case I've modified the file enroot-switchroot.c changing the pivot_root value for a chroot, that makes enroot works good, but it also does pyxis fail with the following:
$ srun --container-image=ubuntu grep PRETTY /etc/os-release
srun: job 14791 queued and waiting for resources
srun: job 14791 has been allocated resources
pyxis: importing docker image: ubuntu
pyxis: imported docker image: ubuntu
PRETTY_NAME="Rocky Linux 8.8 (Green Obsidian)"
It imports the container image but does not chroot inside it.
If you run a stateless cluster (such as one deployed by warewulf) with root filesystem in RAM, for example:
You cannot start enroot containers. This happens:
strace snippet:
There seems to be a hard requirement for enroot to do a pivot_root syscall:
enroot/bin/enroot-switchroot.c
Line 207 in 09ae4b2
Unfortunately pivot_root is not supported by stateless/memory based root disk.
The nvidia-container-cli binary provides a flag to --no-pivot, presumably this works for docker... but there is no equivalent for enroot.
The text was updated successfully, but these errors were encountered: