Bug 2050224

Summary: [DOC] rook-ceph-rgw-ocs-external-storagecluster-cephobjectstore.openshift-storage.svc needs to be defined at zonegroup for external ODF integration
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Mustafa Aydın <maydin>
Component: documentationAssignee: Agil Antony <agantony>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.9CC: agantony, asriram, assingh, bkunal, ebenahar, jthottan, mmuench, nberry, ocs-bugs, odf-bz-bot, pbyregow, rcyriac
Target Milestone: ---Keywords: NoDocsQEReview
Target Release: ODF 4.9.7Flags: ebenahar: needinfo? (pbyregow)
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2086706 (view as bug list) Environment:
Last Closed: 2023-03-09 12:47:11 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: 2086706    

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