opentelemetry-helm-charts icon indicating copy to clipboard operation
opentelemetry-helm-charts copied to clipboard

[bug] starting container process caused "chdir to cwd/home/nonroot" in config.json failed: permission denied: unknown

Open ethan256 opened this issue 2 years ago • 3 comments
trafficstars

I use opentelemetry-operator helm chart deploy in Kubernetes v1.20, the operator could not start up normally with the following errors:

Error: failed to start container "kube-rbac-proxy": Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "chdir to cwd (\"/home/nonroot\") set in config.json failed: permission denied": unknown

ethan256 avatar Dec 08 '22 09:12 ethan256

@ethan256 does the issue happen on k8s 1.23+ ?

TylerHelmuth avatar Dec 08 '22 15:12 TylerHelmuth

does the issue happen on k8s 1.23+

no, my case happened in aliyun k8s 1.20

ethan256 avatar Dec 09 '22 00:12 ethan256

@ethan256 I could not reproduce this in k8s 1.21. There is a flag to disable the proxy and side-load it afterwards if you really need it

Allex1 avatar Dec 09 '22 19:12 Allex1