-
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
Unable to manage PVCs with a user different from client.admin #930
Comments
closing this as duplicate of #904 |
Thanks, didn't check the related issue, my fault. Just for future reference (and future comers), it was enough to use the 4 yamls from the specific release, v2.0.1:
and everything worked fine. Thanks again. |
Since there might be problem like [1] with the latest release of the Ceph CSI yamls, this commit makes the release a variable, named k8s_ceph_csi_release so it is possible to override and load a specific branch, like in the case that solves this issue: v2.0.1. [1] ceph/ceph-csi#930
Yes we have this issue only in canary image (master branch) |
Since there might be problem like [1] with the latest release of the Ceph CSI yamls, this commit makes the release a variable, named k8s_ceph_csi_release so it is possible to override and load a specific branch, like in the case that solves this issue: v2.0.1. [1] ceph/ceph-csi#930
Since there might be problem like [1] with the latest release of the Ceph CSI yamls, this commit makes the release a variable, named k8s_ceph_csi_release so it is possible to override and load a specific branch, like in the case that solves this issue: v2.0.1. [1] ceph/ceph-csi#930
Describe the bug
Following with success every step of the official procedure [1] to configure everything, I'm unable to use a user different from client.admin to create PVCs on the configured ceph storage.
[1] https://docs.ceph.com/docs/master/rbd/rbd-kubernetes/
Environment details
[2] 2cc59ca
Steps to reproduce
Steps to reproduce the behavior:
With a 3 node Ceph cluster (nautilus) accessible from the Kubernetes cluster, I've created a pool, initiated and created a user to access it, like described in [1]:
Everything on the Kubernetes side is fine:
The secret is declared as follows:
So I prepare a PVC related to Ceph in this way:
Actual results
If I try to create the PVC it stays in Pending state, and looking at the status I see:
So for some reason there's a permission issue.
Expected behavior
It should've worked fine, making the status of the PVC Bound.
Additional context
This do not happens if I change the secret to rely on the admin key, like:
Replacing the actual secret, result is:
and the PVC status is Bound as expected:
The text was updated successfully, but these errors were encountered: