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

[CSI] Change volume ownership only if root directory permissions mismatch #2931

Open
antonmyagkov opened this issue Jan 27, 2025 · 0 comments
Assignees

Comments

@antonmyagkov
Copy link
Collaborator

NodeStageVolume call can hang on large filesystem if mount_volume_group parameter is passed.

In this case csi driver calls recursive chown: nbs/cloud/blockstore/tools/csi_driver/internal/driver/node.go at main · ydb-platform/nbs which can take more than two minutes. As a result MountDevice fails with timeout error:
MountVolume.MountDevice failed for volume "pvc-9ab7a078-2060-4f4e-bd55-d4b3194d99a9" : rpc error: code = DeadlineExceeded desc = context deadline exceeded

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

1 participant