jmeter-kubernetes icon indicating copy to clipboard operation
jmeter-kubernetes copied to clipboard

./dashboard.sh terminates with exit code 1

Open shravanvallaban opened this issue 3 years ago • 5 comments

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?

shravanvallaban avatar Apr 27 '21 02:04 shravanvallaban

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

jonahmons avatar Jun 20 '21 14:06 jonahmons

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

hkpanchani avatar Dec 06 '21 05:12 hkpanchani

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

rupesh2310 avatar Jan 03 '23 09:01 rupesh2310

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

jonahmons avatar Jan 03 '23 09:01 jonahmons

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

rupesh2310 avatar Jan 04 '23 10:01 rupesh2310