Bug 1430612 - Docker-excluder should be always enabled during installation
Summary: Docker-excluder should be always enabled during installation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jan Chaloupka
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-09 06:42 UTC by liujia
Modified: 2018-03-09 00:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Cause: docker-excluder disabled before the docker installation Consequence: docker can be installed with newer version that is not compatible Fix: enable the docker-excluder during the docker installation Result: docker is installed with a version that is compatible/allowed
Clone Of:
Environment:
Last Closed: 2017-04-11 21:09:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0903 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-04-12 22:45:42 UTC

Description liujia 2017-03-09 06:42:40 UTC
Description of problem:
Trigger an rpm install against fresh hosts(without excluders). Install tools will install docker-excluder on the hosts and then run task [disable docker excluder] to disable docker-excluder before proceed task [Install Docker]. 
It will result that docker-excluder does not take effect to prevent higher version of docker(>1.12) installed.

Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.5.28-1.git.0.103513e.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Install OCP3.5 on fresh hosts
2.
3.

Actual results:
Docker-excluder was disabled during installation.

Expected results:
Docker-excluder should be enabled during installation.

Additional info:
It should be enabled after installation too.

Comment 1 Jan Chaloupka 2017-03-09 15:39:12 UTC

*** This bug has been marked as a duplicate of bug 1430613 ***

Comment 2 Johnny Liu 2017-03-10 01:28:25 UTC
This bug is different with bug 1430613. This bug is talking about docker-excluder, bug 1430613 is talking about openshift-excluder.

docker-excluder should be always enabled in the whole installation progress, so that installer could install supported version of docker. Even after installation, docker-excluder should be kept enabled to avoid unsupported version of docker being updated by "yum update".

openshift-excluder should be disabled upon installing, so that allow installer to detect openshift version to install, while once installation is completed, openshift-excluder should be enabled again to avoid atomic-openshift is updated unexpected by "yum update".

Comment 3 Jan Chaloupka 2017-03-10 14:17:55 UTC
Upstream PR: https://github.com/openshift/openshift-ansible/pull/3620

Comment 5 liujia 2017-03-14 03:31:37 UTC
Version:
atomic-openshift-utils-3.5.32-1.git.0.42cf266.el7.noarch

Steps:
1. Rpm install OCP3.5 on fresh hosts

Result:
Docker-excluder is installed and enabled after installation.

Check install.log to find that install and enable docker_excluder tasks will be done before task [Install Docker].


Note You need to log in before you can comment on or make changes to this bug.