Bug 1113103

Summary: Network Utilization [pnp4nagios] fails to load the graph
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasanth <pprakash>
Component: rhscAssignee: Ramesh N <rnachimu>
Status: CLOSED CANTFIX QA Contact: RHS-C QE <rhsc-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.0CC: esammons, nlevinki, rhs-bugs, rhsc-qe-bugs, sankarshan, shtripat
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Cause: Sometimes sadf output is corrupted on first day of installation of VM and gets correct after midnight for the next day output Consequence: The network utilization graph shows an error saying RRD data does not exist Workaround (if any): After midnight for the next day, the sadf output file gets corrected automatically and graph works fine. Result: NA
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-29 15:11:03 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:
Bug Depends On:    
Bug Blocks: 1087818    
Attachments:
Description Flags
screenshot of error
none
screenshot which shows ALL Interfaces none

Description Prasanth 2014-06-25 12:48:12 UTC
Created attachment 912086 [details]
screenshot of error

Description of problem:

Network Utilization [pnp4nagios] fails to load the graph

Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 3.0.0-0.12.el6rhs

How reproducible: 100%


Steps to Reproduce:
1. Install and setup the latest RHSC3.0 build from Errata or from the local repo: http://rhsqe-repo.lab.eng.blr.redhat.com/rhsc3.0-console-latest/
2. Install and setup 2 RHS3.0 nodes
3. From RHSC, create a 3.4 cluster and add the above 2 RHS nodes.
4. Now, execute the following auto-config script from the engine:
 # /usr/lib64/nagios/plugins/gluster/discovery.py -c <cluster-name> -H <ip-address>
5. Take the Nagios portal and click on the Network Utilization graph icon

Actual results:  Network Utilization graph fails with the following error:

---------
Please check the documentation for information about the following error.

XML file "/var/lib/pnp4nagios/dhcp43-15.lab.eng.blr.redhat.com/Network_Utilization.xml" not found. Read FAQ online
file [line]:

application/models/data.php [312]:
---------

Expected results: Network Utilization graph should load sucessfully


Additional info: See attached screenshot

Comment 1 Prasanth 2014-06-25 12:54:54 UTC
[root@dhcp42-178 nagios]# /usr/lib64/nagios/plugins/gluster/network.py -e lo -e ';vdsmdummy;' -t 2
ERROR:root:unable to get ipaddr/flags for eth0: [Errno 99] Cannot assign requested address
OK:  |

Comment 2 Prasanth 2014-06-25 12:58:38 UTC
Created attachment 912089 [details]
screenshot which shows ALL Interfaces

For once, it shows ALL the interfaces in "Satatus Information". See attached!

Comment 3 Bala.FA 2014-06-25 16:43:52 UTC
sosreport please

Comment 4 Prasanth 2014-06-27 15:09:58 UTC
(In reply to Bala.FA from comment #3)
> sosreport please

I already gave access to the test setup for further debugging. Hope you gathered all the required details during that time?

Comment 5 Bala.FA 2014-06-28 02:26:17 UTC
We found the issue with sysstat and it corrected itself next day ie ovirtmgmt bridge is found in sadf output.

Not sure why it happened.  Will be investigated and fixed accordingly

Comment 6 Shubhendu Tripathi 2014-07-01 06:55:24 UTC
Similar issues with sadf output is seen for other physical services like Memory, Swap and CPU Utilization as well. The output is corrupted on first day but automatically gets corrected for the next day after midnight and services start working properly and graphs are displayed correctly.

Comment 7 Dusmant 2014-07-03 05:29:08 UTC
We should document it, so that, end-user does not get confused or feels "what's wrong with this?"

Comment 9 Shubhendu Tripathi 2014-07-10 08:22:57 UTC
As Bala confirmed there is an issue with sadf and at the time of day change (midnight) the sadf does not return any value.

Bala, please confirm the same.

Comment 10 Bala.FA 2014-07-10 09:25:02 UTC
Yes.  It worked that way.  We are looking into sysstat code how to fix this issue.

Comment 12 Dusmant 2014-09-25 07:15:44 UTC
Moving it to 3.0.3

Comment 14 Sahina Bose 2018-01-29 15:11:03 UTC
Thank you for your report. This bug is filed against a component for which no further new development is being undertaken