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

Bug 1540462

Summary: metricsPublicURL is not configured on all masters with ansible metrics installer
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED CURRENTRELEASE QA Contact: Junqi Zhao <juzhao>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.9.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---Keywords: Regression
Target Release: 3.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 15:44:09 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:

Comment 1 Junqi Zhao 2018-01-31 12:01:52 UTC
Tested on one master and node machine, metricsPublicURL is not added to master-config.yaml, it is now added in webconsole-config configmap of openshift-web-console project, and metrics works well.


# oc get configmap webconsole-config -o yaml -n openshift-web-console | grep metricsPublicURL
      metricsPublicURL: https://hawkular-metrics.apps.0131-ujx.qe.rhcloud.com/hawkular/metrics


Does that mean metricsPublicURL should not be added to all master-config.yaml?

Comment 2 Scott Dodson 2018-01-31 14:09:42 UTC
(In reply to Junqi Zhao from comment #1)
> Tested on one master and node machine, metricsPublicURL is not added to
> master-config.yaml, it is now added in webconsole-config configmap of
> openshift-web-console project, and metrics works well.
> 
> 
> # oc get configmap webconsole-config -o yaml -n openshift-web-console | grep
> metricsPublicURL
>       metricsPublicURL:
> https://hawkular-metrics.apps.0131-ujx.qe.rhcloud.com/hawkular/metrics
> 
> 
> Does that mean metricsPublicURL should not be added to all
> master-config.yaml?

Yes, it should no longer be in master-config.yaml. We'll fix that.

https://github.com/openshift/openshift-ansible/pull/6952

Comment 4 Junqi Zhao 2018-02-05 02:46:36 UTC
logging/metrics urls are not added to master-config.yaml now

env:
openshift-ansible-3.9.0-0.36.0.git.0.da68f13.el7.noarch.rpm
openshift-ansible-docs-3.9.0-0.36.0.git.0.da68f13.el7.noarch.rpm
openshift-ansible-playbooks-3.9.0-0.36.0.git.0.da68f13.el7.noarch.rpm
openshift-ansible-roles-3.9.0-0.36.0.git.0.da68f13.el7.noarch.rpm