Bug 1597872 - Inconsistent Volume Status showing in UI and Grafana dashboards (vs. CLI)
Summary: Inconsistent Volume Status showing in UI and Grafana dashboards (vs. CLI)
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-ui
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Neha Gupta
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-03 18:17 UTC by Ju Lim
Modified: 2018-07-12 19:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-12 19:17:14 UTC
Embargoed:


Attachments (Terms of Use)
WA 3.4 - volume page (55.57 KB, image/png)
2018-07-03 18:21 UTC, Ju Lim
no flags Details
gstatus output (76.42 KB, image/png)
2018-07-03 18:22 UTC, Ju Lim
no flags Details
Cluster Dashboard - Volume down (191.13 KB, image/png)
2018-07-03 18:23 UTC, Ju Lim
no flags Details
Volume Dashboard - Status is N/A (151.62 KB, image/png)
2018-07-03 18:24 UTC, Ju Lim
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github 1004 0 None None None 2018-07-03 18:18:08 UTC

Description Ju Lim 2018-07-03 18:17:24 UTC
Description of problem:
CLI shows volume is up and running
UI says volume status is unknown
Cluster dashboard says volume is down
Volume dashboard says volume status is N/A

Version-Release number of selected component (if applicable):
# rpm -qa | grep tendrl | sort

tendrl-ansible-1.6.3-2.el7.centos.noarch
tendrl-api-1.6.3-20180626T110501.5a1c79e.noarch
tendrl-api-httpd-1.6.3-20180626T110501.5a1c79e.noarch
tendrl-commons-1.6.3-20180628T114340.d094568.noarch
tendrl-grafana-plugins-1.6.3-20180622T070617.1f84bc8.noarch
tendrl-grafana-selinux-1.5.4-20180227T085901.984600c.noarch
tendrl-monitoring-integration-1.6.3-20180622T070617.1f84bc8.noarch
tendrl-node-agent-1.6.3-20180618T083110.ba580e6.noarch
tendrl-notifier-1.6.3-20180618T083117.fd7bddb.noarch
tendrl-selinux-1.5.4-20180227T085901.984600c.noarch
tendrl-ui-1.6.3-20180625T085228.23f862a.noarch

How reproducible:


Steps to Reproduce:
Here's the scenario I went through:

1. Create cluster (ju_cluster) with no volume
2. Deploy WA / tendrl
3. Imported Cluster (with no volumes)
4. Created a volume (vol1) in the cluster
5. volume is up and running just fine

Actual results:
Mixed -- current it says either N/A or Unknown or Down depending which UI I look at.

Expected results:
Volume to show it's up and running or OK.

Additional info:
See also https://github.com/Tendrl/ui/issues/1004 which includes screenshots

Comment 2 Ju Lim 2018-07-03 18:21:25 UTC
Created attachment 1456311 [details]
WA 3.4 - volume page

Comment 3 Ju Lim 2018-07-03 18:22:27 UTC
Created attachment 1456312 [details]
gstatus output

Comment 4 Ju Lim 2018-07-03 18:23:07 UTC
Created attachment 1456313 [details]
Cluster Dashboard - Volume down

Comment 5 Ju Lim 2018-07-03 18:24:06 UTC
Created attachment 1456314 [details]
Volume Dashboard - Status is N/A

Comment 6 Ju Lim 2018-07-11 15:50:39 UTC
Specifically create a Gluster cluster with no volume, then install WA.  After you introduce/add a volume, it doesn't seem to have the right volume status.

I tried rebooting, and still no change in behavior.  I suspect that if you were to do this without a volume in your Gluster cluster and then install WA, and then introduce the volume after WA is installed that you would see this happen.

If you already have a Gluster cluster with 1 volume and install WA, then you don't see this behavior.


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