"Failure Summary" Messages

Registered by Sheel Rana

It is regarding "node specific Summary viewer" option for different cinder operations....
This is more specific to failed operations and cause of their failure...

When someone performs some operation like create volume, delete volume etc, if operation fails - user gets no specific information about why operation failed...just operation status is updated and shown as failed...
One need to debug logs and other details to find the issue.

It would be very helpful if such information can be shown on Summary section/screen on one separate tab on HORIZON for cinder.
This feature will provide details of failure messages to user who performed operation.

There will be changes in both cinder and horizon.

Results can be shown in tabular way*[1]

Roles:
   Admin - can see all user records depending upon filters.
   User - can see user specific operation records only.

Filters:
Results can be shown depending upon different filters like Select Tenant, Message Level etc.

*[1]For basic understanding of how contents will be displayed for different user operations, open below content in html page:
<!DOCTYPE html>
<html>
   <body> <style> th {background-color: #c1b6d3; } </style>
         Tenant Name <select name="tenants">
         <option value="corp">All</option>
         <option value="corp">Sheel Corp</option>
         <option value="ALL">ABC Corp</option>
         </select>

        <form action="action_page.php">
        <br> Message Level
          <input type="radio" name="ERROR" value="ERROR"> ERROR
          <input type="radio" name="INFO" value="INFO"> INFO
          <input type="radio" name="All" value="All" checked> All
          <br><br>
          Node Name <select name="components">
          <option value="cinder1">BlockStorage-cinder1</option>
          <option value="cinder2">cinder2</option>
          <option value="cinder3">cinder3</option>
          <option value="cinder4">All</option>
          </select>
          <br><br>
          <input type="button" onclick="" value="Show!">
                <br> <br>
       </form>
       <table border="1" style="width:90%">
           <caption>SummaryMessage</caption>
           <tr> <th>Tenant</th>
               <th>EventID</th> <th>NodeName</th>
               <th>NodeIP</th> <th>Operation</th>
               <th>MessageLevel</th>
               <th>Time</th> <th>Details</th>
            </tr>
            <tr> <td>ABC corp</td> <td>VOL001</td>
                <td>BlockStorage-cinder1</td>
                <td>10.0.33.62</td> <td>CreateVolume</td>
         <td> INFO</td> <td>31-01-2015 09:30::45 AM</td>
         <td>Started-{VolumeName}, {VolumeID}</td>
             </tr>
              <tr> <td>Sheel Corp</td> <td>VOL002</td>
                 <td>BlockStorage-cinder1</td>
                 <td>10.0.33.62</td> <td>CreateVolume</td>
                 <td>ERROR</td> <td>31-01-2015 09:30::45</td>
                 <td><dt>Failed -{VolName}, {VolID}<dt><dd> FailureDetails in collapsed form<dd></td></tr> </table></body></html>

Blueprint information

Status:
Complete
Approver:
Sean McGinnis
Priority:
High
Drafter:
Sheel Rana
Direction:
Approved
Assignee:
Sheel Rana
Definition:
Obsolete
Series goal:
None
Implementation:
Good progress
Milestone target:
None
Started by
Sheel Rana
Completed by
Sean McGinnis

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/summarymessage,n,z

Addressed by: https://review.openstack.org/273938
    Summary Messages for different cinder operations

Addressed by: https://review.openstack.org/298052
    WIP: summary message for error cases

Addressed by: https://review.openstack.org/313140
    Add prefix to user message event ids

Gerrit topic: https://review.openstack.org/#q,topic:bug/1587534,n,z

Addressed by: https://review.openstack.org/323450
    Improve the retrieval feature of message

Addressed by: https://review.openstack.org/330391
    Add generic code for online data migrations

Addressed by: https://review.openstack.org/447975
    [WIP] Extend usage of user messages

Addressed by: https://review.openstack.org/449025
    Cleanup expired user messages

Gerrit topic: https://review.opendev.org/#/q/topic:bp/summarymessage

Addressed by: https://review.opendev.org/447975
    Add user messages for some volume snapshot actions

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.