Bug 2050224 - [DOC] rook-ceph-rgw-ocs-external-storagecluster-cephobjectstore.openshift-storage.svc needs to be defined at zonegroup for external ODF integration [NEEDINFO]
Summary: [DOC] rook-ceph-rgw-ocs-external-storagecluster-cephobjectstore.openshift-sto...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: documentation
Version: 4.9
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ---
: ODF 4.9.7
Assignee: Agil Antony
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks: 2086706
TreeView+ depends on / blocked
 
Reported: 2022-02-03 13:33 UTC by Mustafa Aydın
Modified: 2023-08-09 16:43 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2086706 (view as bug list)
Environment:
Last Closed: 2023-03-09 12:47:11 UTC
Embargoed:
ebenahar: needinfo? (pbyregow)


Attachments (Terms of Use)

Description Mustafa Aydın 2022-02-03 13:33:50 UTC
Describe the issue:

ODF is sending the S3 requests to the RGWs with the host: rook-ceph-rgw-ocs-external-storagecluster-cephobjectstore.openshift-storage.svc  header, therefore it needs to be defined at the zonegroup configuration [1]. 

Otherwise noobaa SC does not become available, also OBC requests to the RGW SC got stuck in "pending" status  as it get 404 from the RGW:

RGW logs:

20: 192.168.0.239 - rgw-admin-ops-user [03/Feb/2022:13:05:12.519 +0000] "GET /admin/user?format=json&uid=ceph-user-8VU9KuoE HTTP/1.1" 404 217 - "Go-http-client/1.1" - latency=0.001999958s


rook operator logs:


E0203 13:06:14.244893       8 controller.go:205] error syncing 'default/test': error provisioning bucket: Provision: can't create ceph user: no user name provided and unable to generate a unique name: failed to get ceph user "ceph-user-nCP7omop": NoSuchBucket tx00000000000000000001f-0061fbd346-38f1-esenyurt 38f1-esenyurt-cephpaaszg, requeuing


Describe the task you were trying to accomplish:

- Integrate external ODF with RHCS 5.x

Suggestions for improvement:

add a note to the doc to add the hostname into the ZG or if there is default zone then add rgw_dns_name. 

Document URL:

https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.9/html-single/deploying_openshift_data_foundation_in_external_mode/index

Chapter/Section Number and Title:

Product Version:

$ oc get csv
NAME                  DISPLAY                       VERSION   REPLACES              PHASE
mcg-operator.v4.9.2   NooBaa Operator               4.9.2     mcg-operator.v4.9.1   Succeeded
ocs-operator.v4.9.2   OpenShift Container Storage   4.9.2     ocs-operator.v4.9.1   Succeeded
odf-operator.v4.9.2   OpenShift Data Foundation     4.9.2     odf-operator.v4.9.1   Succeeded
[mustafaaydin@maydin Downloads]$
Environment Details:
Lab - ODF 4.9 - RHCS 5.x

Any other versions of this document that also needs this update:

Additional information:

[1] https://access.redhat.com/solutions/3215251

Comment 6 Bipin Kunal 2022-02-09 05:35:33 UTC
@

Comment 9 Elad 2022-02-22 15:49:17 UTC
@par@p

Comment 10 Elad 2022-02-22 15:50:14 UTC
Parikshith, could you please check Bipin's question? https://bugzilla.redhat.com/show_bug.cgi?id=2050224#c4


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