Bug 2144532 - Alert 'ClusterObjectStoreState' is not triggered when RGW interface is unavailable
Summary: Alert 'ClusterObjectStoreState' is not triggered when RGW interface is unavai...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ceph-monitoring
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.12.0
Assignee: Juan Miguel Olmo
QA Contact: Mahesh Shetty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-21 15:21 UTC by Filip Balák
Modified: 2023-12-08 04:31 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-08 14:06:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1948378 0 unspecified CLOSED Alert 'ClusterObjectStoreState' is not triggered when RGW interface is unavailable 2022-11-21 15:21:21 UTC

Description Filip Balák 2022-11-21 15:21:21 UTC
Description of problem (please be detailed as possible and provide log
snippests):
During the ocs-ci tier4a tests, the following test fails as the "ClusterObjectStoreState" alerts are not generated when the RGW interface is unavailable.

"tests/manage/monitoring/prometheus/test_rgw.py::test_rgw_unavailable "

Version of all relevant components (if applicable):
OCP 4.8
OCS 4.8.16-1

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

The tier4a test execution results in failures

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

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?
?

Can this issue reproduce from the UI?
Yes

If this is a regression, please provide more details to justify this:
This was already fixed in https://bugzilla.redhat.com/show_bug.cgi?id=1948378

Steps to Reproduce:
1. Install ODF 4.8.16-1 
2. Perform downscaling of deployment rook-ceph-rgw-ocs-storagecluster-cephobjectstore-a 

oc -n openshift-storage scale --replicas=0 deployment/rook-ceph-rgw-ocs-storagecluster-cephobjectstore-a

3. Check for the alertname "ClusterObjectStoreState" that should be generated when the rgw interface is unavailable

Actual results:
No alert generated 

Expected results:
Alert should be generated when RGW interface is unavailable

Additional info:
Polarion link: https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/270/5882/239312/239332/239333/log?item0Params=filter.eq.hasStats%3Dtrue%26filter.eq.hasChildren%3Dfalse%26filter.in.issueType%3Dti001%252Cti_1h7tquhpjupuu%252Cti_u7ukrfvrt1yu%252Cti_qxkzvw4t6ipf%252Cti_1h7u8s8jf8tvb
Test logs: http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/j-044vue1cslv33-t4c/j-044vue1cslv33-t4c_20221028T025045/logs/ocs-ci-logs-1666928754/by_outcome/failed/tests/manage/monitoring/prometheus/test_rgw.py/test_rgw_unavailable/logs

Comment 19 Red Hat Bugzilla 2023-12-08 04:31:27 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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