Bug 2104148 - route ocs-storagecluster-cephobjectstore misconfigured to use http and https on same http route in haproxy.config
Summary: route ocs-storagecluster-cephobjectstore misconfigured to use http and https ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.13.0
Assignee: Jiffin
QA Contact: Mahesh Shetty
URL:
Whiteboard:
: 2190379 (view as bug list)
Depends On:
Blocks: 2154341
TreeView+ depends on / blocked
 
Reported: 2022-07-05 16:12 UTC by Matthias Muench
Modified: 2023-08-09 17:00 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, http request failures occured as route ended up using the secure port because the port in RGW service for its `openshiftroute` was not defined. With this fix, insecure port for the existing OpenShift for RGW are defined properly and a new route with secure port is created thereby avoiding the http request failures. Now, two routes are available for RGW, the existing route uses the insecure port and the new separate route uses the secure port.
Clone Of:
Environment:
Last Closed: 2023-06-21 15:22:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1922 0 None Merged expose seperate route for secure port in RGW 2023-03-09 07:01:52 UTC
Red Hat Product Errata RHBA-2023:3742 0 None None None 2023-06-21 15:23:07 UTC

Comment 2 Nitin Goyal 2022-07-06 05:24:00 UTC
Moving it to rook

Comment 3 Travis Nielsen 2022-07-06 20:41:25 UTC
There are two routes created for rgw, the first one causes the issues, and the second one should work as expected since it defines the target port of 8080.

# Causes the issues, since no target port is specified it will randomly pick http or https endpoints
ocs-storagecluster-cephobjectstore-openshift-storage.apps.ocp61.dslab.local

# The route with target port of 8080 is expected to work:
ocs-storagecluster-cephobjectstore2-openshift-storage.apps.ocp61.dslab.local

You don't see the issue with the latter route, correct?

The OCS operator creates the routes, so moving back to the OCS Operator component.

Comment 4 Matthias Muench 2022-09-01 09:13:54 UTC
Yes, this is correct. https connection causes the issue, so "ocs-storagecluster-cephobjectstore-openshift-storage.apps.ocp61.dslab.local".

Comment 11 Malay Kumar parida 2023-03-09 07:07:53 UTC
As part of fix for https://bugzilla.redhat.com/show_bug.cgi?id=2139037
separate routes for http and https ports in the rgw service are being created which will also work as a fix for this BZ.

Ref-https://chat.google.com/room/AAAAREGEba8/l6hhxsdBM58

The fix should be available to test on all ODF 4.13 build after 4.13.0-93.

Comment 19 Jiffin 2023-06-15 12:03:28 UTC
*** Bug 2190379 has been marked as a duplicate of this bug. ***

Comment 20 errata-xmlrpc 2023-06-21 15:22:14 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.