Bug 1401395 - [REF]use different directory for etcd configure file in containerized env
Summary: [REF]use different directory for etcd configure file in containerized env
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-05 06:56 UTC by Anping Li
Modified: 2017-08-25 15:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-25 15:51:20 UTC
Target Upstream Version:


Attachments (Terms of Use)

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:


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