Bug 1619505 - Inconsistent setting for deploy cluster monitoring
Summary: Inconsistent setting for deploy cluster monitoring
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.11.0
Assignee: Frederic Branczyk
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-21 05:13 UTC by Junqi Zhao
Modified: 2018-10-11 07:25 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-11 07:25:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 0 None None None 2018-10-11 07:25:43 UTC

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


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