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

fix typo in mount setup for initial userns fallback #11333

Conversation

benhurdelhey
Copy link
Contributor

@benhurdelhey benhurdelhey commented Jan 3, 2025

  • this fixes an invalid reference to the goferToHostRPC.OpenMount method in the urpc client, which leads to consistent errors like FATAL ERROR: error setting up FS: opening <dir name>: unknown method. The struct is called goferToHostRPC, not goferRPC
  • this bug is always hit when the current process does not have permissions to access the mount
  • this bug was introduced in this recently merged PR: gofer: open volumes from the initial userns #11128, which added this fallback mechanism

Copy link
Collaborator

@ayushr2 ayushr2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

copybara-service bot pushed a commit that referenced this pull request Jan 3, 2025
- this fixes an invalid reference to the `goferToHostRPC.OpenMount` method in the urpc client, which leads to consistent errors like `FATAL ERROR: error setting up FS: opening <dir name>: unknown method`. The struct is called `goferToHostRPC`, not `goferRPC`
- this bug is always hit when the current process does *not* have permissions to access the mount
- this bug was introduced in this recently merged PR: #11128, which added this fallback mechanism

FUTURE_COPYBARA_INTEGRATE_REVIEW=#11333 from benhurdelhey:ben-hurdelhey_data/fix-mount-setup-initial-userns-fallback ffb7334
PiperOrigin-RevId: 711765562
@benhurdelhey
Copy link
Contributor Author

thanks @ayushr2! Seems like the build pipeline is failing, are these unrelated errors?

@ayushr2
Copy link
Collaborator

ayushr2 commented Jan 4, 2025

Yeah seems unrelated, we will attempt submit again.

@benhurdelhey
Copy link
Contributor Author

benhurdelhey commented Jan 7, 2025

@ayushr2 seems like it's still not merged, could you take another look?

copybara-service bot pushed a commit that referenced this pull request Jan 7, 2025
- this fixes an invalid reference to the `goferToHostRPC.OpenMount` method in the urpc client, which leads to consistent errors like `FATAL ERROR: error setting up FS: opening <dir name>: unknown method`. The struct is called `goferToHostRPC`, not `goferRPC`
- this bug is always hit when the current process does *not* have permissions to access the mount
- this bug was introduced in this recently merged PR: #11128, which added this fallback mechanism

FUTURE_COPYBARA_INTEGRATE_REVIEW=#11333 from benhurdelhey:ben-hurdelhey_data/fix-mount-setup-initial-userns-fallback ffb7334
PiperOrigin-RevId: 711765562
@xianzhe-databricks
Copy link
Contributor

@ayushr2 shall we trigger copybara for this PR again? Thank you so much!

@xianzhe-databricks
Copy link
Contributor

Contributor

I saw it was just triggered. No need to reply thanks!

@copybara-service copybara-service bot merged commit b94ab73 into google:master Jan 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants