| Summary: | Fail to install containerized env on minimal rhel due to lack of docker package | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ma xiaoqiang <xiama> |
| Component: | Installer | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED ERRATA | QA Contact: | Ma xiaoqiang <xiama> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.2.0 | CC: | aos-bugs, bleanhar, dgoodwin, jialiu, jokerman, mmccomas, tdawson, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openshift-ansible-3.0.81-1.git.0.1bb3de7.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-12 16:39:33 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: | |
openshift_ansible PR: https://github.com/openshift/openshift-ansible/pull/1674 Met the same error on openshift-ansible 'validate_hostnames.yml' will call the openshift_facts role at the beginning, the 'openshift_facts' role will run 'docker run' when installing containerized env. ansible didn't install docker before that. Ma was this the error you hit?
TASK: [openshift_facts ] ******************************************************
failed: [node4.aos.example.com] => {"cmd": "docker exec atomic-openshift-node openshift version", "failed": true, "rc": 2}
msg: [Errno 2] No such file or directory
ok: [master1.aos.example.com]
And eventually this as the node stops processing:
TASK: [openshift_manage_node | Wait for Node Registration] ********************
ok: [master1.aos.example.com] => (item=master1.aos.example.com)
failed: [master1.aos.example.com] => (item=node4.aos.example.com) => {"attempts": 50, "changed": false, "cmd": ["oc", "get", "node", "node4.aos.example.c
om"], "delta": "0:00:00.132276", "end": "2016-04-13 11:11:01.961510", "failed": true, "item": "node4.aos.example.com", "rc": 1, "start": "2016-04-13 11:1
1:01.829234", "stdout_lines": [], "warnings": []}
stderr: Error from server: node "node4.aos.example.com" not found
msg: Task failed as maximum retries was encountered
It looks like the first attempt avoided one of the docker run commands but not the other.
I'm fairly confident that must be what you hit, fixed along with another issue that was about to surface if docker was not pre-installed and you're doing containerized installs: https://github.com/openshift/openshift-ansible/pull/1749
Should be in openshift-ansible-3.0.80-1.git.0.2f46898.el7, which is built and ready for qe testing. Check on openshift-ansible-3.0.81-1 scenarios 1 Install containerized ose-3.2 without installed docker Install env successfully scenarios 2 Install containerized ose-3.1 without installed docker Install env successfully scenarios 3 install rpm ose-3.0 without installed docker Install env successfully move this issue to verified if the openshift-ansible-3.0.81-1 is released. > move this issue to verified if the openshift-ansible-3.0.81-1 is released.
I think Ma meant to "move this issue to verified if the openshift-ansible-3.0.81-1 is pushed to puddle."
Check on openshift-ansible-3.0.82-1 Work fine, move this issue to VERIFIED. 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-2016:1065 |
Description of problem: Fail to install containerized env on minimal rhel due to lack of docker package Version-Release number of selected component (if applicable): openshift-ansible-3.0.64-1.git.0.6df4b9a.el7.noarch How reproducible: always Steps to Reproduce: 1. install containerized env on minimal rhel Actual results: TASK: [openshift_facts | Gather Cluster facts and set is_containerized if needed] *** failed: [openshift-*.lab.eng.nay.redhat.com] => {"cmd": "docker run --rm openshift3/ose version", "failed": true, "rc": 2} msg: [Errno 2] No such file or directory failed: [openshift-*.lab.eng.nay.redhat.com] => {"cmd": "docker run --rm openshift3/ose version", "failed": true, "rc": 2} msg: [Errno 2] No such file or directory FATAL: all hosts have already failed -- aborting Expected results: Install env successfully Additional info: