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

Automation to create InfluxDB fails #26

Open
ghost opened this issue Jan 7, 2021 · 0 comments
Open

Automation to create InfluxDB fails #26

ghost opened this issue Jan 7, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 7, 2021

The $ curl not found at Grafana Pod.

bash-5.0$ curl 'http://admin:[email protected]:3000/api/datasources' -X POST -H 'Content-Type: application/json;charset=UTF-8' --data-binary '{"name":"jmeterdb","type":"influxdb","url":"http://'$influxdb_svc':8086","access":"proxy","isDefault":true,"database":"jmeter","user":"admin","password":"admin"}'
bash: curl: command not found
bash-5.0$ cat /etc/issue 
Welcome to Alpine Linux 3.12
Kernel \r on an \m (\l)

When you try execute the script initialize_cluster.sh return a generic error:

./initialize_cluster.sh 
Enter the Jmeter Namespace: mynamespace
Creating Influxdb jmeter Database
Creating the Influxdb data source
OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: exec: "curl": executable file not found in $PATH: unknown
command terminated with exit code 126
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

0 participants