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

RAG cannot be deployed on an existing cluster due to CloudSQL requiring at least 1 private service connection #529

Open
andrewsykim opened this issue Apr 2, 2024 · 0 comments

Comments

@andrewsykim
Copy link
Collaborator

Trying to deploy RAG on an existing cluster results in this error:

Step #0 - "Apply blueprint": on .terraform/modules/jupyterhub.jupyterhub-workload-identity/modules/workload-identity/main.tf line 51
Step #0 - "Apply blueprint": 
Step #0 - "Apply blueprint": time="2024-04-02T14:44:14Z" level=error msg="error writing to GCS: error closing temp logfile: googleapi: got HTTP response code 503 with body: Service Unavailable"
Step #0 - "Apply blueprint": Error: Error, failed to create instance because the network doesn't have at least 1 private services connection. Please see https://cloud.google.com/sql/docs/mysql/private-ip#network_requirements for how to create this connection.
Step #0 - "Apply blueprint": time="2024-04-02T14:44:14Z" level=error msg="Error (exit code 1) running \"terraform apply -json /tmp/tfplan-2667148229/plan.out\". Stderr:\n"
Step #0 - "Apply blueprint": Error: Error, failed to create instance because the network doesn't have at least 1 private services connection. Please see https://cloud.google.com/sql/docs/mysql/private-ip#network_requirements for how to create this connection.
Step #0 - "Apply blueprint": error: Error, failed to create instance because the network doesn't have at least 1 private services connection. Please see https://cloud.google.com/sql/docs/mysql/private-ip#network_requirements for how to create this connection.
Step #0 - "Apply blueprint": 
Step #0 - "Apply blueprint": on .terraform/modules/cloudsql.cloudsql/modules/postgresql/main.tf line 54

I think this is because we only create the private service connection when creating new networks, which doesn't execute when trying to run the RAG deployment on an existing cluster

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