Bug 1481721

Summary: [3.6] Post Install the health_check Playbook Throws Errors on Incorrect openvswitch Version
Product: OpenShift Container Platform Reporter: Nick Schuetz <nschuetz>
Component: InstallerAssignee: Luke Meyer <lmeyer>
Status: CLOSED ERRATA QA Contact: Wenkai Shi <weshi>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.0CC: aos-bugs, jokerman, lmeyer, mmccomas, nschuetz
Target Milestone: ---   
Target Release: 3.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously only openvswitch 2.6 was marked as appropriate for OCP 3.6 which blocked installation of 2.7. This error has been corrected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-05 17:42:58 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 Nick Schuetz 2017-08-15 14:06:33 UTC
Description of problem:

When running the health_check playbook post install against OCP 3.6 it incorrectly throws an error on openvswitch version 2.7:

  check "ovs_version":
    The following packages were found to be installed with an incorrect version:     
      openvswitch
        Required version: 2.6
        Found versions: 2.7

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

OCP 3.6.173.0.5


How reproducible:

Always

Steps to Reproduce:
1. Install OCP 3.6
2. Run the health_check playbook: ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-checks/health.yml
3.

Actual results:

An error is thrown stating openvswitch is at the incorrect version.

Expected results:

No error should be thrown if openvswitch 2.7 is installed.

Additional info:

The current workaround is to disable the ovs_version check:

ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-checks/health.yml -e openshift_disable_check=ovs_version

In addition, the built in pre-install check does not throw this error. It has already been updated to check for 2.7.

Description of problem:

Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated

Expected results:

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 3 Wenkai Shi 2017-08-23 06:59:16 UTC
Verified with version openshift-ansible-3.6.173.0.7-2.git.0.340aa2c.el7.

Comment 5 errata-xmlrpc 2017-09-05 17:42:58 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-2017:2639