Description of problem: - When upgrade single master to 3.7, - It is a same error with bz#1523814, but task is different (this ticket is talking about handler.) Version-Release number of the following components: openshift-ansible-callback-plugins-3.7.23-1.git.0.bc406aa.el7.noarch ansible-2.3.1.0-1.el7.noarch openshift-ansible-filter-plugins-3.7.23-1.git.0.bc406aa.el7.noarch openshift-ansible-roles-3.7.23-1.git.0.bc406aa.el7.noarch openshift-ansible-lookup-plugins-3.7.23-1.git.0.bc406aa.el7.noarch openshift-ansible-3.7.23-1.git.0.bc406aa.el7.noarch openshift-ansible-docs-3.7.23-1.git.0.bc406aa.el7.noarch openshift-ansible-playbooks-3.7.23-1.git.0.bc406aa.el7.noarch Steps to Reproduce: 1. upgrade openshift-ansible* packages to 3.7 2. externized embedded etcd per [1] 3. migrate etcd data v2 to v3 * Steps are described in - https://docs.openshift.com/container-platform/3.7/upgrading/automated_upgrades.html Actual results: (upload full logs as private attachment.) TASK [openshift_master : yedit] ******************************************************************************************************************************************************************************* changed: [xxx.example.com] RUNNING HANDLER [openshift_master : restart master api] ******************************************************************************************************************************************************* fatal: [xxx.example.com]: FAILED! => {"changed": false, "failed": true, "msg": "Could not find the requested service atomic-openshift-master-api: host"} RUNNING HANDLER [openshift_master : restart master controllers] *********************************************************************************************************************************************** to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-etcd/migrate.retry PLAY RECAP **************************************************************************************************************************************************************************************************** localhost : ok=14 changed=0 unreachable=0 failed=0 xxx.example.com : ok=94 changed=19 unreachable=0 failed=1 ... snip ... Expected results: - No error
I think that bz#1523814 did not catch this issue, because openshift-ansible-3.7.18-1.git.0.a01e769.el7.noarch and ansible-2.4 were used for the test. `static: true` was introduced by https://github.com/openshift/openshift-ansible/pull/6613 after a01e769.
Fix is available in openshift-ansible-3.7.46-1
Verify this bug with openshift-ansible-3.7.46-1.git.0.37f607e.el7.noarch and ansible-2.4.4.0-1.el7ae.noarch. Setup an ocp-3.6 cluster using etcd v2 data. Migrate etcd v2 to v3 before running upgrade to 3.7. The migration and upgrade both passed.
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:2009