Comments (5)
Yup we've heard this issue from other people as well, will fix as soon as possible! A way to work around it for now is to use prebuilds from your local machine and then pull the prebuild image inside of your cluster, removing the need to build the features in-cluster
edit: @rafilkmp3 Seems like I wrote a bit too hastily, @89luca89 already fixed that one a while ago 🥳
Can you try again with one of the 0.5.0 alpha preleases? We're planning to cut a new stable release end january
from devpod.
@rafilkmp3 thank you for reporting the issue.
Could you copy the SSH config entry for $WORKSPACE_ID.devpod
please?
Additionally, can you manually exec
into the pod kubectl exec -n $NS $POD_NAME -c devpod bash
?
from devpod.
Sure, thank you for the reply.
Here is my SSH config:
# DevPod Start k8s.devpod
Host k8s.devpod
ForwardAgent yes
LogLevel error
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
ProxyCommand /opt/homebrew/bin/devpod ssh --stdio --context default --user vscode k8s
User vscode
# DevPod End k8s.devpod
I have tried manually exec
, but no success,
kubectl exec -n devpod devpod-k8s-defaul-d931e -c devpod -- bash
from devpod.
thanks @rafilkmp3
What's the error output of your kubectl
command?
edit: whilst going through issues I realized there are flags missing in the command. Try
kubectl exec -it -n devpod devpod-k8s-defaul-d931e -c devpod -- bash
from devpod.
Hello @pascalbreuninger, sorry for the delayed reply, I've been debugging it recently and I was able to figure out the broken pipe issue.
However, I'm now stuck at something else, i can get my devpod up using my EKS with no problems whatsoever, but when adding a new "features" field, i get errors pointing at a failure finding the /tmp directory.
Here is my .devcontainer.json
{ "name": "DevPod Demo", "image": "ubuntu", "features": { // "ghcr.io/devcontainers/features/terraform:1": {} } }
and here are the debug logs:
11:13:31 info Use Kubernetes Namespace 'devpod' 11:13:31 info Use Kubernetes Config '/Users/rafael.sathler/.kube/config' 11:13:31 info Use Kubernetes Context 'arn:aws:eks:us-east-2:REDACTED' 11:13:31 info Run command: kubectl --namespace devpod --kubeconfig /Users/rafael.sathler/.kube/config --context arn:aws:eks:us-east-2:REDACTED' exec -c devpod -i devpod-k8s-defaul-b1630 -- sh -c '/usr/local/bin/devpod' helper ssh-server --stdio --debug 11:13:34 debug SSH client created 11:13:34 debug SSH session created 11:13:35 info Exit error: start agent: stat /tmp: no such file or directory 11:13:35 info start agent: stat /tmp: no such file or directory 11:13:35 debug Connection to SSH Server closed 11:13:35 debug Done setting up container 11:13:35 info Process exited with status 1 11:13:35 info run agent command 11:13:35 info github.com/loft-sh/devpod/pkg/devcontainer/sshtunnel.ExecuteCommand.func2 11:13:35 info /Users/runner/work/devpod/devpod/pkg/devcontainer/sshtunnel/sshtunnel.go:111 11:13:35 info runtime.goexit 11:13:35 info /Users/runner/hostedtoolcache/go/1.20.5/x64/src/runtime/asm_arm64.s:1172 11:13:35 info devcontainer up 11:13:35 info github.com/loft-sh/devpod/cmd/agent/workspace.(*UpCmd).Run 11:13:35 info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:95 11:13:35 info github.com/loft-sh/devpod/cmd/agent/workspace.NewUpCmd.func1 11:13:35 info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:52 11:13:35 info github.com/spf13/cobra.(*Command).execute 11:13:35 info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:916 11:13:35 info github.com/spf13/cobra.(*Command).ExecuteC 11:13:35 info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1044 11:13:35 info github.com/spf13/cobra.(*Command).Execute 11:13:35 info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:968 11:13:35 info github.com/loft-sh/devpod/cmd.Execute 11:13:35 info /Users/runner/work/devpod/devpod/cmd/root.go:90 11:13:35 info main.main 11:13:35 info /Users/runner/work/devpod/devpod/main.go:8 11:13:35 info runtime.main 11:13:35 info /Users/runner/hostedtoolcache/go/1.20.5/x64/src/runtime/proc.go:250 11:13:35 info runtime.goexit 11:13:35 info /Users/runner/hostedtoolcache/go/1.20.5/x64/src/runtime/asm_arm64.s:1172 11:13:35 debug Connection to SSH Server closed 11:13:35 debug Done creating devcontainer 11:13:35 debug Done executing ssh server helper command 11:13:35 fatal Process exited with status 1 run agent command github.com/loft-sh/devpod/pkg/devcontainer/sshtunnel.ExecuteCommand.func2 /Users/runner/work/devpod/devpod/pkg/devcontainer/sshtunnel/sshtunnel.go:111 runtime.goexit /Users/runner/hostedtoolcache/go/1.20.5/x64/src/runtime/asm_arm64.s:1172
I've tried multiple features but all of them seems to lead to the same error.
I am using a multiarch cluster, maybe could it work using node selector and forcing the usage of AMD64?
from devpod.
Related Issues (20)
- code directory not updating HOT 1
- devcontainer features: support dependencies HOT 1
- Owner of /workspaces is root instead of codespace
- Broken Linux Installation Links
- postCreateCommand doesn't run in the right context? HOT 3
- Could you provide an Accessibility Conformance Report? HOT 1
- Support RustRover IDE HOT 1
- Run Python Application in PyCharm Client via JetBrains Gateway HOT 2
- Vendoring the rust dependencies for offline-building a package for openSUSE HOT 1
- Support native Wayland HOT 2
- The order of versions in "Or download a specific version" does not follow semver HOT 1
- Agent Url Override HOT 5
- Default workspace directory is not mounted in AWS provider HOT 1
- Temporary permissions issues on launch (detected dubious ownership in repository) HOT 2
- Cannot create ssh provider HOT 12
- Cannot forward gpg-agent in DigitalOcean machine HOT 4
- Cannot forward gpg-agent when "docker-in-docker" is enabled in devcontainer HOT 2
- git-remote-https: Undefined symbol: EVP_md2, version OPENSSL_3.0.0 HOT 3
- Docker Credentials Helper Fails after a few hours HOT 6
- Desktop DevPod fails to locate CLI due to incorrect path HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devpod.