gitpod-io / gitpod-io/gitpod

openfdat complain `permission denied` when restore a content from prebuild

Open
#10,569 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

component: content-service meta: never-stale team: workspace type: bug
Dominant language
TypeScript
Stars
13.8k
Forks
1.4k
Avg merge
17h 58m
Merged PRs (30d)
5

Description

Bug description

The following error sometimes occurs

cannot initialize workspace: cannot initialize workspace: prebuild initializer: prebuild initializer: openfdat /dst/.docker-root/overlay2/00cec6caf3ff6b85d1d2b27a1413d34466138b3bb3e48202fcd1fdd63dc384f6-init/work/work: permission denied

logs: https://cloudlogging.app.goo.gl/MdRxxSmkQ17f8f6f7
Potentially related issue: https://github.com/gitpod-io/gitpod/issues/10108

Steps to reproduce

I'm not sure

Workspace affected

n/a

Expected behavior

Prebuild and the content restore works fine

Example repository

No response

Anything else?

No response

Front logo Front conversations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the prebuild initializer and the openfdat content-restore step described in the error, then review the linked issue 10108 and the provided logs. There is no reproduction case or named file in the report. Done means identifying and fixing the intermittent permission-denied failure so prebuild content restoration completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.