Bug 1614000 - "Bricks" and "Brick Status" panels on Host and Volume dashboards doesn't use the same definition of brick state
Summary: "Bricks" and "Brick Status" panels on Host and Volume dashboards doesn't use ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-monitoring-integration
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.4.z Batch Update 1
Assignee: gowtham
QA Contact: Elena Bondarenko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-08 19:06 UTC by Martin Bukatovic
Modified: 2018-10-31 08:45 UTC (History)
8 users (show)

Fixed In Version: tendrl-monitoring-integration-1.6.3-13.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-31 08:45:18 UTC
Embargoed:


Attachments (Terms of Use)
screenshot 1: discrepancy in brick states on host dashboard (41.09 KB, image/png)
2018-08-08 19:09 UTC, Martin Bukatovic
no flags Details
screenshot 2: discrepancy in brick states on volume dashboard (75.28 KB, image/png)
2018-08-09 08:22 UTC, Martin Bukatovic
no flags Details
Volume dashboard brick status (114.81 KB, image/png)
2018-08-29 09:56 UTC, gowtham
no flags Details
Host dashboard brick status (108.79 KB, image/png)
2018-08-29 09:57 UTC, gowtham
no flags Details
Cluster_dashboard_brick_status (5.51 KB, image/png)
2018-09-05 12:05 UTC, gowtham
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github Tendrl monitoring-integration issues 545 0 None None None 2018-09-05 12:05:38 UTC
Red Hat Bugzilla 1613526 0 unspecified CLOSED Description of Status panel of At-a-Glance section on Brick dashboard is missing list of all brick states 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1618770 0 unspecified CLOSED Description of Brick Status panel of At-a-Glance section on Volume dashboard is missing list of all brick status codes w... 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2018:3427 0 None None None 2018-10-31 08:45:44 UTC

Internal Links: 1613526 1618770

Description Martin Bukatovic 2018-08-08 19:06:28 UTC
Description of problem
======================

There is a discrepancy between Bricks and Brick Status panel, one uses "up" and
"down", the other uses "started" and "stopped" when reporting status.

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. Go to Host dashboard and check "Bricks" and "Brick Status" panels

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

Brick panel reports number for:

 * bricks in "up" state
 * bricks in "down" state
 * total number of bricks

While description of "Brick Status" panel defines status codes in the table
as:

 * 0 = Started
 * 8 = Stopped

See screenshot 1.

Expected result
===============

Both panels uses the same set of brick states.

Additional questions
====================

Is there any difference? Do we use the same terminology as RHGS core?

Comment 1 Martin Bukatovic 2018-08-08 19:09:20 UTC
Created attachment 1474481 [details]
screenshot 1: discrepancy in brick states on host dashboard

Comment 2 Martin Bukatovic 2018-08-09 08:19:31 UTC
Volume dashboard has the same problem, updating the scope of this BZ to cover
both Volume and Host dashboards.

To verify this BZ, QE team will check this problem on:

 * Volume Dashboard
 * Host Dashboard

Comment 3 Martin Bukatovic 2018-08-09 08:22:20 UTC
Created attachment 1474600 [details]
screenshot 2: discrepancy in brick states on volume dashboard

Comment 5 gowtham 2018-08-29 09:56:04 UTC
Created attachment 1479434 [details]
Volume dashboard brick status

Comment 6 gowtham 2018-08-29 09:57:15 UTC
Created attachment 1479435 [details]
Host dashboard brick status

Comment 7 gowtham 2018-08-29 09:59:09 UTC
Martin, please check my screenshots, is this the expectation?

Comment 8 gowtham 2018-09-05 12:05:11 UTC
Created attachment 1481084 [details]
Cluster_dashboard_brick_status

Comment 9 gowtham 2018-09-05 12:07:00 UTC
I have proposed changes in screenshots, please review

Comment 10 Martin Bukatovic 2018-09-06 18:23:06 UTC
Gowtham, I see you are proposing to use "started"/"stopped" everywhere. This
looks good. That said, I would like to ask gluster eng. if they also agree with
this choice (I would rather prevent some subtle naming clash).

Atin, could you please verify that it's ok for WA to report status of a brick
as either "started" or "stopped".

Comment 11 Martin Bukatovic 2018-09-06 18:42:50 UTC
Note that there is other BZ, which points out that the list of states is not
complete (BZ 1618770 demonstrates that there is at least 1 other state which
the description doesn't talk about).

To be able to make progress here, I'm highlighting that this BZ is solely about
making sure the same names of brick states are used across WA dashboard, and it's
not concerned with the fact that we have some brick states missing (which is
tracked in another, already mentioned BZ 1618770).

Comment 12 Atin Mukherjee 2018-09-07 09:57:37 UTC
(In reply to Martin Bukatovic from comment #10)
> Gowtham, I see you are proposing to use "started"/"stopped" everywhere. This
> looks good. That said, I would like to ask gluster eng. if they also agree
> with
> this choice (I would rather prevent some subtle naming clash).
> 
> Atin, could you please verify that it's ok for WA to report status of a brick
> as either "started" or "stopped".

I'd definitely vote for the same as in glusterd the brick's status is represented as 'started' or 'stopped' .

Comment 14 gowtham 2018-09-11 07:05:43 UTC
PR is under review: https://github.com/Tendrl/monitoring-integration/pull/546

Comment 16 Elena Bondarenko 2018-09-25 11:31:21 UTC
Brick status is Started or Stopped (not Up or Down) everywhere on Volume and Host dashboards.

Comment 18 errata-xmlrpc 2018-10-31 08:45:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3427


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