Bug 1432345
| Summary: | Fail to install ocp3.5 on fresh hosts when set enable_excluders=false | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | liujia <jiajliu> |
| Component: | Installer | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | liujia <jiajliu> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.5.0 | CC: | aos-bugs, ghuang, jchaloup, jiajliu, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-22 12:47:27 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: | |
| Embargoed: | |||
Liujia, what is your ansible version? Can't reproduce it within my cluster installation. atomic-openshift-master-3.5.0.52-1.git.0.844b58f.el7.x86_64.rpm atomic-openshift-3.5.0.52-1.git.0.844b58f.el7.x86_64.rpm Based on latest build, still reproduce. # rpm -qa | grep ansible openshift-ansible-3.5.36-1.git.0.a378c43.el7.noarch openshift-ansible-filter-plugins-3.5.36-1.git.0.a378c43.el7.noarch openshift-ansible-docs-3.5.36-1.git.0.a378c43.el7.noarch openshift-ansible-callback-plugins-3.5.36-1.git.0.a378c43.el7.noarch openshift-ansible-roles-3.5.36-1.git.0.a378c43.el7.noarch ansible-2.2.1.0-2.el7.noarch openshift-ansible-lookup-plugins-3.5.36-1.git.0.a378c43.el7.noarch openshift-ansible-playbooks-3.5.36-1.git.0.a378c43.el7.noarch Version:
atomic-openshift-utils-3.5.37-1.git.0.62660e8.el7.noarch
openshift-ansible-3.5.37-1.git.0.62660e8.el7.noarch.rpm
Steps:
1. prepare repos and inventory file
enable_excluders=false
2. run config.yml to install ocp3.5 on fresh hosts
# ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/config.yml -vvv
Result:
Fail to install for the same error as description.
Add debug msg into "openshift_excluder/tasks/exclude.yml" to print {{ exclude_docker_excluder }} variable before task [Enable docker excluder]
TASK [openshift_excluder : debug] **********************************************
task path: /usr/share/ansible/openshift-ansible/roles/openshift_excluder/tasks/exclude.yml:5
ok: [openshift-178.x.x.x] => {}
MSG:
True
It seems that some {{ exclude_docker_excluder }} was set to "True" which should be "False" in this case.
Version: atomic-openshift-utils-3.5.39-1.git.0.cb12cdb.el7.noarch Steps: 1. prepare repos and inventory file enable_excluders=false 2. run config.yml to install ocp3.5 on fresh hosts # ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/config.yml -vvv Result: Install successfully. |
Description of problem: Trigger rpm install on fresh hosts(without any excluders) when set enable_excluders=false in inventory file, install failed and exited with following error: TASK [openshift_excluder : Enable docker excluder] ***************************** task path: /usr/share/ansible/openshift-ansible/roles/openshift_excluder/tasks/exclude.yml:6 ....... fatal: [openshift-178.x.x.x]: FAILED! => { "changed": false, "cmd": "atomic-openshift-docker-excluder exclude", "failed": true, "invocation": { "module_args": { "_raw_params": "atomic-openshift-docker-excluder exclude", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true }, "module_name": "command" }, "rc": 2 } MSG: [Errno 2] No such file or directory Version-Release number of selected component (if applicable): atomic-openshift-utils-3.5.32-1.git.0.42cf266.el7.noarch How reproducible: always Steps to Reproduce: 1. prepare repos and inventory file enable_excluders=false 2. run config.yml to install ocp3.5 on fresh hosts # ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/config.yml -vvv | tee install.log 3. Actual results: Install failed at task [Enable docker excluder]. Expected results: Install successfully. Additional info: