Created attachment 1419701 [details]
volume alert example
Description of problem:
It doesn't need to be clear with which volume a displayed alert is related as there is only volume name mentioned. Such information is not enough if several gluster trusted storage pools (clusters) are connected to RHGSWA with the same volume name(s).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. import several clusters with the same volume(s)
2. invoke some volume alert - e.g. stop the volume
A new alert is displayed:
State of volume: <volume_name> changed from up to down
It's not clear which volume it is as there are several with the same name.
Part of any alert message should be some unique identifier, unique over all set-up/clusters. E.g. cluster name (if possible the short version) with volume name
The issue is on UI only as cluster name and integration id is part of API response.
message State of volume: volume_gama_disperse_4_plus_2x2 changed from up to down
To make the volume name unique, we will need to add the cluster name so that the volume can be identified especially if it's possible that the same volume name can appear in multiple clusters.
Given current example of the message, I would suggest the following:
<volume> in <cluster> is <status>
Therefore, it would be:
volume_gama_disperse_4_plus_2x2 in 4d69949-9a2 is down
Note: the 4d69949-9a2 should be the full name of the cluster but I can't tell from the screenshot what the full cluster name is. Ideally, the cluster-name would have a user-friendly short cluster name.
For more information about recommendations on the alert messages, take a look at https://docs.google.com/document/d/138SFPUlRqdLjISMcd-Cts-vWzY7wfTGWi8GhdQHnh0Q/edit?usp=sharing.