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:
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
https://github.com/openshift/openshift-ansible/pull/7844
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.
Update status back.