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

GCP workspace unable to launch for the first time #999

Open
SGudbrandsson opened this issue Apr 12, 2024 · 6 comments
Open

GCP workspace unable to launch for the first time #999

SGudbrandsson opened this issue Apr 12, 2024 · 6 comments

Comments

@SGudbrandsson
Copy link

What happened?
Trying to boot up a new GCP instance doesn't work - stuck in Waiting for devpod agent to come up...

What did you expect to happen instead?
Devpod would come up

How can we reproduce the bug? (as minimally and precisely as possible)
Unknown - I haven't been able to boot yet!
Just create a new server in Google, point to a github repo, then wait.

Local Environment:

  • DevPod Version: 0.5.5
  • Operating System: linux
  • ARCH of the OS: AMD64

DevPod Provider:

  • Cloud Provider: google

Anything else we need to know?
Initial test, fresh build, first container.
image
image
No meaningful logs.
image

@SGudbrandsson SGudbrandsson changed the title GCP container stuck in a GCP workspace unable to launch for the first time Apr 12, 2024
@SGudbrandsson
Copy link
Author

Here's the log when I try to launch this locally with docker
image

fatal: could not read Username for 'https://github.com': terminal prompts disabled

image

@SGudbrandsson
Copy link
Author

The next person reporting an issue gets the lucky #1000 .. maybe I should create a separate issue for the docker stuff? 😁

@pascalbreuninger
Copy link
Member

Hey @SGudbrandsson, thanks for reporting the issue.
couple of questions here:

  1. What's the configuration for your gcloud provider? I just tried with basically no modification and it worked just fine
  2. Regarding the docker issue fatal: could not read Username for 'https://github.com': terminal prompts disabled: Are you able to clone the repository using https on your local machine? And if so, do you have an insteadOf in your git config?

@SGudbrandsson
Copy link
Author

Hey @pascalbreuninger, thanks for responding so quickly.

  1. I dunno, just vanilla gcloud login. Are you looking for some specifics? Any command you want me to run?
  2. Generally I clone with git@... - should I try that instead? This repo is private.

@pascalbreuninger
Copy link
Member

  1. So you just ran devpod provider add gcloud without changing any configuration?
  2. That's cloning via SSH - should also work though, let me try to reproduce

@pascalbreuninger
Copy link
Member

Update on the second issue: did you also enter git@$YOUR_REPO in the DevPod UI? If not, it'll fall back to https based cloning and you might not have the git credentials helper configure on your host.

@deniseschannon deniseschannon added the bug Something isn't working label May 8, 2024 — with Linear
@deniseschannon deniseschannon removed bug Something isn't working kind/bug labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants