Bug 2073297 - [RFE] Sendgrid PVC utilization mails should contain PVC name
Summary: [RFE] Sendgrid PVC utilization mails should contain PVC name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-managed-service
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Ohad
QA Contact: Filip Balák
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-08 07:24 UTC by Filip Balák
Modified: 2023-08-09 17:00 UTC (History)
8 users (show)

Fixed In Version: 2.0.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-28 06:49:06 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-osd-deployer pull 173 0 None Merged bz#2073297 - Sendgrid PVC utilization mails should contain PVC name 2022-04-18 16:40:00 UTC
Github red-hat-storage ocs-osd-deployer pull 174 0 None Closed Missing data on Grafana 2022-06-07 14:22:45 UTC

Description Filip Balák 2022-04-08 07:24:04 UTC
Description of problem:
PVC utilization mails don't contain enough information to identify which PVC is being utilized:

```
Hello!

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

The utilization of the PVC in your cluster has exceeded 85%. Please free up some space immediately or expand the PVC if possible. Failure to address this issue will lead to service interruptions for the cluster.

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

Information to identify what PVC is being utilized should be included in the mail.

Version-Release number of selected component (if applicable):
ODF 4.10

Comment 3 Neha Berry 2022-04-19 15:32:20 UTC
As discussed in the chat https://chat.google.com/room/AAAASHA9vWs/9XdXeUjVLdg, please aslo make sure we change this statement "Failure to address this issue will lead to service interruptions for the cluster.

"

For a PVC, the failure to address would affect the PVC and workload for that particular PV and not the entire cluster


The utilization of the PVC in your cluster has exceeded 85%. Please free up some space immediately or expand the PVC if possible. Failure to address this issue will lead to service interruptions for the cluster.

Comment 4 Akshay Khanna 2022-04-19 16:03:25 UTC
@nberry Could you also specify the exact statement we should use instead of this one

"The utilization of the PVC in your cluster has exceeded 85%. Please free up some space immediately or expand the PVC if possible. Failure to address this issue will lead to service interruptions for the cluster."

Comment 5 Akshay Khanna 2022-04-20 06:33:18 UTC
@nberry The line "Failure to address this issue will lead to service interruptions for the cluster." doesn't state the effect on the cluster, instead, it states that - This may cause an issue in service interruption, and service interruption can be anything like the error in the pod, PVC, etc.

@omitrani can you confirm my statement?

If you still wish to change this statement, we can change it.

Comment 6 Ohad 2022-04-20 11:22:02 UTC
maybe we need to change "will" to "may", so it will be:
"Failure to address this issue may lead to service interruptions for the cluster"

Comment 7 Filip Balák 2022-05-27 16:47:26 UTC
PVC utilization alerts for 75% and 85% utilization threshold contain Namespace and PVC Name.

Example:

```
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 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.

    Namespace: openshift-storage

    PVC Name: pvc-test-189de349692c4c6e9ba0f7a0f04ba5e


    Namespace: openshift-storage

    PVC Name: pvc-test-6947761826e6496db3ad812f6102fc8


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

--> VERIFIED

Tested with:
odf-operator.v4.10.2


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