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

Bug 1544694

Summary: [3.7]Upgrading from 3.6 to 3.7 using upgrade_nodes playbook does not honour openshift_pkg_version
Product: OpenShift Container Platform Reporter: Weihua Meng <wmeng>
Component: Cluster Version OperatorAssignee: Russell Teague <rteague>
Status: CLOSED ERRATA QA Contact: Weihua Meng <wmeng>
Severity: high Docs Contact:
Priority: high    
Version: 3.7.1CC: acomabon, aos-bugs, fcami, gene_siepka, jokerman, jtudelag, mmccomas, pdwyer, rteague, sdodson, sjr, vrutkovs, wmeng
Target Milestone: ---   
Target Release: 3.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: yum command would install the latest version available of any dependent package which resulted in the latest version of node packages to be installed. Fix: Ansible task was updated to include all related node packages with the version specified. Result: Expected version was installed instead of latest.
Story Points: ---
Clone Of: 1539021 Environment:
Last Closed: 2018-07-24 04:28:13 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: 1539021    
Bug Blocks:    

Comment 3 Russell Teague 2018-06-20 19:48:34 UTC
Proposed: https://github.com/openshift/openshift-ansible/pull/8880

Comment 5 Weihua Meng 2018-07-02 06:49:17 UTC
Fixed.
openshift-ansible-3.7.56-1.git.31.91ec9c5.el7.noarch

there is enabled repo for openshift-ansible-3.7.56

set
openshift_pkg_version=-3.7.46 

after upgrade
on master:
[root@host-8-249-191 ~]# rpm -qa | grep openshift
tuned-profiles-atomic-openshift-node-3.7.46-1.git.0.e81594b.el7.x86_64
atomic-openshift-sdn-ovs-3.7.46-1.git.0.e81594b.el7.x86_64
atomic-openshift-excluder-3.7.46-1.git.0.e81594b.el7.noarch
atomic-openshift-clients-3.7.46-1.git.0.e81594b.el7.x86_64
atomic-openshift-node-3.7.46-1.git.0.e81594b.el7.x86_64
atomic-openshift-master-3.7.46-1.git.0.e81594b.el7.x86_64
atomic-openshift-docker-excluder-3.7.46-1.git.0.e81594b.el7.noarch
atomic-openshift-3.7.46-1.git.0.e81594b.el7.x86_64

on node:
[root@host-8-249-142 ~]# rpm -qa | grep openshift
atomic-openshift-clients-3.7.46-1.git.0.e81594b.el7.x86_64
atomic-openshift-docker-excluder-3.7.46-1.git.0.e81594b.el7.noarch
tuned-profiles-atomic-openshift-node-3.7.46-1.git.0.e81594b.el7.x86_64
atomic-openshift-3.7.46-1.git.0.e81594b.el7.x86_64
atomic-openshift-sdn-ovs-3.7.46-1.git.0.e81594b.el7.x86_64
atomic-openshift-excluder-3.7.46-1.git.0.e81594b.el7.noarch
atomic-openshift-node-3.7.46-1.git.0.e81594b.el7.x86_64

Kernel Version: 3.10.0-862.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.5 (Maipo)

Comment 7 errata-xmlrpc 2018-07-24 04:28:13 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-2018:2234