Bug 2186171 - [GSS] "disableLoadBalancerService: true" config is reconciled after modifying the number of NooBaa endpoints
Summary: [GSS] "disableLoadBalancerService: true" config is reconciled after modifying...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.10
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ODF 4.13.0
Assignee: Liran Mauda
QA Contact: Tiffany Nguyen
URL:
Whiteboard:
Depends On:
Blocks: 2154341
TreeView+ depends on / blocked
 
Reported: 2023-04-12 10:00 UTC by hhuan
Modified: 2023-08-09 16:49 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, any change to the `disableLoadBalancerService` field for Multicloud Object Gateway (MCG) was overridden due to the OpenShift Data Foundation operator reconciliation. With this fix, reconcile of `disableLoadBalancerService` field is ignored in OpenShift Data Foundation operator and, as a result, any value set for this field in NooBaa CR is retained and not overridden.
Clone Of:
Environment:
Last Closed: 2023-06-21 15:25:03 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-ci pull 7979 0 None Merged Test KCS: Disabling Multicloud Object Gateway external service and make sure disableLoadBalancerService isn't reconciled 2023-07-14 10:20:06 UTC
Github red-hat-storage ocs-operator pull 1889 0 None Merged Adding DisableLoadBalancerService to MultiCloudGateway 2023-04-27 08:58:21 UTC
Red Hat Product Errata RHBA-2023:3742 0 None None None 2023-06-21 15:25:18 UTC

Comment 10 Tiffany Nguyen 2023-05-09 06:03:37 UTC
On ODF 4.13 (build 4.13.0-179), when disableLoadBalancerService: true, there are no services for s3 and sts as below:
$ oc get service -n openshift-storage
NAME                                               TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                            AGE
csi-addons-controller-manager-metrics-service      ClusterIP   172.30.88.84     <none>        8443/TCP                           6d9h
csi-addons-controller-manager-service              ClusterIP   172.30.46.33     <none>        443/TCP                            4d11h
csi-addons-webhook-service                         ClusterIP   172.30.132.195   <none>        443/TCP                            6d9h
noobaa-db-pg                                       ClusterIP   172.30.11.7      <none>        5432/TCP                           6d9h
noobaa-mgmt                                        ClusterIP   172.30.106.176   <none>        80/TCP,443/TCP,8445/TCP,8446/TCP   6d9h
noobaa-operator-service                            ClusterIP   172.30.207.50    <none>        443/TCP                            5h5m
ocs-metrics-exporter                               ClusterIP   172.30.186.70    <none>        8080/TCP,8081/TCP                  6d9h
odf-console-service                                ClusterIP   172.30.91.131    <none>        9001/TCP                           6d9h
odf-operator-controller-manager-metrics-service    ClusterIP   172.30.89.91     <none>        8443/TCP                           6d9h
rook-ceph-exporter                                 ClusterIP   172.30.208.52    <none>        9926/TCP                           6d9h
rook-ceph-mgr                                      ClusterIP   172.30.73.212    <none>        9283/TCP                           6d9h
rook-ceph-mon-a                                    ClusterIP   172.30.201.16    <none>        3300/TCP                           6d9h
rook-ceph-mon-b                                    ClusterIP   172.30.9.250     <none>        3300/TCP                           6d9h
rook-ceph-mon-c                                    ClusterIP   172.30.164.120   <none>        3300/TCP                           6d9h
rook-ceph-rgw-ocs-storagecluster-cephobjectstore   ClusterIP   172.30.61.118    <none>        80/TCP,443/TCP                     6d9h
s3                                                 ClusterIP   172.30.140.22    <none>        80/TCP,443/TCP,8444/TCP,7004/TCP   6d9h
sts                                                ClusterIP   172.30.58.213    <none>        443/TCP                            6d9h


When disableLoadBalancerService: false, the services are in pending state:
$ oc get service -n openshift-storage
NAME                                               TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)                                                    AGE
csi-addons-controller-manager-metrics-service      ClusterIP      172.30.88.84     <none>        8443/TCP                                                   6d9h
csi-addons-controller-manager-service              ClusterIP      172.30.46.33     <none>        443/TCP                                                    4d11h
csi-addons-webhook-service                         ClusterIP      172.30.132.195   <none>        443/TCP                                                    6d9h
noobaa-db-pg                                       ClusterIP      172.30.11.7      <none>        5432/TCP                                                   6d9h
noobaa-mgmt                                        ClusterIP      172.30.106.176   <none>        80/TCP,443/TCP,8445/TCP,8446/TCP                           6d9h
noobaa-operator-service                            ClusterIP      172.30.207.50    <none>        443/TCP                                                    5h9m
ocs-metrics-exporter                               ClusterIP      172.30.186.70    <none>        8080/TCP,8081/TCP                                          6d9h
odf-console-service                                ClusterIP      172.30.91.131    <none>        9001/TCP                                                   6d9h
odf-operator-controller-manager-metrics-service    ClusterIP      172.30.89.91     <none>        8443/TCP                                                   6d9h
rook-ceph-exporter                                 ClusterIP      172.30.208.52    <none>        9926/TCP                                                   6d9h
rook-ceph-mgr                                      ClusterIP      172.30.73.212    <none>        9283/TCP                                                   6d9h
rook-ceph-mon-a                                    ClusterIP      172.30.201.16    <none>        3300/TCP                                                   6d9h
rook-ceph-mon-b                                    ClusterIP      172.30.9.250     <none>        3300/TCP                                                   6d9h
rook-ceph-mon-c                                    ClusterIP      172.30.164.120   <none>        3300/TCP                                                   6d9h
rook-ceph-rgw-ocs-storagecluster-cephobjectstore   ClusterIP      172.30.61.118    <none>        80/TCP,443/TCP                                             6d9h
s3                                                 LoadBalancer   172.30.140.22    <pending>     80:30484/TCP,443:30951/TCP,8444:30774/TCP,7004:31243/TCP   6d9h
sts                                                LoadBalancer   172.30.58.213    <pending>     443:31011/TCP                                              6d9h

Comment 16 errata-xmlrpc 2023-06-21 15:25:03 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.