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

provisionCluster fails because it is running to early #323

Open
Jbaukens opened this issue Jun 29, 2023 · 0 comments
Open

provisionCluster fails because it is running to early #323

Jbaukens opened this issue Jun 29, 2023 · 0 comments

Comments

@Jbaukens
Copy link

Jbaukens commented Jun 29, 2023

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

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

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

1 participant