Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfluxDB not starting on OpenShift due to permission error #14

Open
Crazy-Duck opened this issue Jun 21, 2019 · 1 comment
Open

InfluxDB not starting on OpenShift due to permission error #14

Crazy-Duck opened this issue Jun 21, 2019 · 1 comment

Comments

@Crazy-Duck
Copy link

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?

@arashkaffamanesh
Copy link
Member

There is a special version for OpenShift here (without the operator), which worked for me on OpenShift 3.5 and 3.9:
https://github.com/kubernauts/jmeter-kubernetes/tree/master/openshift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants