Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1458653 - unnecessary openshift version check on NFS host without OCP repo leads to Installation failed
unnecessary openshift version check on NFS host without OCP repo leads to In...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.6.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Steve Milner
Weihua Meng
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-05 02:35 EDT by Weihua Meng
Modified: 2017-08-16 15 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-10 01:26:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 05:02:50 EDT

  None (edit)
Description Weihua Meng 2017-06-05 02:35:14 EDT
Description of problem:
Install OpenShift on Atomic Host with RHEL as NFS server without OCP repo as before, Installation failed.

Version-Release number of selected component (if applicable):
openshift-ansible-3.6.94-1.git.0.fff177b.el7.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1. Install OpenShift on Atomic Host with RHEL as NFS server without OCP repo
[masters]
AH host1

[nodes]
AH host1
AH host2

[nfs]
RHEL host1

Actual results:
Installation FAILURE
Failure summary:

  1. Host:     RHEL host1
     Play:     Verify Requirements
     Task:     openshift_version : fail
     Message:  Package atomic-openshift not found

Expected results:
Installation SUCCESS as before

Additional info:
Comment 1 Steve Milner 2017-06-13 10:55:50 EDT
Doing a little debugging the issue stems from this pattern:

1. openshift_version is a dependency of openshift_health_checker
2. openshift_version includes set_version_rpm.yml as is_containerized is False
3. roles/openshift_version/tasks/set_version_rpm.yml uses repoquery to find atomic-openshift, but it is not there in this scenario.
Comment 2 Steve Milner 2017-06-19 11:12:01 EDT
PR: https://github.com/openshift/openshift-ansible/pull/4495
Comment 3 Luke Meyer 2017-06-20 15:16:18 EDT
This is fail task in the openshift_version role. It's just reported under the same summary as checks would be (all failures are now). So excluding the NFS host from checks won't actually address this (although it might be necessary to do that too).
Comment 4 Steve Milner 2017-06-20 16:17:03 EDT
I follow what you're saying Luke.

It looks like there are three locations which include the role:

roles/openshift_health_checker/meta/main.yml: Noted here with scoped hosts
roles/openshift_common/meta/main.yml: Includes without scoping hosts
roles/openshift_docker/meta/main.yml: Includes without scoping hosts

I'll look at trying to keep nfs and lbs out of package checking rather than skipping them within the health checks.
Comment 6 Weihua Meng 2017-06-27 04:02:46 EDT
not fixed with openshift-ansible-3.6.126-1.git.0.58d33f0.el7.noarch.rpm
Comment 7 Scott Dodson 2017-06-27 17:34:18 EDT
in openshift-ansible-3.6.123.1002-1.git.0.506cfa7.el7
Comment 8 Weihua Meng 2017-06-27 18:39:08 EDT
I would like to wait for 3.6.127 to verify
Comment 9 Weihua Meng 2017-06-27 21:46:29 EDT
Verified on openshift-ansible-3.6.123.1002-1.git.0.506cfa7.el7.noarch.rpm
Fixed.

Install SUCCESS
Comment 11 errata-xmlrpc 2017-08-10 01:26:47 EDT
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/RHEA-2017:1716

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