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
{{ message }}
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.
Error: could not create container: could not spawn container: could not create oci bundle: could not create SIF bundle: failed to find loop device: failed to attach image /var/lib/singularity/c894da36f0c207a33e862b9a38b3a66d7e02857aa959493df3ff455830f305f8: no loop devices available
I've tried this with setuid both set and unset on the singularity binary to no joy, as I saw reports that can cause issues.
sycri logs and kube manifest appended at the bottom.
I can also run containers happily on the workers directly:
[robinsla@k8swrk3]/tmp/singularity-cri% singularity run shub://GodloveD/lolcow
________________________________________
/ Tomorrow will be cancelled due to lack \
\ of interest. /
----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Environment?
OS distribution and version: RHEL 7 (3.10.0-1062.12.1.el7.x86_64)
When containers are stuck in a crashloopbackoff state, the Singularity CRI seems to exhaust the pool of loopback devices faster than it can clean them up.
You can confirm this by comparing the number of attached devices to the number of loopback devices in your /dev filesystem:
losetup --list | wc -l
ls /dev/loop[0-9]* | wc -l
If they match, all of your available loopbacks are used.
I suppose you could try to increase the number of loopbacks, but really it should be investigated why Singularity is unable to clean up the old, unused ones.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What are the steps to reproduce this issue?
What happens?
Pods fail to be created with:
What were you expecting to happen?
Pod to be created.
Any logs, error output, comments, etc?
There are plenty of loop devices:
I've tried this with setuid both set and unset on the singularity binary to no joy, as I saw reports that can cause issues.
sycri logs and kube manifest appended at the bottom.
I can also run containers happily on the workers directly:
Environment?
OS distribution and version: RHEL 7 (3.10.0-1062.12.1.el7.x86_64)
go version: go1.13.3
Singularity-CRI version: 1.0.0-beta.7
Singularity version: 3.5.2-1.1
Kubernetes version: v1.18.0
Manifest
SYCRI logs
The text was updated successfully, but these errors were encountered: