Description of problem: - When upgrading from 3.6.x to latest 3.6, OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 was dropped from /etc/sysconfig/atomic-openshift-master-{api,controllers}. Version-Release number of the following components: - openshift-ansible-3.6.173.0.117-1.git.0.8c22c43.el7.noarch How reproducible: 100% Steps to Reproduce: 1. Run upgrade_control_plane.yml # ansible-playbook -i </path/to/inventory/file> \ /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_6/upgrade_control_plane.yml 2. Check /etc/sysconfig/atomic-openshift-master-{api,controllers} Actual results: - Playbook completes withtout error. However, OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 in /etc/sysconfig/atomic-openshfit-master-* is dropped. Expected results: - Keep OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 in /etc/sysconfig/atomic-openshfit-master-* Additional info: - Attached entire logs in private.
Proposed patch: https://github.com/openshift/openshift-ansible/pull/8454
Fixed in openshift-ansible-3.6.173.0.132-1
Verify this bug with openshift-ansible-3.6.173.0.139-1.git.0.cf96f27.el7.noarch.rpm After upgrading an 3.6.173.0.96 cluster to v3.6.173.0.139, OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 still there. [root@ip-172-18-15-252 ~]# grep OPENSHIFT_DEFAULT_REGISTRY /etc/sysconfig/atomic-openshift-master* /etc/sysconfig/atomic-openshift-master:OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 /etc/sysconfig/atomic-openshift-master.636.2018-11-22@02:18:54~:OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000
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-2019:0101