Description of problem (please be detailed as possible and provide log snippests): Version of all relevant components (if applicable): Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? Is there any workaround available to the best of your knowledge? Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 1 Can this issue reproducible? Yes Can this issue reproduce from the UI? If this is a regression, please provide more details to justify this: Yes, ReclaimSpace and KeyRotation annotations on StorageClass were added in 4.17. Steps to Reproduce: 1. Create a PVC and add ReclaimSpace annotation 2. Add KeyRotation annotation 3. See that KeyRotationCronJob is not created Actual results: KeyRotationCronJob is not created, when ReclaimSpace annotation is present on a PVC. Expected results: KeyRotationCronJob should be created irrespective of ReclaimSpace annotation present or not on a PVC. Additional info: Fix: https://github.com/csi-addons/kubernetes-csi-addons/pull/641 Verification Steps: 1. Create a RBD StorageClass. 2. Add reclaimspace.csiaddons.openshift.io/schedule=@weekly annotation to created StorageClass. 3. Create a PVC from it, verify that the above annotation is added to the PVC as well and ReclaimSpaceCronJob is created for the PVC. 4. Now, add the keyrotation.csiaddons.openshift.io/schedule=@weekly to the same StorageClass. 5. Verify that the above KeyRotation annotation is added to its PVC and KeyRotationCronJob is created for the PVC.
Please update the RDT flag/text appropriately.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Red Hat OpenShift Data Foundation 4.17.0 Security, Enhancement, & Bug Fix Update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2024:8676