helm / charts

⚠️(OBSOLETE) Curated applications for Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cassandra Chart Pod Fails With 'mkdir: cannot create directory '/bitnami/cassandra/data': Permission denied'

krebznet opened this issue · comments

Screen Shot 2021-02-15 at 11 51 36 AM

**Describe the bug** Installing Cassandra Chart Pod does not start as i get this error... mkdir: cannot create directory '/bitnami/cassandra/data': Permission denied

I've googled around and seems like a permission problem on the directory. I don't know how to modify the permissions as this is inside the container I think and to do that i would have to modify the docker image?

version*
BuildInfo{Version:"v3.5.2", GitCommit:"167aac70832d3a384f65f9745335e9fb40169dc2", GitTreeState:"dirty", GoVersion:"go1.15.7"

Which chart:
Cassanda

What happened:

The Pod does not start because of the write file permission issue when Cassandra is starting up.

What you expected to happen:
Expect the pod to initialize and start successfully.

Reproduce this by
helm install bitnami/cassandra

This was a chmod permission issue on my local storage directory.