-
Notifications
You must be signed in to change notification settings - Fork 545
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
Can't pass any map options to rbd map #291
Comments
@nefelim4ag currently we don't support passing extra options to rbd commands. @rootfs @gman0 @ShyamsundarR do we need to consider this use case? |
yes, csi mount option supported in kubernetes kubernetes/kubernetes#67898 |
The options mentioned (osd_request_timeout, queue_depth) seem to be rbd options that have to be passed to the The code that you link to also points to Now, when I trace the mount options from the StorageClass to the in tree attacher for rbd (i.e what exists outside the scope of CSI till now), I see that these mount options are passed to the FS mounter rather than the rbd map command. Thus, I do not understand if your request is to support RBD map options, or that these were supported in the past and we need to continue supporting them in the future. As I do not see them as supported in the past. @nefelim4ag Request clarification on the same. Further, from the use-case of mount options, we should rightly be passing this to the FS mounter, and we are in the CSI plugin as well. This cannot be overloaded to add RBD mount options IMO. If the request is that the RBD CSI plugin should support RBD options in addition to existing options, we may need to consider this as a new option to be added to the StorageClass and evaluate the same. |
Correction as noted in issue #292 the mount options are not currently passed to the FS mounter. @nefelim4ag based on the other issue filed, I assume that this request is for rbd map options, that is separate from the mount options? |
@ShyamsundarR, yep |
This has to be considered. With different map options coming along ( readonly, noudev..etc), we should make it configurable and at times pass these options for dynamic mapping of RBD devices at time of NODE mapping. |
BUG 2268158: rebase: update protobuf to 1.33.0
https://github.com/ceph/ceph-csi/blob/csi-v1.0/pkg/rbd/rbd_attach.go#L295-L300
As example we use that options to pass:
osd_request_timeout=300,queue_depth=1024
The text was updated successfully, but these errors were encountered: