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

[stable/redis] verifying if persistence.enabled and master.persistence.path is working #23392

Closed
FatCache opened this issue Jul 30, 2020 · 2 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@FatCache
Copy link

Describe the bug question
A clear and concise description of what the bug is.
In the Minikube local cluster, I have set persistence.enabled to false. I also have master.persistence.path param set to /host/ as a precautionary measure. This /host is a mounted directory from minikube mount C:/User/<username>/Documents/minikube:/host/

Why I did those? In my attempt to fix this issue:

image

Version of Helm and Kubernetes:
kubernetes 1.15.5
Helm 3.2.4
Minikube 1.12.1

Which chart:
Redis

What happened:
The redis-master-0 pod status is Running status but hits this eventually:
image

I am aware of this issue defined in the ReadMe.md 1990. Yet the pod experience of it not having write permission. This manifest pod's status to becomes Crashloopbackoff.

What you expected to happen:

  1. I expect the permission to to show up even with the parameter set as mentioned in the doc

  2. As the problem deals with 'appendonly'. I found a thread on stackoverflow where it is mentioned to set appendonly value to no. I expected this to be no' as well with the parameter but it is not.

For example in redis-cli I see this [I might be seeing at the wrong place, please correct me if I am wrong]:

image

Please note save key is empty

How to reproduce it (as minimally and precisely as possible):
Have minikube 1.12.1
minikube start --driver=docker --kubernetes 1.15.5
helm install redis setup/redis/chart --set usePassword=false --set persistence.enabled=false

kube get pod => gives us pod is running status
.... eventually the pod hits status Crashloopbackoff

Anything else we need to know:
Working on corporate computer with two account - admin and nonadmin. Docker is running as admin whereas minikube runs as non admin. In Windows 10 enivornment.

On the side if it helps. I also have Kafka with exact same parameter running with mountPath set to /host, this also errors out:
image

`Error executing 'postInstallation': EACCES: permision denied, mkdir '/bitnami/zookeeper/data'

  • on kubectl describe pod redis-master-0
    image
    image

  • the entry of redis.conf
    image

@stale
Copy link

stale bot commented Aug 29, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 29, 2020
@stale
Copy link

stale bot commented Sep 12, 2020

This issue is being automatically closed due to inactivity.

@stale stale bot closed this as completed Sep 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

1 participant