Bug 1614506

Summary: Status panels for Volumes, Hosts and Bricks on various dashboards uses number codes instead of human readable status codenames
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Martin Bukatovic <mbukatov>
Component: web-admin-tendrl-monitoring-integrationAssignee: gowtham <gshanmug>
Status: CLOSED WONTFIX QA Contact: sds-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: mbukatov, nthomas, rhs-bugs, sankarshan, shtripat
Target Milestone: ---Keywords: ZStream
Target Release: ---   
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: 2019-05-08 18:45:34 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
screenshot 1: example of the problem on Cluster dashboard none

Description Martin Bukatovic 2018-08-09 18:37:50 UTC
Description of problem
======================

Status panels for Volumes, Hosts and Bricks on various dashboards uses number
codes instead of human readable status codenames.

This is caused by using unsuitable grafana component for these panels (the
table component these panels are using can report only numeric values).

Version-Release number of selected component
============================================

tendrl-monitoring-integration-1.6.3-7.el7rhgs.noarch

Steps to Reproduce
==================

1. Instal RHGS WA using tendrl-ansible
2. Import Trusted storage pool with at least one volume
3. Check these panels in the dashboard:

 * Cluster dashboard, Status section, "Volume Status" panel
 * Cluster dashboard, Status section, "Host Status" panel
 * Cluster dashboard, Status section, "Brick Status" panel
 * Host dashboard, At-a-Glance section, "Brick Status" panel               
 * Volume dashboard, At-a-Glance section, "Brick Status" panel

Actual results
==============

On all these panels, a table with integer representation of status
is presented.

Expected results
================

These panels use a different representation of the status information, so
that string, human readable codename, aligned with Gluster documentation can
be reported instead of plain integer values.

Comment 1 Martin Bukatovic 2018-08-09 18:42:18 UTC
Created attachment 1474808 [details]
screenshot 1: example of the problem on Cluster dashboard

Comment 3 Shubhendu Tripathi 2018-11-19 13:00:01 UTC
Isn't this an RFE provided grafana supports status values to be like this?

Comment 4 Martin Bukatovic 2019-01-23 20:12:32 UTC
(In reply to Shubhendu Tripathi from comment #3)
> Isn't this an RFE provided grafana supports status values to be like this?

It could be considered an RFE, wrt status quo and the fact you would need
to create bit of new code to fix this in the dasboard.

But from user and customer point of view, I would call this a bug anyway, as the
current solution is hardly optimal, impacts readability of the dashboard and
decreases value provided by this product to the customer.