Open proshir opened 1 month ago
Do these directories exist on the compute node? enroot/pyxis will run as unprivileged, so if you want to use folders like /raid
and /run/enroot
, you need to make sure that they are created at boot time or during the job prolog.
Not sure why /tmp/enroot-data
is failing however, maybe it already exists but it's not accessible to the user?
I am having the same problem. I have a prolog task doing mkdir and chown but still gives the same error.
jjustin@diana:/etc/enroot$ srun -w hades --container-image ubuntu cat /etc/os-release
pyxis: importing docker image: ubuntu
slurmstepd-hades: error: pyxis: child 611187 failed with error code: 1
slurmstepd-hades: error: pyxis: failed to import docker image
slurmstepd-hades: error: pyxis: printing enroot log file:
slurmstepd-hades: error: pyxis: mkdir: cannot create directory ‘/raid’: Permission denied
slurmstepd-hades: error: pyxis: mkdir: cannot create directory ‘/tmp/enroot-data’: Permission denied
slurmstepd-hades: error: pyxis: mkdir: cannot create directory ‘/run/enroot’: Permission denied
slurmstepd-hades: error: pyxis: couldn't start container
slurmstepd-hades: error: spank: required plugin spank_pyxis.so: task_init() failed with rc=-1
slurmstepd-hades: error: Failed to invoke spank plugin stack
srun: error: hades: task 0: Exited with exit code 1
Hi, I used to use enroot and pyxis in slurm, but unfortunately my settings got corrupted and I get the following error. Can you help me please?
Also, my
enroot.conf
file is as follows: