Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1500644 - [3.5]Metrics diagrams only could be displayed for openshift-infra project in web console
[3.5]Metrics diagrams only could be displayed for openshift-infra project in ...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Hawkular (Show other bugs)
3.5.1
Unspecified Unspecified
high Severity high
: ---
: 3.5.z
Assigned To: Ruben Vargas Palma
Junqi Zhao
: Regression
Depends On: 1499635
Blocks: 1458186 1479989
  Show dependency treegraph
 
Reported: 2017-10-11 05:06 EDT by Junqi Zhao
Modified: 2018-05-10 02:12 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1499635
Environment:
Last Closed: 2017-12-07 02:12:13 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3389 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Enterprise security, bug fix, and enhancement update 2017-12-07 07:09:10 EST

  None (edit)
Description Junqi Zhao 2017-10-11 05:06:09 EDT
Same issue with metrics 3.5
+++ This bug was initially created as a clone of Bug #1499635 +++

Description of problem:
Web console, Metrics diagrams(CPU/Memory/Network usage) only could be displayed for openshift-infra project, Metrics diagrams under other projects could not be displayed.
for other projects, it showed "Metrics are not available" error,  when clicked the metrics route, it showed "Metrics Service :STARTED", but it still showed the "Metrics are not available" error when back to web console.


***************************************************************************
Version-Release number of selected component (if applicable):
Images version:
metrics-heapster:3.5.0-27
metrics-hawkular-metrics:3.5.0-39
metrics-cassandra:3.5.0-34

# rpm -qa | grep openshift-ansible
openshift-ansible-roles-3.5.132-1.git.0.a5c4a4d.el7.noarch
openshift-ansible-callback-plugins-3.5.132-1.git.0.a5c4a4d.el7.noarch
openshift-ansible-lookup-plugins-3.5.132-1.git.0.a5c4a4d.el7.noarch
openshift-ansible-playbooks-3.5.132-1.git.0.a5c4a4d.el7.noarch
openshift-ansible-3.5.132-1.git.0.a5c4a4d.el7.noarch
openshift-ansible-filter-plugins-3.5.132-1.git.0.a5c4a4d.el7.noarch
openshift-ansible-docs-3.5.132-1.git.0.a5c4a4d.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. Deploye metrics 3.5
2. Create one new project and create one pod, check the metrics diagrams
3.

Actual results:
Metrics diagrams only could be displayed for openshift-infra project in web console

Expected results:
Metrics should be viewed for all projects

Additional info:

--- Additional comment from Junqi Zhao on 2017-10-09 03:21 EDT ---
Comment 1 Junqi Zhao 2017-10-11 05:11:44 EDT
# Inventory file
[OSEv3:children]
masters

[masters]
${MASTER} openshift_public_hostname=${MASTER}


[OSEv3:vars]
ansible_ssh_user=root
ansible_ssh_private_key_file="~/libra.pem"
deployment_type=openshift-enterprise

# Metrics
openshift_metrics_install_metrics=true
openshift_metrics_hawkular_hostname=hawkular-metrics.${SUB_DOMAIN}
openshift_metrics_project=openshift-infra
openshift_metrics_image_prefix=${IMAGE_PREFIX}
openshift_metrics_image_version=v3.5
Comment 2 Matt Wringe 2017-10-13 08:48:39 EDT
@stefan: you also need this pr to be applied for this: https://github.com/openshift/origin-metrics/commit/bf5a5b99ad15c110ddbe492f1ffc86c780839254#diff-055c992974a33b91b5c3fff3576e9310
Comment 5 Junqi Zhao 2017-10-15 22:05:00 EDT
Tested with metrics-hawkular-metrics:3.4.1-46, Metrics diagrams could be displayed for all projects in web console
Comment 6 Junqi Zhao 2017-11-07 00:42:02 EST
(In reply to Junqi Zhao from comment #5)
> Tested with metrics-hawkular-metrics:3.4.1-46, Metrics diagrams could be
> displayed for all projects in web console

Correction:
Tested with metrics-hawkular-metrics:3.5.0-44, Metrics diagrams could be displayed for all projects in web console
Comment 9 errata-xmlrpc 2017-12-07 02:12:13 EST
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/RHSA-2017:3389

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