-
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
missing online CPU information w/ compat REST API #15754
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.
podman-desktop
Comments
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
This continues to be worked on. |
A friendly reminder that this issue had no activity for 30 days. |
Getting closer. |
github-actions
bot
added
the
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
label
Aug 31, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
podman-desktop
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Looking at Compat API
https://docs.docker.com/engine/api/v1.41/#tag/Container/operation/ContainerStats
it says
number_cpus = length(cpu_stats.cpu_usage.percpu_usage) or cpu_stats.online_cpus
and
but it seems podman is not providing any of
percpu_usage
oronline_cpus
Steps to reproduce the issue:
httpd
myContainer=$(podman run -d docker.io/library/httpd)
grab cpu_stats
or pre_cpu_stats
Describe the results you received:
I don't see the number of cpus
Describe the results you expected:
I can get get the number of cpus and compute cpu usage
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes/No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: