Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1301861 - Metrics does not show information for pods/containers
Metrics does not show information for pods/containers
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.5.0
Unspecified Unspecified
high Severity high
: GA
: 5.6.0
Assigned To: Yaacov Zamir
Shalom Naim
container
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-26 03:22 EST by Einat Pacifici
Modified: 2018-08-28 05:54 EDT (History)
9 users (show)

See Also:
Fixed In Version: 5.6.0.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 11:33:27 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
snaim: automate_bug+


Attachments (Terms of Use)
evm.log attached. (4.33 MB, application/x-gzip)
2016-01-26 03:22 EST, Einat Pacifici
no flags Details
screenshot.png (104.73 KB, image/png)
2016-01-26 03:56 EST, Federico Simoncelli
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Einat Pacifici 2016-01-26 03:22:45 EST
Created attachment 1118385 [details]
evm.log attached.

Description of problem:
Metrics does not show information for pods/containers when selecting Utilization information. 

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

How reproducible:
Always

Steps to Reproduce:
1.Setup CFME to enable Metrics 
2.Select a Pod in CFME : Containers --> Pods
3.Select Monitoring --> Utilization

Actual results:
Error is shown: No Utilization Data Available


Expected results:
Utilization data + graphs should be seen. 


Additional info:
EVM log attached.
Comment 2 Federico Simoncelli 2016-01-26 03:36:56 EST
The error seems related to the fact that there are no information on the nodes cores. Please go into the nodes summary page and check that they all have capacity information (cpu and memory).

Sadly this information is not available in the logs.

Feel free to ping me on IRC and we'll look at it together.
Comment 3 Federico Simoncelli 2016-01-26 03:56 EST
Created attachment 1118393 [details]
screenshot.png

Looking in Einat's environment I found one node that was defined but never reported any information (see screenshot).

Since we have fixed bug 1288549 we are now able to deal with nodes that never reported any information but now they're breaking metrics collection.
Comment 4 Federico Simoncelli 2016-01-26 04:08:54 EST
Best way to address this is to catch the validation error and return empty metrics for the relevant object.
Comment 5 Federico Simoncelli 2016-04-22 10:57:22 EDT
I think that this is easy to reproduce. It's just a matter to add a new dummy node in OpenShift (that doesn't exists) and see what breaks in ManageIQ (inventory refresh and metrics collection).

Yaacov can you give it a try? Thanks.
Comment 6 Yaacov Zamir 2016-04-27 08:38:24 EDT
Submited upstream:
https://github.com/ManageIQ/manageiq/pull/8213
Comment 7 Federico Simoncelli 2016-05-12 17:41:39 EDT
Yaacov shouldn't this be moved to POST?
Comment 9 errata-xmlrpc 2016-06-29 11:33:27 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348

Note You need to log in before you can comment on or make changes to this bug.