-
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
New flake: unable to obtain cgroup stats: open /sys/fs/cgroup/pids/pids.current: ENOENT #8397
Comments
Oh! I seem to remember encountering this problem as well recently. I don't recall updating the images recently, but I could be wrong, and that's the only way they could change versions 😕 @edsantiago commit 92e31a2 updated images I built the day before, so Tue Nov 10th. Both Ubuntu's (19/20) are pulling If not, it leaves the "hard" way: Go trolling through the Cirrus-CI build history, comparing the contents of |
So, #8290 merged yesterday, and it deals with stats and cgroups. My quick look at it doesn't find anything that could be related to this failure, but it's the only cgroup or stats PR in the last few weeks. @vrothberg would you mind looking at the failures above and seeing if your PR could have possibly caused this? |
Yes...both Ubuntu 19/20 are cgv1 w/ runc coming from OBS. |
I don't think it's a runc issue; I did a quick check yesterday, comparing |
on my host ,
|
Ooooh! If you still have access to this system, can you post the results of |
|
Thank you! @giuseppe @vrothberg I hope that helps? |
When running on cgroups v1, `/proc/{PID}/cgroup` has multiple entries, each pointing potentially to a different cgroup. Some may be empty, some may point to parents. The one we really need is the libpod-specific one, which always is the longest path. So instead of looking at the first entry, look at all and select the longest one. Fixes: containers#8397 Signed-off-by: Valentin Rothberg <[email protected]>
Thanks for providing all the data, @edsantiago |
This one started just yesterday, and it's hitting us all over the place. The basic gist is:
Only on ubuntu-19 and -20; only root, not rootless. Seems to happen both local and remote. What changed yesterday?
Podman pod stats [It] podman stats on running pods
Podman pod stats [It] podman stats on a specific running pod
Podman pod stats [It] podman stats on a specific running pod with name
Podman pod stats [It] podman stats on a specific running pod with shortID
Podman pod stats [It] podman stats on all pods
Podman pod stats [It] podman stats on net=host post
Podman pod stats [It] podman stats with GO template
Podman pod stats [It] podman stats with json output
The text was updated successfully, but these errors were encountered: