cockroachdb / cockroachdb/helm-charts
provisionCluster fails because it is running to early
- Dominant language
- Go
- Stars
- 105
- Forks
- 152
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 5
Description
Hello,
I noticed that the provisionCluster in the init-job.yaml is failing because its running to early.
If i am changing the code with a sleep on forehand the users and databases are created with success
https://github.com/cockroachdb/helm-charts/blob/master/cockroachdb/templates/job.init.yaml#L216
```sleep 5;provisionCluster;``` outputs
```
CREATE ROLE
CREATE DATABASE
Provisioning completed successfully
```
Without the sleep, i am getting an error asking to check if cockroach is running
```ERROR: cannot dial server.
Is the server running?
If the server is running, check --host client-side and --advertise server-side.
dial tcp ip:26257: connect: connection refused
Failed running "sql"
Provisioning completed successfully
```
I am trying to install is as dependeny on minikube
Jira issue: HELM-22
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.