Bug 1401395

Summary: [REF]use different directory for etcd configure file in containerized env
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: Cluster Version OperatorAssignee: Scott Dodson <sdodson>
Status: CLOSED WONTFIX QA Contact: Anping Li <anli>
Severity: low Docs Contact:
Priority: low    
Version: 3.4.0CC: 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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-25 15:51:20 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:

Description Anping Li 2016-12-05 06:56:36 UTC
Description of problem:
Currently, the containerized etcd use same etcd configure file as etc packages.  once the rpm etcd locate in same hosts,  when we remove the etcd packages, the etcd.conf file will be renamed as  etcd.conf.rpmsave.  It is better to use different etcd.conf with rpm etcd packages.



/usr/bin/docker run --name etcd_container --rm -v /var/lib/etcd:/var/lib/etcd:z -v /etc/etcd:/etc/etcd:z --env-file=/etc/etcd/etcd.conf


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


How reproducible:
always

Steps to Reproduce:
1. install OCP 3.4  with containerized etcd.
2. yum install etcd, yum erase etcd
3. check the /etc/etcd/etcd.conf

Actual results:
The /etc/etcd/etcd.conf was renamed to  /etc/etcd/etcd.conf.rpmsave by 'yum erase etcd'

Expected results:


Additional info: