Bug 1475036

Summary: Missing atomic-openshift-clients-redistributable in rhel-7-server-ose-3.5-rpms
Product: OpenShift Container Platform Reporter: Tobias Brunner <tobias.brunner>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED WONTFIX QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.1CC: aos-bugs, bleanhar, jokerman, mmccomas, smunilla, tobias.brunner
Target Milestone: ---   
Target Release: 4.1.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-29 20:46:52 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 Tobias Brunner 2017-07-25 22:12:33 UTC
Description of problem:

The package "atomic-openshift-clients-redistributable" seems to be missing in rhel-7-server-ose-3.5-rpms whereas it was available in rhel-7-server-ose-3.4-rpms.

How reproducible:

Steps to Reproduce:
1. Enable rhel-7-server-ose-3.5-rpms repo
2. yum install atomic-openshift-clients-redistributable
3. Package not found

Actual results:

# yum install atomic-openshift-clients-redistributable 
Loaded plugins: search-disabled-repos, versionlock
Nothing to do

# yum search atomic-openshift-clients-redistributable
Loaded plugins: search-disabled-repos, versionlock
============================================================================================ N/S matched: atomic-openshift-clients-redistributable ============================================================================================
atomic-openshift-clients-redistributable.x86_64 : Origin Client binaries for Linux, Mac OSX, and Windows

  Name and summary matches only, use "search all" for everything.# yum search atomic-openshift-clients-redistributable
Loaded plugins: search-disabled-repos, versionlock
============================================================================================ N/S matched: atomic-openshift-clients-redistributable ============================================================================================
atomic-openshift-clients-redistributable.x86_64 : Origin Client binaries for Linux, Mac OSX, and Windows

  Name and summary matches only, use "search all" for everything.

# yum info atomic-openshift-clients-redistributable
Loaded plugins: search-disabled-repos, versionlock
Installed Packages
Name        : atomic-openshift-clients-redistributable
Arch        : x86_64
Version     : 3.4.1.18
Release     : 1.git.0.0f9d380.el7
Size        : 301 M
Repo        : installed
From repo   : rhel-7-server-ose-3.4-rpms
Summary     : Origin Client binaries for Linux, Mac OSX, and Windows
URL         : https://github.com/openshift/origin
License     : ASL 2.0
Description : Origin Client binaries for Linux, Mac OSX, and Windows

# yum repolist
Loaded plugins: search-disabled-repos, versionlock
repo id                                                                                              repo name                                                                                                                         status
centos-gluster/x86_64                                                                                CentOS-7Server - Gluster 3.10 (from Puppet module "profile_gluster")                                                                    87
epel/x86_64                                                                                          Extra Packages for Enterprise Linux 7 - x86_64                                                                                    11,923+6
icinga-stable-release/7Server                                                                        Official Icinga repository (from Puppet module "profile_icinga2")                                                                   209+23
puppetlabs/7Server/x86_64                                                                            Puppet Labs Products El - x86_64 (from Puppet module "vshn_puppet")                                                                    225
puppetlabs-deps/7Server/x86_64                                                                       Puppet Labs Dependencies El - x86_64 (from Puppet module "vshn_puppet")                                                                 17
rhel-7-fast-datapath-htb-rpms/x86_64                                                                 Red Hat Enterprise Linux Fast Datapath Beta (RHEL 7 Server) (RPMs)                                                                      51
rhel-7-fast-datapath-rpms/7Server/x86_64                                                             Red Hat Enterprise Linux Fast Datapath (RHEL 7 Server) (RPMs)                                                                           29
rhel-7-server-extras-rpms/x86_64                                                                     Red Hat Enterprise Linux 7 Server - Extras (RPMs)                                                                                   524+12
rhel-7-server-optional-rpms/7Server/x86_64                                                           Red Hat Enterprise Linux 7 Server - Optional (RPMs)                                                                                 11,095
rhel-7-server-ose-3.5-rpms/x86_64                                                                    Red Hat OpenShift Container Platform 3.5 (RPMs)                                                                                     463+60
rhel-7-server-rpms/7Server/x86_64                                                                    Red Hat Enterprise Linux 7 Server (RPMs)                                                                                            14,606
vshn_yum_public                                                                                      VSHN AG public yum repo (from Puppet module "vshn_lib")                                                                             275+12
repolist: 39,504


Expected results:

Package atomic-openshift-clients-redistributable installed from rhel-7-server-ose-3.5-rpms repo with client versions from 3.5

Additional info:
-

Comment 1 Brenton Leanhardt 2017-07-26 16:12:52 UTC
Can you access this link?

https://access.redhat.com/downloads/content/atomic-openshift-clients-redistributable/3.5.5.31-1.git.0.b6f55a2.el7/x86_64/fd431d51/package

This claims that the package is indeed available in 3.5.  If could be a temporary problem with cdn.redhat.com.  Can you try cleaning your yum cache?

Comment 2 Tobias Brunner 2017-07-27 09:39:41 UTC
After doing some more investigation: It's excluded for upgrade by the atomic-openshift-excluder tool. So somehow during the upgrade playbook run, this package doesn't get updated and later excluded for manual upgrade.

# atomic-openshift-excluder unexclude
# yum update atomic-openshift-clients-redistributable
# atomic-openshift-excluder exclude
# yum info atomic-openshift-clients-redistributable
Loaded plugins: search-disabled-repos, versionlock
Installed Packages
Name        : atomic-openshift-clients-redistributable
Arch        : x86_64
Version     : 3.5.5.31
Release     : 1.git.0.b6f55a2.el7
Size        : 259 M
Repo        : installed
From repo   : rhel-7-server-ose-3.5-rpms
Summary     : Origin Client binaries for Linux, Mac OSX, and Windows
URL         : https://github.com/openshift/origin
License     : ASL 2.0
Description : Origin Client binaries for Linux, Mac OSX, and Windows

Maybe this is something which should be handled by the openshift-ansible playbooks?

Comment 3 Brenton Leanhardt 2017-07-27 11:36:44 UTC
Ahh, that's starting to make more sense.  Did you follow the steps detailed here?:

https://docs.openshift.com/container-platform/3.5/install_config/upgrading/automated_upgrades.html#install-config-upgrading-automated-upgrades

Comment 4 Tobias Brunner 2017-07-28 07:09:41 UTC
Yes, we've exactly followed these steps.

Comment 5 Brenton Leanhardt 2017-07-28 12:25:30 UTC
We'll move this back to the installer team so someone familiar with the excluders  packages can review the documentation.  Thanks for your patience.

Comment 6 Scott Dodson 2017-07-28 12:31:43 UTC
It's not a package that we install by default but we could check for its existence and update it if it's there. Which hosts have you installed this on?

Comment 7 Tobias Brunner 2017-07-28 12:45:05 UTC
We install this package on the master hosts to provide a client download link in the webconsole to logged in users.

Comment 8 Scott Dodson 2017-08-24 19:56:04 UTC
Sorry, missed comment 5 when scanning, back to installer.

Comment 10 Scott Dodson 2018-01-23 21:06:58 UTC
Suggested solution, when upgrading master or node packages we check for presence of {{ openshift_service_type }}-clients-redistributable and if present we upgrade it too.

Moving to 3.10.

Comment 11 Scott Dodson 2018-10-29 20:46:52 UTC
This did not make 3.11 and the model for 4.x will be significantly different. I'm marking this CLOSED WONTFIX.