Bug 1690900 - etcd rpm is installed when etcd is co-located on a master
Summary: etcd rpm is installed when etcd is co-located on a master
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.11.z
Assignee: Jeremiah Stuever
QA Contact: ge liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-20 12:42 UTC by Pablo Alonso Rodriguez
Modified: 2019-06-06 02:00 UTC (History)
1 user (show)

Fixed In Version: openshift-ansible-3.11.102-1.git.0.16a8aac.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-06 02:00:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0794 0 None None None 2019-06-06 02:00:39 UTC

Description Pablo Alonso Rodriguez 2019-03-20 12:42:07 UTC
Description of problem:

When etcd runs co-located on a master, it is deployed as a static pod, so it should not be necessary to install etcd rpm. However it is installed.

Version-Release number of the following components:

$ rpm -q openshift-ansible
openshift-ansible-3.11.51-2.git.0.51c90a3.el7.noarch

$ rpm -q ansible
ansible-2.7.1-1.el7.noarch

$ ansible --version
ansible 2.7.1
  config file = /opt/mev/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /bin/ansible
  python version = 2.7.5 (default, May 31 2018, 09:41:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

How reproducible:

Always

Steps to Reproduce:
1. Install a cluster with etcd co-located with masters

Actual results:
etcd rpm is installed, although etcd is correctly deployed as static pod

Expected results:
etcd rpm should not be installed

Additional info:

etcdctl2 and etcdctl3 functions are properly designed to use "/usr/local/bin/master-exec etcd etcd" when static pod is present, so it should not be necessary to have etcdctl binary on host for them to work.

Comment 3 ge liu 2019-04-23 09:19:59 UTC
Recreated and Verified:

# rpm -qa|grep etcd
etcd-3.2.22-1.el7.x86_64
# openshift version
openshift v3.11.51


# openshift version
openshift v3.11.109
# rpm -q etcd
package etcd is not installed
# etcdctl 
bash: etcdctl: command not found

Comment 5 errata-xmlrpc 2019-06-06 02:00:29 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-2019:0794


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