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

Unable to Create workspace #930

Closed
jeinfra opened this issue Jun 6, 2024 · 5 comments
Closed

Unable to Create workspace #930

jeinfra opened this issue Jun 6, 2024 · 5 comments
Labels
feedback Share feedback to improve Terrakube

Comments

@jeinfra
Copy link

jeinfra commented Jun 6, 2024

Feedback

Hi, i am unable to create workspace, i keep getting a blank page on the terraform version side and when i add a new VCS (github) it redirects me to a blank page. attached screenshots, please help am i doing anything wrong?
image
image

@jeinfra jeinfra added the feedback Share feedback to improve Terrakube label Jun 6, 2024
@alfespa17
Copy link
Member

alfespa17 commented Jun 6, 2024

I guess is a network issue, double check if you have connectivity to this endpoint from inside the API pod.

https://releases.hashicorp.com/terraform/index.json

And for the VCS issue make sure you use the correct "callback redirect" in your github oauht application

image

@jeinfra
Copy link
Author

jeinfra commented Jun 6, 2024

yeah. am using the correct call back redirect, i cant reach the terraform url

cnb@terrakube-api-884969c8c-bbz5q:/workspace$ wget -qO- https://releases.hashicorp.com/terraform/index.json
bash: wget: command not found
cnb@terrakube-api-884969c8c-bbz5q:/workspace$

@alfespa17
Copy link
Member

wget command is not installed in the API container but if you are deploying the executor in the same k8s you could try running curl in the executor just to double check

cnb@terrakube-executor-5d74845c5f-gxsz2:/workspace$ curl https://releases.hashicorp.com/terraform/index.json

Maybe you can share some API pod logs when you are creating the workspace to check if you see some network issue

@jeinfra
Copy link
Author

jeinfra commented Jun 6, 2024

curl works on the executor pod, i am using same k8s cluster and no log from the api pod when i am trying to create a workspace

image

image

@alfespa17
Copy link
Member

alfespa17 commented Jun 6, 2024

Try creating one workspaces and check the logs, there should be a message inside the API logs like:

Using terraform releases URL

Maybe you see some error there and check the browser logs when you are creating the workspace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback Share feedback to improve Terrakube
Projects
None yet
Development

No branches or pull requests

2 participants