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