Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1519185

Summary: [Web-Admin] Grafana "Cluster id" field is taking any garbage text as input and is showing the details
Product: Red Hat Gluster Storage Reporter: Prasad Desala <tdesala>
Component: web-admin-tendrl-monitoring-integrationAssignee: Nishanth Thomas <nthomas>
Status: NEW --- QA Contact: sds-qe-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: rhs-bugs
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: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
Clusterid_Garbage none

Description Prasad Desala 2017-11-30 11:01:01 UTC
Created attachment 1360860 [details]
Clusterid_Garbage

Description of problem:
=======================
Grafana "Cluster id" field is taking any garbage text as input and is showing the details. The details it is showing could possible be the previous cluster details.

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

How reproducible:
=================
Always on firexfox 55.0.3

Steps to Reproduce:
1) Have a configured RHGSWA setup with an existing gluster volume created.
2) Login into Grafana, and give some garbage text as input into the cluster id field and it is showing the information.

Actual results:
===============
 Grafana "Cluster id" field is taking any garbage text as input and is showing the details.

Expected results:
=================
As the clusterd id is not configured to the Web-Admin, it should not show the requested details. It should be shown with N/A or something relevant.

Additional info:
================
Attached screenshot