Bug 2227607 - After upgrading to 4.14, MCG endpoint minCount and maxCount in ocs-storagecluster are ignored
Summary: After upgrading to 4.14, MCG endpoint minCount and maxCount in ocs-storageclu...
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.14
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.14.0
Assignee: Naveen Paul
QA Contact: Vijay Avuthu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-31 05:06 UTC by Vijay Avuthu
Modified: 2023-08-09 16:49 UTC (History)
3 users (show)

Fixed In Version: 4.14.0-96
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 2118 0 None open Move autoscal into DesiredState method for upgrade 2023-07-31 11:49:00 UTC
Github red-hat-storage ocs-operator pull 2119 0 None open Bug 2227607:[release-4.14] Move autoscale into DesiredState method for upgrade 2023-08-01 09:36:44 UTC

Description Vijay Avuthu 2023-07-31 05:06:20 UTC
Description of problem (please be detailed as possible and provide log
snippests):

After upgrading cluster from v4.13.1 to 4.14.0-90, MCG endpoint minCount and maxCount in ocs-storagecluster are ignored


Version of all relevant components (if applicable):
ODF cluster upgraded from v4.13.1 to 4.14.0-90


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

Is there any workaround available to the best of your knowledge?
No

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

Can this issue reproducible?
2/2

Can this issue reproduce from the UI?
Not tried

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

Steps to Reproduce:
1. install ODF 4.13.1 using ocs-ci
2. upgrade cluster to 4.14.0-90
3. run acceptance suite ( tests/manage/mcg/test_bucket_creation.py::TestBucketCreation::test_bucket_creation[3-S3-DEFAULT-BACKINGSTORE] )


Actual results:

2023-07-29 13:44:30  08:14:30 - MainThread - tests.conftest - INFO  - Changing minimum Noobaa endpoints to 2
2023-07-29 13:44:30  08:14:30 - MainThread - ocs_ci.ocs.ocp - INFO  - Command: patch storagecluster ocs-storagecluster -n openshift-storage -p '{"spec":{"multiCloudGateway":{"endpoints":{"minCount":2}}}}' --type merge
2023-07-29 13:44:30  08:14:30 - MainThread - ocs_ci.utility.utils - INFO  - Executing command: oc -n openshift-storage patch storagecluster ocs-storagecluster -n openshift-storage -p '{"spec":{"multiCloudGateway":{"endpoints":{"minCount":2}}}}' --type merge
2023-07-29 13:44:30  08:14:30 - MainThread - tests.conftest - INFO  - Changing maximum Noobaa endpoints to 2
2023-07-29 13:44:30  08:14:30 - MainThread - ocs_ci.ocs.ocp - INFO  - Command: patch storagecluster ocs-storagecluster -n openshift-storage -p '{"spec":{"multiCloudGateway":{"endpoints":{"maxCount":2}}}}' --type merge
2023-07-29 13:44:30  08:14:30 - MainThread - ocs_ci.utility.utils - INFO  - Executing command: oc -n openshift-storage patch storagecluster ocs-storagecluster -n openshift-storage -p '{"spec":{"multiCloudGateway":{"endpoints":{"maxCount":2}}}}' --type merge


$ oc get Pod  -n openshift-storage --selector=noobaa-s3=noobaa
NAME                              READY   STATUS    RESTARTS   AGE
noobaa-endpoint-d77965955-b55ww   1/1     Running   0          45h



Expected results:

expecting 2 endpoints


Additional info:

$ oc get storagecluster ocs-storagecluster -o yaml | grep multi -A3
  multiCloudGateway:
    endpoints:
      maxCount: 2
      minCount: 2


$ oc get Pod  -n openshift-storage --selector=noobaa-s3=noobaa
NAME                              READY   STATUS    RESTARTS   AGE
noobaa-endpoint-d77965955-b55ww   1/1     Running   0          45h

job link: https://url.corp.redhat.com/2f96e21
must gather: https://url.corp.redhat.com/d81201c


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