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

Mounting volume "proc" fails for helm chart installation on containerd runtime #1457

Open
C-Luci opened this issue May 21, 2024 · 0 comments
Labels
kind/bug report bug issue

Comments

@C-Luci
Copy link

C-Luci commented May 21, 2024

What happened?

I've installed kepler in one of our k8s clusters using the chart provided in the "Kepler Deploy using Helm Chart" section from the official doc(https://sustainable-computing.io/installation/kepler-helm/).
No custom values file was needed, so I just used the basic helm installation.

After the daemonset is configured the two pods that are created in the kepler namespace are stuck in RunContainerError/CrashLoopBackOff with the following error:

Error: failed to create containerd task: failed to create shim task: Others("other error: container_linux.go:330: starting container process caused \"process_linux.go:381: container init caused \\\"rootfs_linux.go:61: mounting \\\\\\\"/proc\\\\\\\" to rootfs \\\\\\\"/run/containerd/io.containerd.runtime.v2.task/k8s.io/kepler-exporter/rootfs\\\\\\\" at \\\\\\\"/proc\\\\\\\" caused \\\\\\\"\\\\\\\\\\\\\\\"/run/containerd/io.containerd.runtime.v2.task/k8s.io/kepler-exporter/rootfs/proc\\\\\\\\\\\\\\\" cannot be mounted because it is located inside \\\\\\\\\\\\\\\"/proc\\\\\\\\\\\\\\\"\\\\\\\"\\\"\""): unknown

I am unsure of the root cause of this error, might be the fact that we're using containerd as the runtime but this is the first time I'm encountering this issue.

What did you expect to happen?

Both the daemonset and the pods should be up and running with the basic helm install configuration.

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

Step 1: helm repo add kepler https://sustainable-computing-io.github.io/kepler-helm-chart
Step 2: helm repo update
Step 3: helm pull kepler/kepler --untar
Step 4: helm install kepler kepler/ -n kepler --create-namespace

Anything else we need to know?

No response

Kepler image tag

kepler:release-0.7.8

Kubernetes version

$ kubectl version
# paste output here
v1.25.5

Cloud provider or bare metal

Flexible Engine

OS version

No response

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)

@C-Luci C-Luci added the kind/bug report bug issue label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug report bug issue
Projects
None yet
Development

No branches or pull requests

1 participant