Cannot call GetContainerStats through varlink for rootless containers #3749
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 cannot call
GetContainerStats
through varlink for rootless containers. It works for root containers.Steps to reproduce the issue:
in one terminal
Start a new user owned container in another terminal
podman run -dit --name foobar fedora
Try to get stats
varlink call unix:/run/user/1000/podman/io.podman/io.podman.GetContainerStats '{ "name": "foobar" }'
Describe the results you received:
Describe the results you expected:
Expected proper stats about the container
Additional information you deem important (e.g. issue happens only occasionally):
Works fine for root contianers:
Also works fine for other methods like
ListContainers
for rootless containers.Output of
podman version
:Output of
podman info --debug
:The text was updated successfully, but these errors were encountered: