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

failed to read cpus.yaml #1492

Closed
dave-tucker opened this issue Jun 5, 2024 · 1 comment
Closed

failed to read cpus.yaml #1492

dave-tucker opened this issue Jun 5, 2024 · 1 comment
Labels
good first issue Good for newcomers kind/bug report bug issue tech-debt

Comments

@dave-tucker
Copy link
Collaborator

What happened?

When running kepler as a developer I see log messages related to missing files in /var/lib/kepler/data/cpus.yaml when running kepler locally as part of my dev/test cycle.

What did you expect to happen?

There not to be issues when running locally.
We should check for the presence of a data directory when running locally - similar to how we detect the bytecode paths in pkg/bpf.

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

make build
sudo ./.output/bin/linux_amd64/kepler

Anything else we need to know?

No response

Kepler image tag

Kubernetes version

$ kubectl version
# paste output here

Cloud provider or bare metal

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

Kepler deployment config

For on kubernetes:

$ KEPLER_NAMESPACE=kepler

# provide kepler configmap
$ kubectl get configmap kepler-cfm -n ${KEPLER_NAMESPACE} 
# paste output here

# provide kepler deployment description
$ kubectl describe deployment kepler-exporter -n ${KEPLER_NAMESPACE} 

For standalone:

put your Kepler command argument here

Container runtime (CRI) and version (if applicable)

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

@dave-tucker dave-tucker added kind/bug report bug issue good first issue Good for newcomers tech-debt labels Jun 5, 2024
@sthaha
Copy link
Collaborator

sthaha commented Jul 3, 2024

closed by #1572

@sthaha sthaha closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers kind/bug report bug issue tech-debt
Projects
None yet
Development

No branches or pull requests

2 participants