Bug 1323838 - OpenShift installer installs docker on dedicated etcd hosts
Summary: OpenShift installer installs docker on dedicated etcd hosts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jason DeTiberus
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 22:01 UTC by Ryan Howe
Modified: 2019-10-10 11:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:39:57 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1065 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise atomic-openshift-utils bug fix update 2016-05-12 20:32:56 UTC

Description Ryan Howe 2016-04-04 22:01:44 UTC
Description of problem:
Openshift installer trying to install docker on dedicated etcd hosts.

Version-Release number of selected component (if applicable):
3.1.1.6

How reproducible:
100%

Steps to Reproduce:
1. Add "--exclued=docker*" to etcd hosts /etc/yum.conf file
2. Run ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/byo/config.ym


Actual results:
Failed due to trying to install docker

Expected results:
Skip installing docker on dedicated etcd host unless containerized. 


Additional info:

[root@ose ~]# rpm -qa | grep openshift
atomic-openshift-3.1.1.6-4.git.32.adf8ec9.el7aos.x86_64
openshift-ansible-filter-plugins-3.0.47-1.git.0.4498ce3.el7aos.noarch
openshift-ansible-lookup-plugins-3.0.47-1.git.0.4498ce3.el7aos.noarch
atomic-openshift-utils-3.0.47-1.git.0.4498ce3.el7aos.noarch
openshift-ansible-3.0.47-1.git.0.4498ce3.el7aos.noarch
openshift-ansible-playbooks-3.0.47-1.git.0.4498ce3.el7aos.noarch
atomic-openshift-clients-3.1.1.6-4.git.32.adf8ec9.el7aos.x86_64
openshift-ansible-roles-3.0.47-1.git.0.4498ce3.el7aos.noarch

----------------------------

[root@ose ~]# cat /etc/ansible/hosts
#Create an OSEv3 group that contains the masters and nodes groups
[OSEv3:children]
masters
nodes
etcd 

#Set variables common for all OSEv3 hosts
[OSEv3:vars]
deployment_type=openshift-enterprise
openshift_master_identity_providers=[{'name': 'allowall', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/openshift/htpasswd'}]
sm_cluster_network_cidr=10.4.0.0/16
os_sdn_network_plugin_name='redhat/openshift-ovs-multitenant'

# host group for masters
[etcd]
etcd.ose.com 

[masters]
test.ose.com openshift_hostname=test.ose.com openshift_public_hostname=test.ose.com 

#  host group for nodes, includes region info
[nodes]
test.ose.com openshift_hostname=test.ose.com openshift_public_hostname=test.ose.com openshift_node_labels="{'region': 'infra', 'zone': 'default'}"


---------------

FAIL:
TASK: [docker | Install docker] *********************************************** 
ok: [test.ose.com]
failed: [etcd.ose.com] => {"changed": false, "failed": true, "rc": 0, "results": []}
msg: No Package matching 'docker' found available, installed or updated

Comment 1 Jason DeTiberus 2016-04-05 02:04:35 UTC
This has already been addressed in the latest master branch for openshift-ansible and is slated for the 3.2 release.

Comment 2 Anping Li 2016-04-05 09:30:55 UTC
The docker were installed by  those dedicated etcd hosts . so verified and pass.

Comment 4 errata-xmlrpc 2016-05-12 16:39:57 UTC
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


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