-
Notifications
You must be signed in to change notification settings - Fork 558
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
OMap generator fails on PVCs created in a RADOS namespace #5140
Comments
This should have fixed in #5099. @iPraveenParihar can you please check if its the same and confirm? |
Yes, you are right @Madhu-1. The reported issue is fixed by #5099 and back ported (#5100) to v3.13. |
Thanks @iPraveenParihar, do you have an ETA on the release? Is there a "latest" tag I can try to deploy the dev version and see if it fixes the problem? I still have an unknown concerning the ceph capabilities which block the creation of the OMap in the pool if you only allow the user to access its RADOS namespace and I'd like to verify that. |
@Rakshith-R, do we know when is the v3.13.1 release?
You can use the
|
Right, I tested the canary version (only on the csi-omap-generator container) and there's no errors visible anymore Switching to debug mode (-v=5): Without the "namespace=test-mirroring" capability restriction:
With the restriction:
I guess that's a win? |
Yes, @SkalaNetworks that correct 👍 . If there is nothing more on this issue, feel free to close the issue 😄 . |
Thanks, I'll wait for the release of the 3.13.1 to deploy the fix properly! |
Describe the bug
When setting up mirroring, one of the requirement is enabling the OMap generator sidecar. This sidecar boots in the provisionner pod and tries to generate the omap of each PVC it detects. If one of these PVCs was to be created in a RADOS namespace within a pool, the OMap generator loops on it with error messages.
The capabilities needed to try to make it work seem also quite broad, cancelling the benefit of RADOS namespaces (rook/rook#15277)
Environment details
fuse
orkernel
. for rbd itskrbd
orrbd-nbd
) : krbd I guess?Steps to reproduce
Steps to reproduce the behavior:
Operator:
Cluster:
8. Restart the provisionner to relaunch the Omap generation
9. Now the logs are different, we managed to pass the operation where our capabilities weren't sufficient, but now it fails to list the RBD image, as if it was trying to search for it in the POOL and not in the NAMESPACE in that pool
Actual results
OMap isn't generated for the PVC, this will probably render mirroring impossible.
Expected behavior
We can create OMaps for volumes inside a RADOS namespace (and hopefully with capabilities for that namespace only)
Additional context
Full GitOps setup on Talos + Rook
The text was updated successfully, but these errors were encountered: