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

Bug 1071282

Summary: disk size used by storage metric is invisible when no metric is collected
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: UIAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Armine Hovsepyan <ahovsepy>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.2.1CC: ahovsepy, jshaughn, mfoley, snegrea
Target Milestone: ER02   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:03:02 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
agent_nan
none
disk-space_used_by_storage_node_invisible
none
disk_space_used_by_storage_node_visible
none
storage_metrics_disk_space_nan none

Description Armine Hovsepyan 2014-02-28 12:42:05 UTC
Created attachment 869018 [details]
agent_nan

Description of problem:
disk size used by storage metric is invisible when no metric is collected

Version-Release number of selected component (if applicable):
jon 3.2.1

How reproducible:
always

Steps to Reproduce:
1. install and start server with storage and agent
2. Navigate to Administration -> Storage Nodes
3. Click on storage node endpoint address link

Actual results:
Metric "Disk space used by Storage Node" is not visible of no metric is collected

Expected results:
Metric is always visible with NaN 

Additional info:
Screenshots attached with and without metric for storage as well as agent metrics page screenshot for NaN sample

Comment 1 Armine Hovsepyan 2014-02-28 12:42:43 UTC
Created attachment 869019 [details]
disk-space_used_by_storage_node_invisible

Comment 2 Armine Hovsepyan 2014-02-28 12:43:14 UTC
Created attachment 869020 [details]
disk_space_used_by_storage_node_visible

Comment 3 Armine Hovsepyan 2014-02-28 12:45:10 UTC
Steps to Reproduce scenario where no metric is collected :
1. Uninventory platform with storage
2. As soon as platform and storage are auto-inventoried -> Navigate to Administration -> Storage Nodes 
3. Click on storage node endpoint address link

Actual results:
Metric "Disk space used by Storage Node" is not visible of no metric is collected

Expected results:
Metric is always visible with NaN

Comment 4 Stefan Negrea 2014-08-21 22:59:06 UTC
For how long is there no value for the metric? Until the first collection of that metric (seconds)?

Comment 5 Armine Hovsepyan 2014-08-26 16:12:08 UTC
Yes, it's until first collection (cannot confirm if it was seconds, but was >5 seconds), but i mean, text visible before collecting data for all metrics should be the same.

Comment 6 Jay Shaughnessy 2014-08-27 20:41:22 UTC
Fixed in same commit as for Bug 1071291:

See https://bugzilla.redhat.com/show_bug.cgi?id=1071291#c1

Comment 7 Simeon Pinder 2014-09-03 20:31:47 UTC
Moving to ON_QA as available for test with the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=381194

Comment 8 Armine Hovsepyan 2014-09-04 13:45:00 UTC
Created attachment 934438 [details]
storage_metrics_disk_space_nan

Comment 9 Armine Hovsepyan 2014-09-04 13:45:37 UTC
verified in JON 3.3 ER02
screen-shot attached