Bug 2125121
| Summary: | [Metro-DR] when DRpolicy created, s3profile secerets are not getting created for managed clusters | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Amarnath <amk> |
| Component: | odf-dr | Assignee: | Benamar Mekhissi <bmekhiss> |
| odf-dr sub component: | unclassified | QA Contact: | krishnaram Karthick <kramdoss> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | bmekhiss, madam, muagarwa, ocs-bugs, odf-bz-bot, rgowdege, srangana |
| Version: | 4.11 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-29 13:33:53 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: | |||
|
Description
Amarnath
2022-09-08 04:38:19 UTC
*** Bug 2125120 has been marked as a duplicate of this bug. *** The DRCluster is failing to validate access to the s3Store due to a "certificate signed by an unknown authority" error.
```
Reconciler error {"reconciler group": "ramendr.openshift.io", "reconciler kind": "DRCluster", "name": "ocp-mr-2308-1", "namespace": "", "error": "drclusters s3Profile validate: s3profile-ocp-mr-2308-1-ocs-external-storagecluster: failed to list objects in bucket odrbucket-040c8ac66894:/ocp-mr-2308-1, RequestError: send request failed\ncaused by: Get \"https://s3-openshift-storage.apps.ocp-mr-2308-1.ceph-qe.rh-ocs.com/odrbucket-040c8ac66894?list-type=2&prefix=%2Focp-mr-2308-1\": x509: certificate signed by unknown authority"}
```
There was a indentation issue present in cm-clusters-crt.yaml. patch Operation with the YAML was successful even though there is an extra line in yaml Drpolicy validation status was in validated state even though there is a mismatch in certificate addition between the primary secondary and hub clusters. Can we have a validation step to validate the s3 certificate addition step? Regards, Amarnath Since this is not a ramen issue and a configuration in creating ssl certs, validation will not happen in ramen. so we are closing this as not a BZ. |