apisix-helm-chart icon indicating copy to clipboard operation
apisix-helm-chart copied to clipboard

mkdir: cannot create directory '/bitnami/etcd': Permission denied

Open lijingrs opened this issue 4 years ago • 5 comments

mkdir: cannot create directory '/bitnami/etcd': Permission denied

is this ok?

image

lijingrs avatar Jul 23 '21 16:07 lijingrs

@JackLiMEM Which directory were used in the host as the binding of this one in the container.

tokers avatar Jul 24 '21 10:07 tokers

@JackLiMEM Which directory were used in the host as the binding of this one in the container.

"containerdRootDir": "/var/lib/rancher/k3s/agent/containerd", "containerdEndpoint": "/run/k3s/containerd/containerd.sock", "rootDir": "/var/lib/rancher/k3s/agent/containerd/io.containerd.grpc.v1.cri", "stateDir": "/run/k3s/containerd/io.containerd.grpc.v1.cri"

lijingrs avatar Jul 25 '21 01:07 lijingrs

please see https://github.com/apache/apisix-helm-chart/issues/105#issuecomment-864757267

tao12345666333 avatar Jul 25 '21 11:07 tao12345666333

did you try chmod 777 on the host dir ?

jerry3k avatar Jul 28 '21 17:07 jerry3k

please see #105 (comment)

Thanks,It seems that it was caused by the k8s version upgrade and this can really solve this problem

lijingrs avatar Jul 29 '21 01:07 lijingrs