Description of problem: While performing masters scaling up, installer failed at: TASK [openshift_control_plane : Check status of etcd image pre-pull] *********** fatal: [ec2-34-229-102-29.compute-1.amazonaws.com]: FAILED! => {"failed": true, "msg": "The conditional check 'etcd_image_exists.stdout_lines == []' failed. The error was: error while evaluating conditional (etcd_image_exists.stdout_lines == []): 'etcd_image_exists' is undefined\n\nThe error appears to have been in '/home/slave2/workspace/Run-Ansible-Playbooks/private-openshift-ansible/roles/openshift_control_plane/tasks/main.yml': line 156, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Check status of etcd image pre-pull\n ^ here\n"} Version-Release number of the following components: openshift-ansible-3.10.0-0.54.0.git.0.537c485.el7.noarch.rpm How reproducible: always Steps to Reproduce: 1. Trigger HA installation 2. Scaling up masters against the cluster above Actual results: see above Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag
The issue is that local fact `etcd_image_exists` only exists on etcd host, installer would fail if the master has no etcd role.
Lets only check for this image on control plane hosts that are etcd hosts.
Created https://github.com/openshift/openshift-ansible/pull/8573 to fix this
Verified in openshift-ansible-3.10.0-0.58.0.git.0.d8f6377.el7.noarch.rpm The task is skipped as expected.
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:1816