Bug 2000972

Summary: [RFE] Sendgrid alerting mails should contain cluster identifier
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Filip Balák <fbalak>
Component: odf-managed-serviceAssignee: Ohad <omitrani>
Status: CLOSED CURRENTRELEASE QA Contact: suchita <sgatfane>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.7CC: aeyal, mhackett, nberry, ocs-bugs, odf-bz-bot, sgatfane
Target Milestone: ---Keywords: FutureFeature, RFE
Target Release: ---Flags: sabose: needinfo? (mhackett)
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-28 06:49:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Sendgrid mail none

Description Filip Balák 2021-09-03 13:00:52 UTC
Created attachment 1820270 [details]
Sendgrid mail

Description of problem:
Mails sent from Sendgrid do not contain any cluster identifier like name or ID and can not be filtered by cluster. This could be an issue for customers/administrators that manage more than one cluster when they try to distinguish what mail is applicable for which cluster.

Mails should contain a clear cluster identifier.

Version-Release number of selected component (if applicable):
OCS 4.7.2
OCP 4.8.5

Comment 2 Sahina Bose 2021-09-14 12:14:16 UTC
@mhackett Can you review the content of email that we send out to customer from the service. It's attached to the bug.

Comment 5 Akshay Khanna 2022-04-19 11:50:55 UTC
@kyl

Comment 6 Akshay Khanna 2022-04-19 11:51:17 UTC
@

Comment 8 suchita 2022-07-15 09:32:48 UTC
Created PVC test and for alert  'Persistent Volume Usage is Nearly Full' and 'Persistent Volume Usage Critical' on Addon Deployer version v2.0.3. 
The Cluster id is observed in recived mail 





------------------ verification/ observation from mails--------------------

Hello!

This notification is for your OpenShift managed cluster running OpenShift Data Foundation.

Persistent Volume Usage is Nearly Full

The utilization of one or more of the PVs in your cluster (65fbe690-9e88-40fd-9c10-2bc1ad8684f7) has exceeded 75%. Please free up some space or expand the PV if possible. Failure to address this issue may lead to service interruptions.

PVC Name: pvc-test-fa8d9302304142edb66ff218e9c6d62
Namespace: openshift-storage

If you have any questions, please contact us. Review the support process for guidance on working with Red Hat support.

Thank you for choosing Red Hat OpenShift Data Foundation,
ODF SRE
-------------------------------------------------------------------------
Hello!

This notification is for your OpenShift managed cluster running OpenShift Data Foundation.

Persistent Volume Usage Critical

The utilization of one or more of the PVs in your cluster (65fbe690-9e88-40fd-9c10-2bc1ad8684f7) has exceeded 85%. Please free up some space immediately or expand the PV if possible. Failure to address this issue may lead to service interruptions.

PVC Name: pvc-test-718e786859d547daa6b096d7b198930
Namespace: openshift-storage
PVC Name: pvc-test-fa8d9302304142edb66ff218e9c6d62
Namespace: openshift-storage
PVC Name: pvc-test-87b2e35a41724b41b09183b2ff15ef9
Namespace: openshift-storage

If you have any questions, please contact us. Review the support process for guidance on working with Red Hat support.

Thank you for choosing Red Hat OpenShift Data Foundation,
ODF SRE

----------------------------------------------------

Comment 9 suchita 2022-07-15 13:01:27 UTC
cluster level alerts are blocked with BZ https://bugzilla.redhat.com/show_bug.cgi?id=2084014.
Hence marking it as verified with verification results from comment 8