Thanks Danny Zaken for mentioning this issue to me. It also appears in Rook. Danny has an upstream fix here in lib-bucket-provisioner: https://github.com/kube-object-storage/lib-bucket-provisioner/pull/220 Once the above fix is merged, Rook must update to the latest lib-bucket-provisioner library code to take the fix.
Danny's lib-bucket-provisioner fix is merged upstream, and there is an upstream Rook PR to update to the latest lib here: https://github.com/rook/rook/pull/9529
Merged to 4.10 codebase here: https://github.com/red-hat-storage/rook/pull/326
Validated the fix with following versions :- OCP :- 4.10.0-0.nightly-2022-01-31-012936 ODF :- [root@localhost odf-410]# oc get csv odf-operator.v4.10.0 -o yaml -n openshift-storage| grep full_version full_version: 4.10.0-122 f:full_version: {} --------------------------------------------------------------------------------------------------------------- Steps performed :- 1. Created an OBC named "analytics-data-sync--bucket". [root@localhost odf-410]# oc get obc --all-namespaces NAMESPACE NAME STORAGE-CLASS PHASE AGE default analytics-data-sync--bucket openshift-storage.noobaa.io Bound 41s 2.The OBC was bounded , and the last char of the name should be truncated but i do-not see that. Screenshot are attached here ;- https://docs.google.com/document/d/13frytUV-6S7O8ZbSxjE2a2h9mr3lRQ5GsvxsdZSVXj8/edit?usp=sharing Please correct me if am wrong . Thanks Mugdha Soni
I believe I misunderstood your initial post. Sorry about that. The name of the ObjectBucketClaim will not be truncated; however, the name of the generated bucket should be. It looks like Danny replied effectively here: https://bugzilla.redhat.com/show_bug.cgi?id=2030839#c10. The test should be the same for Rook as it is for noobaa (just a different storage class).
I think my last comment should have had the info you need, so clearning needinfo. Please always feel free to request again if that's not the case.
This validation looks correct to me. Thanks, @musoni
Based on comment#14 and comment#15 moving the bug to verified state . Thankyou Mugdha Soni
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.10.0 enhancement, security & 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-2022:1372