-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
If I enable Feature Preview the Workload shows "MountVolume.SetUp failed for volume "dev-net-tun" : hostPath type check failed: /dev/net/tun is not a file" #2994
Comments
Indeed we just assume that file/device is present and available for pods to consume. Once #2657 is sorted, we can test/ensure that the supported environments have this file present. Alternatively, we could let workspaces |
What can i do? |
One vote for me too! Same issue. Centos 7, 5.10 kernel, version 0.6.0 of gitpod self-hosted. |
Perhaps the problem is not about /dev/net/tun and more about why is something looking for it? Its looking for it in the base packages too. Maybe something in the gitpod layer itself? |
Just an additional comment. I checked around to look for solutions and cannot find anything that will fit. This will need to be managed in the solution to set the proper permissions to allow it I believe. |
+1 |
Just for testing, I deleted the character device and created a simple file /dev/net/tun. Seems that the file can be mounted now, but the subsequent pulling doesn't work
|
That is a device utilized by docker itself. It's most likely caused by how docker itself is invoked. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello!
Despite any attempts to work around it - I am fraught with issues including failure in docker pull:
What's also interesting is that the above logs reference an incorrect configuration of the registry endpoint:
This of course only happens when I enable feature preview in the portal. However once disabling the feature preview, I end up having to delete/install the helm chart to get systems working again because all the workspaces error with "ws-daemon not running" (which it is) I hope this helps, I'm desperate to get docker-in-docker support running as it's a core part of most of my dev lifecycle :) Anyways, love your work, also if someone could respond to my email for a enterprise license that'd be great 👍 Thanks, |
It should also be noted that the only real way around this would be to change the line https://github.com/gitpod-io/gitpod/blob/main/components/ws-manager/pkg/manager/create.go#L336 to point to a reference of
|
@rsliotta @lucky4ever2 Currently we have a hard dependecy on Ubuntu 18.04 for workspace nodes (platform support matrix). @inventionlabsSydney @mehtazubin @z3ky Your mediaType issue seems unrelated. I'm closing this for now as we do not plan to support other platforms besides those mentioned in the linked page. If you still want to share progress/ask for help https://community.gitpod.io is a good place to share those. Please note there is a recent v0.8.0, and we're currently working on v0.9.0. |
Hey @geropl! ✋ The platform support matrix states Great or Equal too Ubuntu 18.04 on K3s which is why I decided on Ubuntu 20.04. I can understand your hesitation to support others however if I was able to provide the required changes and test against 20.04 would this be acceptable? Thanks, |
+1 for this |
Describe the bug
I have a Rancher Cluster with RKE.
If I enable Feature Preview the Workload-pod in Rancher shows "MountVolume.SetUp failed for volume "dev-net-tun" : hostPath type check failed: /dev/net/tun is not a file."
The file exists on the node but I think the workspace cannot access it.
I had a similar problem with theia but was able to solve it with the rancher-cluster.yml as follows:
in this case that doesn't work
Steps to reproduce
Enable Feature Preview in the Gui
Expected behavior
I can use the root access: https://www.gitpod.io/docs/feature-preview/
Additional information
Rancher 2.5.5
RKE 1.2.4
Kubernetes 1.19.6
Gitpod-Selfhost 0.6.0
The text was updated successfully, but these errors were encountered: