Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1205539

Summary: [New] - Do not list the clusters which does not have hosts attached to it in the clusters drop down of dashboard
Product: [Retired] oVirt Reporter: RamaKasturi <knarra>
Component: ovirt-engine-webadminAssignee: Karnan <kchidamb>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: low Docs Contact:
Priority: low    
Version: 3.6CC: bugs, ecohen, gklein, lsurette, mgoldboi, rbalakri, rnachimu, sabose, sankarshan, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: gluster
Fixed In Version: gluster-nagios-monitoring-0.1.0-1.0.master.201504281707.el6.noarch.rpm Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 13:56:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1187461    
Attachments:
Description Flags
Attaching screenshot for dashboard when a cluster which does not have hosts associated with it is selected. none

Description RamaKasturi 2015-03-25 07:18:41 UTC
Description of problem:
As of now all the clusters in the system gets listed in the cluster drop down of dashboard and when selecting the cluster which does not have hosts associated with it all the widgets in the dashboard displays "n/a", instead of displaying n/a in the all the widgets of dashboard do not list the clusters which does not hosts associated with it in the cluster drop down.

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150322182642.gitddaa14c.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install the gluster-nagios-monitoring plugin.
2. click on the dashboard tab.
3. Now select the cluster which does not have hosts associated to it.

Actual results:
All the widgets in the dashboard reports "n/a ". 
Attaching the screenshot for the same.

Expected results:
Do not display the cluster list in the cluster drop down which does not have hosts associated with it.

Additional info:

Comment 1 RamaKasturi 2015-03-25 07:19:51 UTC
Created attachment 1006136 [details]
Attaching screenshot for dashboard when a cluster which does not have hosts associated with it is selected.

Comment 2 Karnan 2015-04-13 08:09:46 UTC
Instead of removing the cluster proper error messages are added

Comment 3 RamaKasturi 2015-05-04 05:50:13 UTC
Verified and works fine with build gluster-nagios-monitoring-0.1.0-1.0.master.201504281707.el6.noarch.

When there is no host in the cluster, the following information gets displayed in the host.

Capacity - No Volume found
Utilization - No UP host found.
Alerts - 
Hosts - 0
Volumes - 0
NIC - 0
Network - No NIC Found

Comment 4 Sandro Bonazzola 2015-11-04 13:56:51 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.