Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Unable to deploy Redis chart in minikube #1259

Closed
naveensrinivasan opened this issue Jun 7, 2017 · 6 comments
Closed

Unable to deploy Redis chart in minikube #1259

naveensrinivasan opened this issue Jun 7, 2017 · 6 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@naveensrinivasan
Copy link
Contributor

naveensrinivasan commented Jun 7, 2017

Is this a request for help?:
Yes, What is the workaround?

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Version of Helm and Kubernetes:
Helm Version
helm version Client: &version.Version{SemVer:"v2.3.1", GitCommit:"32562a3040bb5ca690339b9840b6f60f8ce25da4", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.3.1", GitCommit:"32562a3040bb5ca690339b9840b6f60f8ce25da4", GitTreeState:"clean"}

Which chart:
redis-0.6.0

What happened:
Redis Container does not start.
This is the error.

nami    INFO  redis successfully initialized
INFO  ==> Starting redis...
INFO  ==> Starting redis-server...
45:C 07 Jun 14:48:25.127 # Can't chdir to '/opt/bitnami/redis/data': Permission denied

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):
In minikube OSX
helm install --set metrics.enable=true --name=redis stable/redis
Anything else we need to know:
This works in the AWS env but does not work in minikube

@ShahNewazKhan
Copy link

ShahNewazKhan commented Jul 6, 2017

I am also having this same issue, trying to deploy redis-0.7.0 in minikube Ubuntu.

The same chart boots up fine in a GCP Container Engine K8s Node.

@bnelz
Copy link

bnelz commented Jul 17, 2017

This is an issue with Virtualbox shared mounts and I'm struggling a bit with these myself. Some reading that may help: kubernetes/minikube#2

@ShahNewazKhan
Copy link

I was able to resolve this by deleting the k8s Redis persistance volume claim:

kubectl get pvc
NAME                               STATUS    VOLUME                                     CAPACITY   ACCESSMODES   AGE
dev-redis                          Bound     pvc-bf5a38f9-771d-11e7-8ef3-5254006c691d   8Gi        RWO           21m
kubectl delete pvc dev-redis
persistentvolumeclaim "dev-redis" deleted

As per the charts/stable/redis README:

The Bitnami Redis image stores the Redis data and configurations at the /bitnami/redis path of the container.

By default, the chart mounts a Persistent Volume volume at this location. The volume is created using dynamic volume provisioning. If a Persistent Volume Claim already exists, specify it during installation.
Existing PersistentVolumeClaim

Create the PersistentVolume
Create the PersistentVolumeClaim
Install the chart

$ helm install --set persistence.existingClaim=PVC_NAME redis

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 2, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 7, 2018
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

munnerz added a commit to munnerz/charts-1 that referenced this issue Feb 5, 2019
* Automated cherry pick of helm#1314 (cert-manager/cert-manager#1315)
* Automated cherry pick of helm#1294 (cert-manager/cert-manager#1296)
* Automated cherry pick of helm#1276 (cert-manager/cert-manager#1277)
* Automated cherry pick of helm#1258 helm#1266 (cert-manager/cert-manager#1273)
* Automated cherry pick of helm#1259 (cert-manager/cert-manager#1260)
* Update Chart.yaml in webhook (cert-manager/cert-manager#1249)
munnerz added a commit to munnerz/charts-1 that referenced this issue Feb 5, 2019
* Automated cherry pick of helm#1314 (cert-manager/cert-manager#1315)
* Automated cherry pick of helm#1294 (cert-manager/cert-manager#1296)
* Automated cherry pick of helm#1276 (cert-manager/cert-manager#1277)
* Automated cherry pick of helm#1258 helm#1266 (cert-manager/cert-manager#1273)
* Automated cherry pick of helm#1259 (cert-manager/cert-manager#1260)
* Update Chart.yaml in webhook (cert-manager/cert-manager#1249)

Signed-off-by: James Munnelly <james@munnelly.eu>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

5 participants