Bug 2179846 - [IBM Z] In RHCS external mode Cephobjectstore creation fails as it reports that the "object store name cannot be longer than 38 characters"
Summary: [IBM Z] In RHCS external mode Cephobjectstore creation fails as it reports th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: rook
Version: 4.13
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.13.0
Assignee: Parth Arora
QA Contact: Sravika
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-20 08:57 UTC by Sravika
Modified: 2023-08-09 17:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-21 15:24:39 UTC
Embargoed:


Attachments (Terms of Use)
ocs-external-storagecluster-storagesystem (148.75 KB, image/png)
2023-03-20 08:57 UTC, Sravika
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage rook pull 457 0 None Merged Resync from upstream release-1.11 to downstream release-1.13 2023-03-20 14:59:45 UTC
Github rook rook pull 11913 0 None Merged rgw: don't validate objectstore lenght when cluster is external (backport #11911) 2023-03-20 09:11:13 UTC
Red Hat Product Errata RHBA-2023:3742 0 None None None 2023-06-21 15:25:57 UTC

Description Sravika 2023-03-20 08:57:19 UTC
Created attachment 1951948 [details]
ocs-external-storagecluster-storagesystem

Description of problem (please be detailed as possible and provide log
snippests):
Storage system is in Degraded state as Cephobjectstore in RHCS external mode 
reports that the "object store name cannot be longer than 38 characters"

Version of all relevant components (if applicable):
4.13.0-96, 4.13.0-98

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)?


Can this issue reproducible?
yes

Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Deploy ODF 4.13.0-96, 4.13.0-98
2.
3.


Actual results:

2023-03-14 16:06:27.885759 E | ceph-object-controller: failed to reconcile CephObjectStore "openshift-storage/ocs-external-storagecluster-cephobjectstore". invalid object store "ocs-external-storagecluster-cephobjectstore" arguments: object store name cannot be longer than 38 characters

#  oc -n openshift-storage get cephobjectstores.ceph.rook.io
NAME                                          PHASE
ocs-external-storagecluster-cephobjectstore   Progressing

Expected results:
Cephobjectstore creation should be successful and the Storage cluster should not be in degraded state 

Additional info:

Comment 2 Harish NV Rao 2023-03-20 09:03:22 UTC
Nitin and Parth,

This BZ is impacting the MDR Testing in 4.13.0. Request you to provide the fix soon.

Harish

Comment 3 Parth Arora 2023-03-20 09:11:13 UTC
We already have a fix upstream, https://github.com/rook/rook/pull/11913
Will sync it downstream soon.
Thanks

Comment 4 Mudit Agarwal 2023-03-20 14:17:31 UTC
Parth, can we backport this today?

Comment 5 Parth Arora 2023-03-20 14:21:52 UTC
Yup open a sync PR https://github.com/red-hat-storage/rook/pull/457.

Comment 6 Mudit Agarwal 2023-03-21 11:40:38 UTC
4.13.0-108 contains the fix

Comment 10 Sravika 2023-05-25 08:36:29 UTC
This issue is fixed in that latest releases and it can be closed

Comment 14 errata-xmlrpc 2023-06-21 15:24:39 UTC
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 (Red Hat OpenShift Data Foundation 4.13.0 enhancement and 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/RHBA-2023:3742


Note You need to log in before you can comment on or make changes to this bug.