Description of problem: When necessary package were not installed successfully on etcd host, installation was still continuing until another error encountered. This is a regression test scenario coming from https://bugzilla.redhat.com/show_bug.cgi?id=1348846 TASK [Ensure openshift-ansible installer package deps are installed] ******************************************************************************************************** ok: [openshift-138.lab.sjc.redhat.com] => (item=iproute) ok: [openshift-125.lab.sjc.redhat.com] => (item=iproute) ok: [openshift-145.lab.sjc.redhat.com] => (item=iproute) ok: [openshift-138.lab.sjc.redhat.com] => (item=dbus-python) ok: [openshift-145.lab.sjc.redhat.com] => (item=dbus-python) ok: [openshift-125.lab.sjc.redhat.com] => (item=dbus-python) ok: [openshift-125.lab.sjc.redhat.com] => (item=PyYAML) ok: [openshift-138.lab.sjc.redhat.com] => (item=PyYAML) ok: [openshift-145.lab.sjc.redhat.com] => (item=PyYAML) failed: [openshift-138.lab.sjc.redhat.com] (item=yum-utils) => {"changed": false, "failed": true, "item": "yum-utils", "msg": "No package matching 'yum-utils' found available, installed or updated", "rc": 126, "results": ["No package matching 'yum-utils' found available, installed or updated"]} changed: [openshift-125.lab.sjc.redhat.com] => (item=yum-utils) changed: [openshift-145.lab.sjc.redhat.com] => (item=yum-utils) TASK [Ensure various deps for running system containers are installed] ****************************************************************************************************** skipping: [openshift-145.lab.sjc.redhat.com] => (item=atomic) skipping: [openshift-145.lab.sjc.redhat.com] => (item=ostree) skipping: [openshift-145.lab.sjc.redhat.com] => (item=runc) skipping: [openshift-125.lab.sjc.redhat.com] => (item=atomic) skipping: [openshift-125.lab.sjc.redhat.com] => (item=ostree) skipping: [openshift-125.lab.sjc.redhat.com] => (item=runc) ... TASK [etcd : fail] ********************************************************************************************************************************************************** fatal: [openshift-145.lab.sjc.redhat.com]: FAILED! => {"changed": false, "failed": true, "msg": "CA certificate /etc/etcd/ca/ca.crt doesn't exist on CA host openshift-138.lab.sjc.redhat.com. Apply 'etcd_ca' action from `etcd` role to openshift-138.lab.sjc.redhat.com.\n"} Version-Release number of the following components: openshift-ansible-3.7.7-1.git.0.3e1b62b.el7.noarch How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Attached the full log and ansible inventory file Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag
Proposed: https://github.com/openshift/openshift-ansible/pull/6822
Merged
Test this issue with openshift-ansible-3.7.26-1.git.0.f87f1af.el7.noarch.rpm Installer quit immediately when required package not available. TASK [Ensure openshift-ansible installer package deps are installed] *********** Thursday 25 January 2018 06:46:26 +0000 (0:00:00.030) 0:00:30.709 ****** ok: [ec2-54-237-242-109.compute-1.amazonaws.com] => (item=iproute) => {"attempts": 1, "changed": false, "item": "iproute", "msg": "", "rc": 0, "results": ["iproute-3.10.0-87.el7.x86_64 providing iproute is already installed"]} ok: [ec2-34-230-15-187.compute-1.amazonaws.com] => (item=iproute) => {"attempts": 1, "changed": false, "item": "iproute", "msg": "", "rc": 0, "results": ["iproute-3.10.0-87.el7.x86_64 providing iproute is already installed"]} ok: [ec2-54-237-242-109.compute-1.amazonaws.com] => (item=dbus-python) => {"attempts": 1, "changed": false, "item": "dbus-python", "msg": "", "rc": 0, "results": ["dbus-python-1.1.1-9.el7.x86_64 providing dbus-python is already installed"]} ok: [ec2-34-230-15-187.compute-1.amazonaws.com] => (item=dbus-python) => {"attempts": 1, "changed": false, "item": "dbus-python", "msg": "", "rc": 0, "results": ["dbus-python-1.1.1-9.el7.x86_64 providing dbus-python is already installed"]} ok: [ec2-54-237-242-109.compute-1.amazonaws.com] => (item=PyYAML) => {"attempts": 1, "changed": false, "item": "PyYAML", "msg": "", "rc": 0, "results": ["PyYAML-3.10-11.el7.x86_64 providing PyYAML is already installed"]} ok: [ec2-34-230-15-187.compute-1.amazonaws.com] => (item=PyYAML) => {"attempts": 1, "changed": false, "item": "PyYAML", "msg": "", "rc": 0, "results": ["PyYAML-3.10-11.el7.x86_64 providing PyYAML is already installed"]} ok: [ec2-34-230-15-187.compute-1.amazonaws.com] => (item=yum-utils) => {"attempts": 1, "changed": false, "item": "yum-utils", "msg": "", "rc": 0, "results": ["yum-utils-1.1.31-42.el7.noarch providing yum-utils is already installed"]} FAILED - RETRYING: Ensure openshift-ansible installer package deps are installed (2 retries left). FAILED - RETRYING: Ensure openshift-ansible installer package deps are installed (1 retries left). failed: [ec2-54-237-242-109.compute-1.amazonaws.com] (item=yum-utils) => {"attempts": 2, "changed": false, "item": "yum-utils", "msg": "No package matching 'yum-utils' found available, installed or updated", "rc": 126, "results": ["No package matching 'yum-utils' found available, installed or updated"]} NO MORE HOSTS LEFT ************************************************************* to retry, use: --limit @/home/slave5/workspace/Launch-Environment-Flexy/private-openshift-ansible/playbooks/byo/config.retry Will move it to verified when 3.7 openshift-ansible package attached to https://errata.devel.redhat.com/advisory/32336
Release date of advisory/32336 delayed, so mark this bug as verified with openshift-ansible-3.7.26-1.git.0.f87f1af.el7.noarch.rpm to avoid too many bugs waiting at ON_QA status.
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:0636