Unable to create workspace based on mcr.microsoft.com/azure-cli (and UI doesn't surface root cause) #12356
Labels
meta: stale
This issue/PR is stale and will be closed soon
team: workspace
Issue belongs to the Workspace team
type: bug
Something isn't working
Bug description
When creating a workspace based on
mcr.microsoft.com/azure-cli:2.39.0
, the workspace fails with the following error:Logs from workspace indicate the following:
cannot ensure gitpod user exists
stat /etc/sudoers: no such file or directory
From a user's perspective, the only information emitted is the workspace disposal issue:
Workspace disposal failure
An end user attempting to do the same will be stuck with a broken workspace and no obvious means of recourse; surfacing more errors to the user would be very helpful.
Internal slack thread
Steps to reproduce
Create a workspace with a minimal Dockerfile and .gitpod.yml:
.gitpod.Dockerfile
FROM mcr.microsoft.com/azure-cli:2.39.0
.gitpod.yml
Attempting to launch a workspace from this repo will fail.
Workspace affected
adrienthebo-gitpodazure-me8r3rb8eet
Expected behavior
The given workspace should either launch successfully or indicate why the workspace failed to start and that the root issue is the Dockerfile source image.
Example repository
Anything else?
Last observed on the
ws-us63
cluster.Related issues
The text was updated successfully, but these errors were encountered: