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

[question] bb_worker can't find /bin/fusermount #152

Open
havasd opened this issue Oct 10, 2024 · 2 comments
Open

[question] bb_worker can't find /bin/fusermount #152

havasd opened this issue Oct 10, 2024 · 2 comments

Comments

@havasd
Copy link

havasd commented Oct 10, 2024

We are trying to setup the fuse based worker in our BB deployment in AWS EKS.

But upon startup we receive the following error:
Fatal error: rpc error: code = Unknown desc = Failed to expose build directory mount: Failed to create FUSE server: exec: \"/bin/fusermount\": stat /bin/fusermount: no such file or directory

I am not sure what is the expectation about fusermount? Are we suppossed to install it on the parent container? Or should it be actually part of the bb_worker image? Do we some more detailed documentation about the expectations around the infrastructure for the fuse based deployment?

@EdSchouten
Copy link
Member

Are you making sure you enable directMount: true in your FUSE mount options?

@sfc-gh-guwang
Copy link
Contributor

I believe you ran into the same issue as me. The real issue is not with fusermount but the actual error was swallowed by go-fuse, because when there is issue with direct mount, it falls back to fusermount.

The real issue for me is that my container was not running as root.

If you migrated to latest version of BuildBarn with this change(#156), you should be able to see the real error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants