kubernauts / jmeter-kubernetes

Load testing as a service (LTaaS) with Apache Jmeter on kubernetes
Apache License 2.0
362 stars 249 forks source link

./dashboard.sh terminates with exit code 1 #39

Open shravanvallaban opened 3 years ago

shravanvallaban commented 3 years ago

When the following command is executed

./dashboard.sh

I get the error

Error: unknown shorthand flag: 'e' in -execute See 'influx -h' for help command terminated with exit code 1

which is thrown from the line

kubectl exec -ti -n $tenant $influxdb_pod -- influx -execute 'CREATE DATABASE jmeter'

How do I solve this?

jonahmons commented 3 years ago

The problem is the different versions of influx,

i set the influx version in jmeter_influxdb_deploy.yaml the version to: influxdb:1.8.6

https://github.com/kubernauts/jmeter-kubernetes/blob/a481d707317d71d13cfa9ec16c22c20177c3cc27/jmeter_influxdb_deploy.yaml#L18

hkpanchani commented 2 years ago

i tried with influxdb:1.8.6, still the same error.. image image

rupesh2310 commented 1 year ago

I am getting the same error.please help how to fix

GLOBAL OPTIONS: --help, -h show help Error: flag provided but not defined: -execute command terminated with exit code 1

jonahmons commented 1 year ago

If i remember correct, the reason was a mismatch between different versions, play around with older versions of influx

rupesh2310 commented 1 year ago

I am not getting the data on grafana..data source is working fine..how do I solve it? Any idea..