Bug 1465275 - metricsPublicURL is configured only first master with ansible metrics installer
Summary: metricsPublicURL is configured only first master with ansible metrics installer
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.5.z
Assignee: Scott Dodson
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-27 05:43 UTC by Takayoshi Kimura
Modified: 2017-06-28 11:56 UTC (History)
4 users (show)

Fixed In Version: openshift-ansible-3.5.85-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-28 11:56:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ansible inventory file, after deployments, metrics works well (965 bytes, text/plain)
2017-06-28 09:54 UTC, Junqi Zhao
no flags Details

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


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