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

Bug 1274153

Summary: Missing "metricsPublicURL:" in master-config.yaml
Product: OpenShift Container Platform Reporter: Yanping Zhang <yanpzhan>
Component: InstallerAssignee: Jason DeTiberus <jdetiber>
Status: CLOSED ERRATA QA Contact: Ma xiaoqiang <xiama>
Severity: low Docs Contact:
Priority: medium    
Version: 3.1.0CC: aos-bugs, bleanhar, gpei, jokerman, mmccomas, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-12 16:36:58 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:
Attachments:
Description Flags
1 none

Description Yanping Zhang 2015-10-22 06:57:45 UTC
Description of problem:
After installation, there is no "metricsPublicURL:" option in the master-config.yaml

Version-Release number of selected component (if applicable):
AtomicOpenShift/3.1/2015-10-21.4

How reproducible:
Always

Steps to Reproduce:
1. Enable cluster metrics in ansible inventory, set up an ose env using ansible
use_cluster_metrics=true
2. After installation finished, check the master-config.yaml.

Actual results:
2.There is no "metricsPublicURL:" option in the master-config.yaml

Expected results:
2.Should have "metricsPublicURL:" option under "assetConfig:" in master-config.yaml

Additional info:

Comment 1 Yanping Zhang 2015-10-22 09:02:38 UTC
Created attachment 1085455 [details]
1

Comment 2 Jason DeTiberus 2015-10-26 16:37:08 UTC
PR for adding this feature is here: https://github.com/openshift/openshift-ansible/pull/742

Please test using the advanced installation method.

Comment 3 Yanping Zhang 2015-10-27 02:14:00 UTC
Install ose env with pr742, check the master-config.yaml, there is metricsPublicURL, and also loggingPublicURL now.

assetConfig:
   logoutURL: ""
   loggingPublicURL: https://openshift-142.lab.eng.nay.redhat.com:8443/logging
   masterPublicURL: https://openshift-142.lab.eng.nay.redhat.com:8443
   publicURL: https://openshift-142.lab.eng.nay.redhat.com:8443/console/
   metricsPublicURL: https://openshift-142.lab.eng.nay.redhat.com:8443/metrics

The issue has been fixed, so move the bug to verified.

Comment 4 Jason DeTiberus 2015-10-27 13:51:03 UTC
I'm moving this bug back to assigned, since there is additional work to actually configure the metrics and logging services that still needs to be accomplished before this can actually be used/merged.

Comment 5 Brenton Leanhardt 2016-01-05 16:21:54 UTC
This work is being tracked here: https://trello.com/c/pQ2cmWhG/123-8-openshift-ansible-playbook-for-logging-metrics-installation

Comment 6 Jason DeTiberus 2016-04-04 21:30:21 UTC
The metricsPublicURL is now able to be set using the openshift_master_metrics_public_url, but the metrics deployment is still pending...

Moving this to ON_QA, since the value is now settable.

Comment 7 Gaoyun Pei 2016-04-05 04:01:46 UTC
Verify this bug with openshift-ansible-3.0.71-1.git.0.63af28f.el7.noarch

Set openshift_master_metrics_public_url=https://hawkular-metrics.example.com/hawkular/metrics in ansible inventory, after installation, the URL was configured on all masters' config yaml file:
metricsPublicURL: https://hawkular-metrics.example.com/hawkular/metrics

Comment 9 errata-xmlrpc 2016-05-12 16:36:58 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-2016:1065