Bug 1552314 - Metrics collection from an OpenShift 3.7 cluster frequently fails with "Hawkular metrics service unavailable: undefined method `keys' for nil:NilClass"
Summary: Metrics collection from an OpenShift 3.7 cluster frequently fails with "Hawku...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: C&U Capacity and Utilization
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.1
Assignee: Yaacov Zamir
QA Contact: Einat Pacifici
URL:
Whiteboard:
Depends On: 1537195
Blocks: 1554897
TreeView+ depends on / blocked
 
Reported: 2018-03-06 22:36 UTC by Satoe Imaishi
Modified: 2021-06-10 15:06 UTC (History)
13 users (show)

Fixed In Version: 5.9.1.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1537195
Environment:
Last Closed: 2018-04-11 17:46:34 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0556 0 None None None 2018-04-11 17:47:11 UTC

Comment 2 CFME Bot 2018-03-06 22:52:44 UTC
New commits detected on ManageIQ/manageiq-providers-kubernetes/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-kubernetes/commit/6b93f5476342e6368445bcf6da335fd00c4c4547
commit 6b93f5476342e6368445bcf6da335fd00c4c4547
Author:     Mooli Tayer <mtayer>
AuthorDate: Mon Jan  8 11:51:31 2018 -0500
Commit:     Mooli Tayer <mtayer>
CommitDate: Mon Jan  8 11:51:31 2018 -0500

    Merge pull request #204 from yaacov/do-not-try-to-proccess-when-no-metrics-returned

    Don't try to parse empty data set returned from hawkualr
    (cherry picked from commit 9c83dae5e0dba4d08d5b67d553c932a2ec13088f)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1552314

 app/models/manageiq/providers/kubernetes/container_manager/metrics_capture/hawkular_capture_context.rb | 2 +
 1 file changed, 2 insertions(+)


https://github.com/ManageIQ/manageiq-providers-kubernetes/commit/73a8d776f6eb044e95e040ff43533577677a5525
commit 73a8d776f6eb044e95e040ff43533577677a5525
Author:     Mooli Tayer <mtayer>
AuthorDate: Tue Jan 30 11:15:23 2018 -0500
Commit:     Mooli Tayer <mtayer>
CommitDate: Tue Jan 30 11:15:23 2018 -0500

    Merge pull request #227 from yaacov/remove-stucktrace-when-pod-has-no-metrics

    Do not raise an error when metrics are missing for one object
    (cherry picked from commit c83b42ae4af3a49d3c6a562510aff02210a24ac5)

    https://bugzilla.redhat.com/show_bug.cgi?id=1552314

 app/models/manageiq/providers/kubernetes/container_manager/metrics_capture.rb | 7 +-
 app/models/manageiq/providers/kubernetes/container_manager/metrics_capture/hawkular_capture_context.rb | 2 +-
 app/models/manageiq/providers/kubernetes/container_manager/metrics_capture/prometheus_capture_context.rb | 2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)


https://github.com/ManageIQ/manageiq-providers-kubernetes/commit/cdc323e74a8efe921f8c5133b6c4518722b8ea82
commit cdc323e74a8efe921f8c5133b6c4518722b8ea82
Author:     Beni Cherniavsky-Paskin <cben>
AuthorDate: Wed Jan 31 10:11:42 2018 -0500
Commit:     Beni Cherniavsky-Paskin <cben>
CommitDate: Wed Jan 31 10:11:42 2018 -0500

    Merge pull request #228 from yaacov/recatch-no-metrics

    recatch the metrics not found error
    (cherry picked from commit 9769743ea2243943ee7f9a01b078676ac75ea109)

    https://bugzilla.redhat.com/show_bug.cgi?id=1552314

 app/models/manageiq/providers/kubernetes/container_manager/metrics_capture.rb | 4 +-
 app/models/manageiq/providers/kubernetes/container_manager/metrics_capture/hawkular_capture_context.rb | 2 +-
 app/models/manageiq/providers/kubernetes/container_manager/metrics_capture/prometheus_capture_context.rb | 2 +
 3 files changed, 5 insertions(+), 3 deletions(-)

Comment 7 errata-xmlrpc 2018-04-11 17:46:34 UTC
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-2018:0556


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