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

Bug 1619505

Summary: Inconsistent setting for deploy cluster monitoring
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: MonitoringAssignee: Frederic Branczyk <fbranczy>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.11.0   
Target Milestone: ---   
Target Release: 3.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-11 07:25:25 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:

Description Junqi Zhao 2018-08-21 05:13:29 UTC
Description of problem:
Set "openshift_cluster_monitoring_operator_install: true" to deploy cluster monitoring along with OCP(not install cluster monitoring on an existing OCP env),
cluster monitoring is not installed. 

Find in
playbooks/common/openshift-cluster/upgrades/upgrade_components.yml

- import_playbook: ../../../openshift-monitoring/private/config.yml
  when: openshift_monitoring_deploy | default(false) | bool

and set "openshift_monitoring_deploy: true" to deploy cluster monitoring along with OCP would be successful

It is better to change
from
when: openshift_monitoring_deploy | default(false) | bool

to
when: openshift_cluster_monitoring_operator_install | default(false) | bool

in
playbooks/common/openshift-cluster/upgrades/upgrade_components.yml

Version-Release number of selected component (if applicable):
openshift-ansible-3.11.0-0.19.0.git.0.ebd1bf9None.noarch.rpm
openshift-ansible-docs-3.11.0-0.19.0.git.0.ebd1bf9None.noarch.rpm
openshift-ansible-playbooks-3.11.0-0.19.0.git.0.ebd1bf9None.noarch.rpm
openshift-ansible-roles-3.11.0-0.19.0.git.0.ebd1bf9None.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1. Deploy cluster monitoring along with OCP
2.
3.

Actual results:
Inconsistent setting for deploy cluster monitoring

Expected results:


Additional info:

Comment 1 Frederic Branczyk 2018-08-27 16:48:46 UTC
We have a pull request out to unify this: https://github.com/openshift/openshift-ansible/pull/9727

Comment 2 Frederic Branczyk 2018-08-28 00:20:46 UTC
The pull request for this has been merged. https://github.com/openshift/openshift-ansible/pull/9727

Comment 3 Junqi Zhao 2018-08-30 05:45:04 UTC
Please change to ON_QA, it use openshift_cluster_monitoring_operator_install parameter to deploy cluster monitoring along with OCP or on one existing OCP env

# rpm -qa | grep ansible
openshift-ansible-docs-3.11.0-0.25.0.git.0.7497e69.el7.noarch
openshift-ansible-roles-3.11.0-0.25.0.git.0.7497e69.el7.noarch
openshift-ansible-3.11.0-0.25.0.git.0.7497e69.el7.noarch
ansible-2.6.3-1.el7ae.noarch
openshift-ansible-playbooks-3.11.0-0.25.0.git.0.7497e69.el7.noarch

Comment 4 Junqi Zhao 2018-09-03 00:32:37 UTC
Per Comment 3, set to VERIFIED

Comment 6 errata-xmlrpc 2018-10-11 07:25:25 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-2018:2652