Bug 1356463
| Summary: | The message isn't correct for containerized installation if docker 1.8.2 was pre-installed | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> |
| Component: | Installer | Assignee: | Devan Goodwin <dgoodwin> |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.2.1 | CC: | adellape, anli, aos-bugs, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: |
If Docker 1.8.2 is installed on a host before starting an OpenShift Enterprise 3.2 installation, Ansible now reports the following message: "Cannot upgrade Docker to >= 1.10, please upgrade or remove Docker manually, or use the Docker upgrade playbook if OpenShift is already installed."
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-18 19:28:48 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: | |||
docker_version=1.10.3 was set. For fresh install, we couldn't run Docker upgrade playbook. I think the message should be changed like 'Cannot upgrade Docker to >= 1.10, upgrade to Docker 1.10 mannuly.' Message changing to: Cannot upgrade Docker to >= 1.10, please upgrade or remove Docker manually, or use the Docker upgrade playbook if OpenShift is already installed. The same message needs to be used for both install, and re-running config.yml to maintain your environment. Ideally I'd like to avoid explicitly checking if OpenShift is installed inside this Docker role as it's a bit ill-placed and little logic forks like this are quite cumbersome with ansible. Sound ok to you Anping? Verified and pass atomic-openshift-utils-3.2.19 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:1639 |
Wasn't able to reproduce this one either: ansible OSEv3:children -i ./hosts -a "yum install -y 'docker-1.8.2'" Inventory: openshift_release=v3.2 containerized=true Result: TASK: [docker | Error out if Docker pre-installed but too old] **************** failed: [m1.aos.example.com] => {"failed": true} msg: Docker 1.8.2 is installed, but >= 1.9.1 is required.