kubernauts / kubernauts/jmeter-operator
InfluxDB not starting on OpenShift due to permission error
- Dominant language
- Shell
- Stars
- 116
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
I'm following the README trying to get everything set up on Openshift, however when creating the deployment based on the jmeter-deploy.yaml, the InfluxDB container goes into a crashloop due to a permissions error
```
ts=2019-06-21T05:50:01.973379Z lvl=info msg="InfluxDB starting" log_id=0GA9CAyG000 version=1.7.6 branch=1.7 commit=01c8dd416270f424ab0c40f9291e269ac6921964
ts=2019-06-21T05:50:01.973459Z lvl=info msg="Go runtime" log_id=0GA9CAyG000 version=go1.11 maxprocs=8
run: create server: mkdir all: mkdir /var/lib/influxdb/meta: permission denied
```
I presume that this is because OpenShift runs all containers as a non root user by default. Does anyone have experience setting this up on OpenShift and have a hint on what would be the most elegant way to solve this?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the README and jmeter-deploy.yaml, then investigate why the InfluxDB container cannot create /var/lib/influxdb/meta when deployed on OpenShift. Done means the deployment starts without the reported permission error; the issue does not identify a test or a specific intended fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes
- Domain
- databases, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100