-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User service-lingered Kube Quadlet fails to start: "no such pod" #24468
Comments
I have a feeling this may be a result of |
We only support the latest upstrema version so please test with podman 5.2.5 or one of the 5.3 rc's. It is possible that such problems have already been fixed. |
I will take a look at trying it with upstream tomorrow. |
This comment has been minimized.
This comment has been minimized.
Tested with 5.3.0-dev (c0e24c6), issue persists with exact same behavior. Edited original issue report. |
That sounds like a totally unrelated thing. How did you build podman? You must set the seccomp build tag as any normal container will default to using a seccomp profile |
I was never made aware seccomp was not enabled by default. Time to go hunting documentation to figure out how to enable this and rebuild it. I will once again do this tomorrow after university. |
|
Ahh that's how. OK. I'll shove my keys on my laptop and try this during downtime at uni and report results (est. 12hrs from now). Fingers crossed |
I've rebuilt with |
Something is definitely very wrong here. Restarting again is giving entirely different errors now:
The below is a standard .container file which is created using this Ansible play:
|
yeah there a lot of other changes, you need a newer crun and pasta, maybe more |
I'm going to go ahead and say I'm not able to test this further, probably. I'm not the sole owner of the box, and I'm not sure how much more I can change before affecting the containers ran by the other person. Sorry for this. |
Issue Description
My Kube Quadlet acts funny on a reboot. The Quadlet fails to start, complaining that the pod it is meant to create does not exist.
Steps to reproduce the issue
Steps to reproduce the issue
~/.config/containers/sytemd/testkube.kube
pointing to the .yamlsystemctl --user status testkube
andpodman ps -a
and see that nothing is open.Describe the results you received
systemctl --user status ansible-tf2network_dev
:This only shows as failed as I tried shoving
RemainAfterExit=yes
in the Quadlet file hoping it would fix this, it didn't.Running
systemctl --user start ansible-tf2network_dev
works immediately after and the containers stay open as expected.journalctl --user -xu ansible-tf2network_dev
:Describe the results you expected
The Quadlet starts correctly.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes (? built from c0e24c6)
Additional environment details
Ubuntu 24.04 LTS VPS
Additional information
The kube file and quadlet file are visible in this folder. They're Jinja2 templates, but they should be straight-forward.
The text was updated successfully, but these errors were encountered: