Bug 1599630

Summary: Grafana Host dashboard is created for node waiting for expand
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Filip Balák <fbalak>
Component: web-admin-tendrl-monitoring-integrationAssignee: gowtham <gshanmug>
Status: CLOSED WONTFIX QA Contact: Filip Balák <fbalak>
Severity: low Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: fbalak, gshanmug, mbukatov, 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 16:14:55 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
Hosts dashboard with unmanaged host none

Description Filip Balák 2018-07-10 08:57:49 UTC
Created attachment 1457719 [details]
Hosts dashboard with unmanaged host

Description of problem:
There is created Host Grafana dashboard for one of the nodes before Cluster Expand is triggered when nodes are added to already managed cluster and volume is created.

Version-Release number of selected component (if applicable):
tendrl-ansible-1.6.3-5.el7rhgs.noarch
tendrl-api-1.6.3-4.el7rhgs.noarch
tendrl-api-httpd-1.6.3-4.el7rhgs.noarch
tendrl-commons-1.6.3-8.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-6.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-6.el7rhgs.noarch
tendrl-node-agent-1.6.3-8.el7rhgs.noarch
tendrl-notifier-1.6.3-4.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.3-6.el7rhgs.noarch


How reproducible:
100%

Steps to Reproduce:
1. Import cluster with 4 nodes into WA.
2. Add 2 more nodes to cluster and create distributed replicated volume.
3. Restart all nodes.
3. Open Hosts dashboard for some node.
4. List all Hosts dashboards.

Actual results:
There is one node node from nodes that wait for expansion.

Expected results:
There should not be any node that wait for expansion.

Additional info:

Comment 2 gowtham 2018-07-17 08:24:36 UTC
When managed and unmanaged nodes are restarted then collectd and node-agent are triggered as systemd service in all storage nodes. When node agent is restarted provisioner tag is acquired by any node. If provisioner tag is acquired by unmanaged node then collectd will be configured to push the data into graphite. 
So unmanaged node details are displayed in grafana. This is fixed while fix https://bugzilla.redhat.com/show_bug.cgi?id=1599634.

tendrl-node-agent-1.6.3-9.el7rhgs.noarch
tendrl-commons-1.6.3-9.el7rhgs.noarch
tendrl-api-1.6.3-4.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-7.el7rhgs.noarch
tendrl-ui-1.6.3-7.el7rhgs.noarch
tendrl-notifier-1.6.3-4.el7rhgs.noarch
tendrl-gluster-integration-1.6.3-7.el7rhgs.noarch

Comment 3 gowtham 2018-07-17 08:41:12 UTC
please verify this once with latest build

Comment 4 gowtham 2018-07-20 06:15:32 UTC
filip please verify this with latest build

Comment 5 gowtham 2018-07-20 06:15:33 UTC
filip please verify this with latest build

Comment 6 Filip Balák 2018-07-30 11:49:46 UTC
Yes, this seems to be fixed with latest build.

Comment 8 Shubhendu Tripathi 2018-11-19 08:18:21 UTC
@Filip, based on https://bugzilla.redhat.com/show_bug.cgi?id=1599630#c6 please mark this BZ as closed current release.

Comment 10 Shubhendu Tripathi 2018-11-19 12:38:15 UTC
@gowtham, can this be moved to ON_QA so that QE can verify?