Open mattwelke opened 5 months ago
Tested with Ubuntu by itself (no WSL) and found that the issue did not occur then. I was able to launch the pod, get a terminal into the container, and test it out where I made a change to the code, re-ran go run main.go
, refresh my browser, and see my changes reflected.
Local Environment:
Kubernetes Cluster:
> kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.0", GitCommit:"b46a3f887ca979b1a5d14fd39cb1af43e7e5d12d", GitTreeState:"clean", BuildDate:"2022-12-08T19:58:30Z", GoVersion:"go1.19.4", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"28", GitVersion:"v1.28.0", GitCommit:"855e7c48de7388eb330da0f8d9d2394ee818fb8d", GitTreeState:"clean", BuildDate:"2023-08-15T21:24:51Z", GoVersion:"go1.20.7", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.26) and server (1.28) exceeds the supported minor version skew of +/-1
What happened?
I followed the quickstart tutorial, beginning at https://www.devspace.sh/docs/getting-started/introduction.
I was able to complete Download DevSpace, Initialize Project (I chose the "Golang" tab), and some of Development. I chose all of the default, suggested options.
During the Development step, when I got down to the part of the tutorial where you run
devspace dev
, I ran this command but then I got an error. The complete terminal output looks like this:At this point in time, there is a container that exists and is in a Running state
But I'm not sure what to do at this point because my terminal has had control returned to it and based on language used in the quickstart, I don't think this is what's supposed to happen:
What did you expect to happen instead?
I expected to be able to complete the quickstart tutorial.
I also expected, based on my experience using DevSpace on my work machine, where it was already set up for me by a colleague, that at some point, I would have a terminal into a dev container open, but this didn't happen.
How can we reproduce the bug? (as minimally and precisely as possible)
Follow the steps I described above to attempt to complete the quickstart tutorial, choosing Go as your programming language. Observe the output from
devspace dev
.My devspace.yaml:
Local Environment:
Kubernetes Cluster:
Anything else we need to know?
I suspect that the fact I'm running this with WSL 2 is related to this issue. But I have not yet tested this in a different OS so I have not yet confirmed that WSL 2 is the only way of using Linux that causes this problem.