Bug 1559225 - OpenShift installer upgrade playbook doesn't apply latest rpm packages when a git version change
Summary: OpenShift installer upgrade playbook doesn't apply latest rpm packages when a...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 3.7.z
Assignee: Russell Teague
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-22 02:31 UTC by Takayoshi Kimura
Modified: 2018-04-26 17:57 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-23 02:57:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3389191 0 None None None 2018-03-22 07:04:24 UTC
Red Hat Product Errata RHSA-2018:1231 0 normal SHIPPED_LIVE Critical: OpenShift Container Platform 3.7 security and bug fix update 2018-04-30 00:12:32 UTC

Description Takayoshi Kimura 2018-03-22 02:31:07 UTC
Description of problem:

When running upgrade.yaml, only first master receives rpm upgrade but all other masters/nodes.

Version-Release number of the following components:

$ rpm -q openshift-ansible
openshift-ansible-3.7.23-1.git.0.bc406aa.el7.noarch
$ rpm -q ansible
ansible-2.4.2.0-2.el7.noarch
$ ansible --version
ansible 2.4.2.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/nekop/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, May  3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]

atomic-openshift-3.7.23-1.git.0.8edc154.el7
to:
atomic-openshift-3.7.23-1.git.5.83efd71.el7

How reproducible:

Always

Steps to Reproduce:
1. Run upgrade.yml playbook
2.
3.

Actual results:

Only first master rpms updated

Expected results:

All hosts rpm updated

Additional info:

Comment 2 Takayoshi Kimura 2018-03-22 02:36:22 UTC
To workaround issue, we need to upgrade the rpm packages and restart services manually.

# /usr/sbin/atomic-openshift-excluder unexclude
# yum update atomic-openshift* tuned-profiles-atomic-openshift* -y
# /usr/sbin/atomic-openshift-excluder exclude
# systemctl restart atomic-openshift-master-* atomic-openshift-node

Comment 12 Scott Dodson 2018-04-19 13:38:41 UTC
We don't have any method to ensure proper upgrade paths while ensuring that latest package has been installed. As such we need to rely on the version having been upgraded in order to properly trigger an upgrade. We cannot enforce upgrades automatically when only the release portion of the version string has been incremented.

Comment 14 liujia 2018-04-23 02:57:10 UTC
Update status back.


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