Bug 1872730 - [RFE][External mode] Re-configure noobaa to use the updated RGW endpoint from the RHCS cluster
Summary: [RFE][External mode] Re-configure noobaa to use the updated RGW endpoint from...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: OCS 4.7.0
Assignee: Nimrod Becker
QA Contact: Sidhant Agrawal
URL:
Whiteboard:
Depends On: 1921864
Blocks: 1938134
TreeView+ depends on / blocked
 
Reported: 2020-08-26 13:59 UTC by Rachael
Modified: 2021-05-19 09:15 UTC (History)
11 users (show)

Fixed In Version: v4.7.0-158.ci
Doc Type: Enhancement
Doc Text:
.Update RGW address in the external mode With this update, you can change the RGW address without affecting the Multicloud Object Gateway's(MCG) work if the MCG is configured with an RGW BackingStore in the external mode.
Clone Of:
Environment:
Last Closed: 2021-05-19 09:15:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github noobaa noobaa-operator pull 448 0 None closed Refactor Ceph default backingstore code against latest rook changes 2021-02-21 20:36:46 UTC
Red Hat Product Errata RHSA-2021:2041 0 None None None 2021-05-19 09:15:58 UTC

Description Rachael 2020-08-26 13:59:23 UTC
Description of problem (please be detailed as possible and provide log
snippets):

For an external mode cluster, if the RGW endpoint changes due to a node replacement operation or an issue with the Load balancer(HA proxy) configured for RGW on the RHCS cluster, this will affect the noobaa operations on the OCS cluster. 

There should be a way, either automatically or through a series of manual steps, to update this change in RGW endpoint in noobaa without having to re-deploy OCS altogether.

Version of all relevant components (if applicable):
OCS version: 4.5.0-526.ci
OCP version: 4.5.0-0.nightly-2020-08-20-051434

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?

Yes, Noobaa services will get affected

Is there any workaround available to the best of your knowledge?
Not that I am aware of

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
4

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1.If the RHCS cluster has only one RGW endpoint configured, use the endpoint to create an OCS cluster in external mode
2. Perform a node replacement operation on the RGW node. This would change the the RGW endpoint
3. Check noobaa status and services

Comment 3 Nimrod Becker 2020-08-26 14:05:42 UTC
RFE, not a blocker for 4.5, moving to 4.6.

Also, why is it not a BZ on rook ? Rook provides the URL of RGW to connect to, if rook changes but MCG does not, its a bug in MCG. If rook does not change as well, that's the first step.

Comment 4 Nimrod Becker 2020-09-01 08:41:50 UTC
I think its a rook BZ as rook provides the URL to connect to.
What do you think ?

Comment 5 Nimrod Becker 2020-09-08 09:01:04 UTC
Adding some info (eng. internal :) )

We would need to enable updated to the external connection which is used by this BS and update the node within the hosted_agents process

Comment 6 Nimrod Becker 2020-09-08 09:02:19 UTC
in any case we are dependent on rook changes (and also ocs-operator due to those changes) that will happen only on 4.7
Moving this to 4.7

Comment 7 Ohad 2020-11-02 11:25:12 UTC
A PR was issued with a fix on the upstream project (see link section)

The changes in linked PR will guarantee that NooBaa will consume FQDN for RGW service which should also solve the address change problem

Comment 22 errata-xmlrpc 2021-05-19 09:15:04 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 (Moderate: Red Hat OpenShift Container Storage 4.7.0 security, bug fix, and enhancement 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/RHSA-2021:2041


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