rootless docker-compose "error opening rootless-cni.lck" #10986
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I'm trying to run the below docker-compose.yml (actual one is a bit more complex but this reproduces it), but I get multiple errors, and often also this error. Podman service subsequently crashes and must be restarted to respond to API calls.
I've attached
docker-compose.yml
and related files as an archive. I'm not sure if it can be replicated with less code but in my attempts the issue was intermittent and I struggled to pinpoint what was causing it. The attached files seem to reproduce the issue pretty consistently though it's still not happening always.Steps to reproduce the issue:
mkdir /tmp/testing && cd /tmp/testing && tar -xzvf $FILE
docker-compose up
Describe the results you received:
Subsequently podman socket/service crashed. The
journalctl
forpodman.service
contains the following:Note the
<clipped>
bits are unrelated network that I censored out.Now once this error has been show, podman responds to nothing any more. Podman, docker and docker-compose just sit there and hang.
docker ps
anddocker-compose down
produces a some log entries, whereas podman does not:Finally, restarting
podman.socket
makes podman responsive again, but the same issue occurs if docker-compose up is run.Lastly, I also tend to these errors when running compose up (in no particular order):
That latter is accompanied with a invalid nil pointer dereference stack trace and also a crash:
Describe the results you expected:
It should work, and not crash.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Note this does not run after above issue, until
podman.socket
is restarted.Package info (e.g. output of
rpm -q podman
orapt list podman
):Happy to provide additional details if necessary. Note, the docker-compsoe file used to work fine in rootful mode, though I haven't tested it with rootful since switching to rootless.
Sorry for the TMI, but these all seemed related to the same issue to me.
The text was updated successfully, but these errors were encountered: