Skip to content
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

kepler_node_info reports UNKNOWN cpu_architecture on RHEL9/arm64 #1347

Closed
jharriga opened this issue Apr 11, 2024 · 1 comment · Fixed by #1482
Closed

kepler_node_info reports UNKNOWN cpu_architecture on RHEL9/arm64 #1347

jharriga opened this issue Apr 11, 2024 · 1 comment · Fixed by #1482
Assignees
Labels
kind/bug report bug issue non-k8s environment Kepler running on Linux without Kubernetes

Comments

@jharriga
Copy link

What happened?

On RHEL9/arm64 system 'kepler_node_info' incorrectly reports “cpu_architecture”

kepler_node_info{components_power_source="ampere-xgene-hwmon",cpu_architecture="unknown",platform_power_source="none",source="os"} 1

What did you expect to happen?

cpu_architecture indicates the systems cpu arch

lscpu | grep Model

Model name: Neoverse-N1
BIOS Model name: Ampere(R) Altra(R) Max Processor

How can we reproduce it (as minimally and precisely as possible)?

Download & install rpm
start service
root# systemctl start container-kepler --now
root# curl localhost:8888/metrics | grep kepler_node_info

Anything else we need to know?

No response

Kepler image tag

v0.7.9

Kubernetes version

NONE

Cloud provider or bare metal

bare metal

OS version

On Linux:

$ cat /etc/os-release
Red Hat Enterprise Linux 9.3 (Plow)

$ uname -a
Linux perf-arm-11.perf.eng.bos2.dc.redhat.com 5.14.0-362.21.1.el9_3.aarch64 #1 SMP PREEMPT_DYNAMIC Thu Jan 25 08:27:11 EST 2024 aarch64 aarch64 aarch64 GNU/Linux

Install tools

# rpm --version RPM version 4.16.1.3

Kepler deployment config

For standalone:
root# systemctl start container-kepler --now
root# curl localhost:8888/metrics | grep kepler_node_info

Container runtime (CRI) and version (if applicable)

Related plugins (CNI, CSI, ...) and versions (if applicable)

@jharriga jharriga added the kind/bug report bug issue label Apr 11, 2024
@rootfs rootfs self-assigned this Apr 12, 2024
@rootfs rootfs added the non-k8s environment Kepler running on Linux without Kubernetes label Apr 18, 2024
@rootfs
Copy link
Contributor

rootfs commented May 22, 2024

current cpu architectures are from cpu_id, only working for x86. We need a sysfs id to get for ARM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug report bug issue non-k8s environment Kepler running on Linux without Kubernetes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants