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

openfdat complain permission denied when restore a content from prebuild #10569

Open
utam0k opened this issue Jun 10, 2022 · 9 comments
Open
Labels
component: content-service meta: never-stale This issue can never become stale team: workspace Issue belongs to the Workspace team type: bug Something isn't working

Comments

@utam0k
Copy link
Contributor

utam0k commented Jun 10, 2022

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: #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

@utam0k utam0k added the type: bug Something isn't working label Jun 10, 2022
@utam0k utam0k added the team: workspace Issue belongs to the Workspace team label Jun 10, 2022
@utam0k
Copy link
Contributor Author

utam0k commented Jun 10, 2022

@kylos101 kylos101 moved this to Scheduled in 🌌 Workspace Team Jun 13, 2022
@kylos101
Copy link
Contributor

kylos101 commented Jun 13, 2022

@utam0k I've scheduled this as part of groundwork, nice find.

I found this issue today too, for a ws-daemon where the backing node left our cluster, but, some workspace pods were left behind.

Here are related logs, and a suspect log entry. As you can see here, ws-manager and ws-daemon tried to restart this particular overlay file system many times, but failed.

The workspace I found.

@raphaeltm
Copy link

I just want to flag that I'm having this problem as well. It only affects one of our projects, but happens both when we run init tasks, or if we don't run init tasks but run the same commands in a running workspace, then let it shut down and try to re-open it (though I think the error is slightly different in that case). Makes it essentially impossible to work on that project.

@kylos101
Copy link
Contributor

I just want to flag that I'm having this problem as well. It only affects one of our projects, but happens both when we run init tasks, or if we don't run init tasks but run the same commands in a running workspace, then let it shut down and try to re-open it (though I think the error is slightly different in that case). Makes it essentially impossible to work on that project.

hi @raphaeltm 👋 , can you share sample repo where we're able to consistently recreate this problem? 🙏

@raphaeltm
Copy link

Hey @kylos101, I've only seen it with one of our projects and I don't have the time to figure out what in the project is causing the problem to create a sample repo. I'd be down to hop on a call and walk you through it, though, if that's helpful?

@kylos101
Copy link
Contributor

kylos101 commented Oct 5, 2022

Hey @utam0k , I just added this to groundwork as part of the breakdown column. I say this, because I bumped into the issue here.

@kylos101
Copy link
Contributor

kylos101 commented Oct 6, 2022

Removed from team workspace groundwork, this should be fixed by IDE team and this PR, @svenefftinge @akosyakov @loujaybee for awareness. For example, the expectation is that docker-compose down will be run as part of shutdown, before content backup.

@akosyakov
Copy link
Member

@kylos101 the same like here #13496 (comment) There is no guarantee that a user does a right thing, why workspace cannot be restarted when they do wrong thing?

@stale
Copy link

stale bot commented Mar 12, 2023

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.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Mar 12, 2023
@kylos101 kylos101 added the meta: never-stale This issue can never become stale label Mar 30, 2023
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: content-service meta: never-stale This issue can never become stale team: workspace Issue belongs to the Workspace team type: bug Something isn't working
Projects
No open projects
Status: No status
Development

No branches or pull requests

4 participants