Bug 2030839
Summary: | Concecutive dashes in OBC name | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | swilson | |
Component: | Multi-Cloud Object Gateway | Assignee: | Danny <dzaken> | |
Status: | CLOSED ERRATA | QA Contact: | Mugdha Soni <musoni> | |
Severity: | low | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.7 | CC: | dzaken, etamir, kramdoss, mmuench, muagarwa, nbecker, nberry, ocs-bugs, odf-bz-bot, rcyriac | |
Target Milestone: | --- | |||
Target Release: | ODF 4.10.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | 4.10.0-79 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2037497 (view as bug list) | Environment: | ||
Last Closed: | 2022-04-13 18:50:40 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2037497 |
Description
swilson
2021-12-09 20:39:55 UTC
Update: Cannot provision bucket with name analytics-data-sync--bucket. Can provision OBC named analytics-data-sync--bucket2 This is a bug in lib-bucket-provisioner. it is not related to consecutive dashes. when the prefix length is exactly 27, the prefix is not truncated. as a result, when adding a UUID, the generated bucket name is invalid. I issued a fix here https://github.com/kube-object-storage/lib-bucket-provisioner/pull/220. once it is merged I will update the dependency in noobaa-operator Hi Danny Below i have mentioned the steps to validate the fix . Please correct me if am wrong or if am missing any point. 1. Create an OBC named "analytics-data-sync--bucket", or any other 27-char long str . 2. The OBC should bind, and the last char of the name should be truncated. Thanks Mugdha Soni Hi Mugdha, 1 is correct. regarding 2, it's not the OBC name that should be truncated, but the prefix of the name of the underlying bucket in noobaa that is truncated. this prefix is based on the OBC name, and AFAIR can be found in the ob spec (not OBC but the ObjectBucket corresponding with the OBC). Thanks, Danny Thanks Danny . Will share the inputs by tomorrow EOD . Hi After discussion with the assignee and comment#15 moving this bug to verified state . Thanks 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 |