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

Bug 1465275

Summary: metricsPublicURL is configured only first master with ansible metrics installer
Product: OpenShift Container Platform Reporter: Takayoshi Kimura <tkimura>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: aos-bugs, jokerman, mmccomas, wsun
Target Milestone: ---   
Target Release: 3.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openshift-ansible-3.5.85-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-28 11:56:56 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
ansible inventory file, after deployments, metrics works well none

Description Takayoshi Kimura 2017-06-27 05:43:38 UTC
Description of problem:

openshift-metrics.yml applies metricsPublicURL to first master only with HA masters setup

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

openshift-ansible-3.5.78-1.git.0.f7be576.el7.noarch

How reproducible:

Always

Steps to Reproduce:
1. Run ansible-playbook -vvv /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-metrics.yml on HA master setup
2.
3.

Actual results:

metricsPublicURL configured first master only

Expected results:

metricsPublicURL configured all master hosts

Additional info:

This is implemented in https://bugzilla.redhat.com/show_bug.cgi?id=1430661

Comment 3 Scott Dodson 2017-06-27 12:39:51 UTC
This should already be fixed in openshift-ansible-3.5.85-1 and newer.

Comment 4 Junqi Zhao 2017-06-28 09:52:59 UTC
Tested on HA environment which have 3 masters(ectd also on these machines), 2 nodes and 1lb. metricsPublicURL now all configured on 3 masters with ansible metrics installer.

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


Attached ansible inventory file

Comment 5 Junqi Zhao 2017-06-28 09:54:32 UTC
Created attachment 1292605 [details]
ansible inventory file, after deployments, metrics works well

Comment 6 Scott Dodson 2017-06-28 11:56:56 UTC
This was already fixed in openshift-ansible-3.5.85-1 and later