Description of problem: logging can't be deployed by usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-logging.yml. The root cause is there isn't oo_first_master group. it should add common/openshift-cluster/evaluate_groups.yml in front of common/openshift-cluster/openshift_logging.yml. Version-Release number of selected component (if applicable): openshift-ansible-3.5.53-1.git.0.8ade9f2.el7.noarch How reproducible: Always Steps to Reproduce: 1. preparing inventory file following https://docs.openshift.com/container-platform/3.5/install_config/aggregate_logging.html#aggregate-logging-ansible-variables 2. run playbook following https://docs.openshift.com/container-platform/3.5/install_config/aggregate_logging.html#deploying-the-efk-stack ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-logging.yml 2. check resource of project logging Actual results: No resouce is deployed under project logging. Expected results: Additional info: Add common/openshift-cluster/evaluate_groups.yml in openshift-logging.yml as following. + - include: ../../common/openshift-cluster/evaluate_groups.yml + vars: + g_new_master_hosts: [] + g_new_node_hosts: [] + openshift_cluster_id: "{{ cluster_id | default('default') }}" + openshift_deployment_type: "{{ deployment_type }}" - include: ../../common/openshift-cluster/openshift_logging.yml vars: openshift_cluster_id: "{{ cluster_id | default('default') }}" openshift_debug_level: "{{ debug_level | default(2) }}" openshift_deployment_type: "{{ deployment_type }}"
Proposed: https://github.com/openshift/openshift-ansible/pull/3939
Merged https://github.com/openshift/openshift-ansible/pull/3939
This has been merged into openshift-ansible and is in openshift-ansible-3.5.55 or newer.
Testing passed by using openshift-ansible-3.5.55-1 and playbooks/byo/openshift-cluster/openshift-logging.yml # rpm -qa | grep openshift-ansible openshift-ansible-callback-plugins-3.5.55-1.git.0.29802ee.el7.noarch openshift-ansible-docs-3.5.55-1.git.0.29802ee.el7.noarch openshift-ansible-filter-plugins-3.5.55-1.git.0.29802ee.el7.noarch openshift-ansible-lookup-plugins-3.5.55-1.git.0.29802ee.el7.noarch openshift-ansible-playbooks-3.5.55-1.git.0.29802ee.el7.noarch openshift-ansible-3.5.55-1.git.0.29802ee.el7.noarch openshift-ansible-roles-3.5.55-1.git.0.29802ee.el7.noarch Set it to VERIFIED and close it.
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-2017:1140