Summary: | Installation should fail immediately when necessary package not successfully installed | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Gaoyun Pei <gpei> |
Component: | Installer | Assignee: | Russell Teague <rteague> |
Status: | CLOSED ERRATA | QA Contact: | Gaoyun Pei <gpei> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 3.7.0 | CC: | aos-bugs, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | 3.7.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Single host failures for installing packages were not resulting in a failed playbook run
Consequence: The playbook would continue and fail at a later point
Fix: Added a play directive to cause the playbook to fail immediately if there were any host failures.
Result: If package installation fails for any host, the playbook will fail immediately.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-05 09:32:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: |
Description
Gaoyun Pei
2017-11-14 07:34:06 UTC
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 |