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

Known issues with .NET Core and a workaround #6460

Closed
ghuntley opened this issue Oct 29, 2021 · 2 comments
Closed

Known issues with .NET Core and a workaround #6460

ghuntley opened this issue Oct 29, 2021 · 2 comments
Labels
language: dotnet priority: highest (user impact) Directly user impacting team: workspace Issue belongs to the Workspace team type: bug Something isn't working

Comments

@ghuntley
Copy link
Contributor

ghuntley commented Oct 29, 2021

Overview

.NET compilation on Gitpod.io (not self-hosted) currently fails with the following error:

/home/gitpod/dotnet/sdk/5.0.205/Roslyn/Microsoft.CSharp.Core.targets(71,5): 
error MSB6004: The specified task executable location "/run/containerd/io.containerd.runtime.v2.task/k8s.io/9893fadb493f1802ef41dc3e7138768879832b73c9ee3e60759ad3c544a9d6ab/rootfs/home/gitpod/dotnet/dotnet"
is invalid. [/workspace/template-dotnet-core-cli-csharp/dotnetcore.csproj]

As an old-school .NET developer I understand your pain and apologize. Google GKE released a Linux kernel update that broke /proc/pid/maps with .NET. Our engineers are working towards a path of moving off GKE so that this never happens again (Gitpod will have full control of our infrastructure down to the kernel level) which will resolve and also enable many new/exciting shiny features.

Workaround

Thanks to @woehrl01 there is a workaround at gitpod-samples/template-dotnet-core-cli-csharp@9d01b88

Discussion and Root Cause Issue

Please continue the discussion at the root cause issue at #5090.

@gitpod-io gitpod-io locked and limited conversation to collaborators Oct 29, 2021
@ghuntley ghuntley pinned this issue Oct 29, 2021
@ghuntley ghuntley added type: bug Something isn't working priority: highest (user impact) Directly user impacting labels Oct 29, 2021
@JanKoehnlein
Copy link
Contributor

/team workspace

@roboquat roboquat added the team: workspace Issue belongs to the Workspace team label Nov 1, 2021
@aledbf
Copy link
Member

aledbf commented Nov 30, 2021

Closing. We are now 100% out of GKE. So this is not an issue anymore.
No workaround is needed.

@aledbf aledbf closed this as completed Nov 30, 2021
@ghuntley ghuntley unpinned this issue Dec 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
language: dotnet priority: highest (user impact) Directly user impacting team: workspace Issue belongs to the Workspace team type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants