Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1559225 - OpenShift installer upgrade playbook doesn't apply latest rpm packages when a git version change
OpenShift installer upgrade playbook doesn't apply latest rpm packages when a...
Status: CLOSED WONTFIX
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.7.0
Unspecified Unspecified
urgent Severity urgent
: ---
: 3.7.z
Assigned To: Russell Teague
liujia
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-21 22:31 EDT by Takayoshi Kimura
Modified: 2018-04-26 13:57 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-22 22:57:10 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 Knowledge Base (Solution) 3389191 None None None 2018-03-22 03:04 EDT
Red Hat Product Errata RHSA-2018:1231 normal SHIPPED_LIVE Critical: OpenShift Container Platform 3.7 security and bug fix update 2018-04-29 20:12:32 EDT

  None (edit)
Description Takayoshi Kimura 2018-03-21 22:31:07 EDT
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-21 22:36:22 EDT
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 09:38:41 EDT
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-22 22:57:10 EDT
Update status back.

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