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

Bug 1613112

Summary: Installer fails due to the unnecessary packages check in package_availability health check
Product: OpenShift Container Platform Reporter: sheng.lao <shlao>
Component: InstallerAssignee: Vadim Rutkovsky <vrutkovs>
Status: CLOSED CURRENTRELEASE QA Contact: sheng.lao <shlao>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.10.0CC: aos-bugs, azipory, jokerman, mmccomas, vlaad, wmeng, wsun
Target Milestone: ---   
Target Release: 3.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1613123 (view as bug list) Environment:
Last Closed: 2018-10-08 11:53:05 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:
Bug Depends On:    
Bug Blocks: 1613123    

Description sheng.lao 2018-08-07 03:35:19 UTC
Now, in since OCP-3.10 the SDN and master componet,  running as static pod. Accordingly, I remove the channel of fast-datapath, then I get the error messages, as follow:
We should remove those packages for health check accordingly in package_availability.

-----------------------
Failure summary:

1. Hosts: XXX  
Play: OpenShift Health Checks
Task: Run health checks (install) - EL
Message: One or more checks failed
Details: check "package_availability":
Could not perform a yum update.
Errors from dependency resolution:

atomic-openshift-sdn-ovs-3.11.0-0.11.0.git.0.c5fa1e4.el7.x86_64 requires openvswitch >= 2.6.1

You should resolve these issues before proceeding with an install.
You may need to remove or downgrade packages or enable/disable yum repositories.
-----------------------


I find that rpm of atomic-openshift-sdn-ovs is verified in package_availability.py:
    def node_packages(rpm_prefix):
        """Return a list of RPMs that we expect a node install to have available."""
    ... ...
            "{rpm_prefix}-sdn-ovs".format(rpm_prefix=rpm_prefix),
    ... ...

So checking against atomic-openshift-sdn-ovs stuff seems like redundant.

Version-Release number of selected component (if applicable):
openshift-ansible-3.11.0-0.11.0.git.0.3c66516None.noarch.rpm

How reproducible:
always

Steps to Reproduce:
1. Deploy OCP-3.11 with channel of fast-datapath disabled
2.
3.

Actual results:
Failure summary:

1. Hosts: XXX  
Play: OpenShift Health Checks
Task: Run health checks (install) - EL
Message: One or more checks failed
Details: check "package_availability":
Could not perform a yum update.
Errors from dependency resolution:

atomic-openshift-sdn-ovs-3.11.0-0.11.0.git.0.c5fa1e4.el7.x86_64 requires openvswitch >= 2.6.1

You should resolve these issues before proceeding with an install.
You may need to remove or downgrade packages or enable/disable yum repositories.

Expected results:
Installer is success

Additional info:


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 1 Vadim Rutkovsky 2018-08-10 11:15:07 UTC
PR https://github.com/openshift/openshift-ansible/pull/9506

Comment 2 Vadim Rutkovsky 2018-08-15 08:27:31 UTC
Fix is available in openshift-ansible-3.11.0-0.15.0

Comment 4 sheng.lao 2018-08-16 08:45:23 UTC
By the way, The patch in openshift-ansible-3.11.0-0.15.0 is fixed the bug of 
https://bugzilla.redhat.com/show_bug.cgi?id=1613123.

Please, change the state of bz-1613123.

Comment 5 Scott Dodson 2018-09-05 18:49:53 UTC
*** Bug 1623823 has been marked as a duplicate of this bug. ***