Bug 1986444 - Alert NooBaaNamespaceBucketErrorState is not triggered when namespacestore's target bucket is deleted
Summary: Alert NooBaaNamespaceBucketErrorState is not triggered when namespacestore's ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.9.0
Assignee: Jacky Albo
QA Contact: Filip Balák
URL:
Whiteboard:
Depends On:
Blocks: 1993873
TreeView+ depends on / blocked
 
Reported: 2021-07-27 14:45 UTC by Filip Balák
Modified: 2023-08-09 16:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1993873 (view as bug list)
Environment:
Last Closed: 2021-12-13 17:44:55 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github noobaa noobaa-core pull 6693 0 None Merged fixing issue with calculating ns bucket mode 2021-11-02 11:38:30 UTC
Red Hat Product Errata RHSA-2021:5086 0 None None None 2021-12-13 17:45:18 UTC

Internal Links: 2265109

Description Filip Balák 2021-07-27 14:45:06 UTC
Description of problem (please be detailed as possible and provide log
snippests):
When NamespaceStore's target bucket is deleted and the NamespaceStore is used in a Namespace bucket, the alert NooBaaNamespaceBucketErrorState is not triggered. In this case, alert NooBaaNamespaceResourceErrorState for namespace resource is triggered so user is notified that NamespaceStore is unhealthy but the alert for bucket is missing.

Version of all relevant components (if applicable):
v4.8.0-456.ci

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

Can this issue reproducible?
yes


If this is a regression, please provide more details to justify this:
Alert for bucket was present in OCS 4.7.

Steps to Reproduce:
1. Create a Namespace bucket with one Namespacestore
2. Delete target bucket used by the Namespacestore
3. Check alerts


Actual results:
Alert NooBaaNamespaceBucketErrorState is not present. Alert NooBaaNamespaceResourceErrorState is raised.

Expected results:
If NamespaceStore is unhealthy then bucket that uses the NamespaceStore is unhealthy too and proper alerts are raised.

Additional info:

Comment 8 Filip Balák 2021-08-24 11:37:50 UTC
The alert is triggered correctly. --> VERIFIED

Tested with:
OCP 4.8.0-0.nightly-2021-08-23-234834
OCS 4.9.0-105.ci

Comment 13 errata-xmlrpc 2021-12-13 17:44:55 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 Data Foundation 4.9.0 enhancement, security, 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/RHSA-2021:5086


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