-
Notifications
You must be signed in to change notification settings - Fork 550
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
Clarify the Need for Admin Credentials in Ceph CSI CephFS #4962
Comments
adminID and adminKey are they the names it need not to be the admin user. i have opened #4935 to remove it and use userId and userKey . https://github.com/ceph/ceph-csi/blob/devel/docs/capabilities.md are the required caps for cephfs. |
Thanks for your comment 🙏🏻We created the account according to the instructions in this document, but we are getting the following error:
Ceph Version Nautilus + 1.26 K8s + 3.11.0 Ceph CSI |
@emreberber have you specified right filesystem and csi group name as per https://github.com/ceph/ceph-csi/blob/devel/docs/capabilities.md#create-user-for-cephfs, can you please paste the |
StorageClass
|
The issue was caused by the metadata of CephFS. We identified and resolved it as follows. I'll document the commands here in case the problem recurs for someone else.
Thank you for your assistance with this! @Madhu-1 |
The documentation states that admin credentials are required for provisioning new volumes in Ceph CSI CephFS, specifically mentioning the need for:
However, the reason behind needing admin credentials is not explicitly stated. We need clarification on why a normal user cannot perform the same provisioning operations. Specifically, we need to understand:
1. What specific tasks require admin permissions?
Is it related to creating subvolumes or managing metadata in CephFS?
2. What limitations exist for non-admin users?
Are there specific permissions that a normal user lacks which prevent dynamic provisioning?
This clarification will help us understand the security and operational implications of using admin credentials and whether there's a workaround or alternative setup for non-admin users.
Please provide details or examples to illustrate why admin credentials are mandatory.
The text was updated successfully, but these errors were encountered: