-
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
Cannot get container stats on rootless container #4268
Comments
Hm. 1.6.1 on FC31 means Cgroups v2. That's probably our issue. We fixed psgo for |
@marusak Can you confirm that this doesn't happen with 1.6.1 on FC30 (really, anything that's not FC31)? |
A bit different version (1.6.1-2 vs 1.6.1-5) hope it is not issue. If it is I can update and retry. |
OK, that sounds like an error we'd expect. We expect it to not work on any system without V2. The issue seems to be that it isn't working even with V2 enabled. |
patching coming |
network statistics cannot be collected for rootless network devices with the current implementation. for now, we return nil so that stats will at least for users. Fixes:containers#4268 Signed-off-by: baude <bbaude@redhat.com>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Calling varlink
GetContainerStats
on rootless container returnsLink not found
error.Steps to reproduce the issue:
Describe the results you received:
Link not found
errorDescribe the results you expected:
Something like: (this is doing the same but with root container)
Additional information you deem important (e.g. issue happens only occasionally):
This haven't worked on Fedora 30 due to CGroupsV1, but I migrated to CGroupsV2 (I am on Fedora 31).
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: