-
Notifications
You must be signed in to change notification settings - Fork 547
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
cephfs static volume credentials expect userID instead of adminID (mount failed) #4467
Comments
For static PVC the userID and userKey are expected values in secret. if they are not present it fails. |
Thank you. |
james-choncholas
added a commit
to james-choncholas/ceph-csi
that referenced
this issue
Aug 25, 2024
According to ceph#4467 the cephfs static provisioner expect userID and userKey in the credential secret. Add these values to the helm chart so that they are only included in the templated yaml if the values are non-empty.
james-choncholas
added a commit
to james-choncholas/ceph-csi
that referenced
this issue
Aug 25, 2024
According to ceph#4467 the cephfs static provisioner expect userID and userKey in the credential secret. Add these values to the helm chart so that they are only included in the templated yaml if the values are non-empty. Signed-off-by: James Choncholas <james@choncholas.com>
6 tasks
james-choncholas
added a commit
to james-choncholas/ceph-csi
that referenced
this issue
Aug 25, 2024
According to ceph#4467 the cephfs static provisioner expect userID and userKey in the credential secret. Add these values to the helm chart so that they are only included in the templated yaml if the values are non-empty. Signed-off-by: james-choncholas <jim@choncholas.com>
james-choncholas
added a commit
to james-choncholas/ceph-csi
that referenced
this issue
Aug 26, 2024
According to ceph#4467 the cephfs static provisioner expect userID and userKey in the credential secret. Add these values to the helm chart so that they are only included in the templated yaml if the values are non-empty. Signed-off-by: james-choncholas <jim@choncholas.com>
Madhu-1
pushed a commit
to james-choncholas/ceph-csi
that referenced
this issue
Aug 28, 2024
According to ceph#4467 the cephfs static provisioner expect userID and userKey in the credential secret. Add these values to the helm chart so that they are only included in the templated yaml if the values are non-empty. Signed-off-by: james-choncholas <jim@choncholas.com>
mergify bot
pushed a commit
that referenced
this issue
Aug 28, 2024
According to #4467 the cephfs static provisioner expect userID and userKey in the credential secret. Add these values to the helm chart so that they are only included in the templated yaml if the values are non-empty. Signed-off-by: james-choncholas <jim@choncholas.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When creating a static volume with PV/PVC for cephfs it fails with error: "failed to get user credentials from node stage secrets: missing ID field 'userID' in secrets".
But: according to helm chart we creating the secret for cephfs-csi using adminID and adminKey credentials: * https://github.com/ceph/ceph-csi/blob/devel/charts/ceph-csi-cephfs/values.yaml#L327
When I change nodeStageSecretRef.name to csi-rbd-secret and nodeStageSecretRef.namespace to ceph-csi-rbd (where my secrets for ceph-csi-rbd are placed) - then everything works fine.
A clear and concise description of what the bug is.
Environment details
fuse
orkernel
. for rbd itskrbd
orrbd-nbd
) : kernelSteps to reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: