Bug 1806542

Summary: data-dir option for the discover-etcd-initial-cluster tool should be consistent with other usages
Product: OpenShift Container Platform Reporter: Suresh Kolichala <skolicha>
Component: EtcdAssignee: Suresh Kolichala <skolicha>
Status: CLOSED DUPLICATE QA Contact: ge liu <geliu>
Severity: high Docs Contact:
Priority: high    
Version: 4.4CC: mfojtik
Target Milestone: ---   
Target Release: 4.4.0   
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: 2020-02-25 17:00:02 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:
Embargoed:

Description Suresh Kolichala 2020-02-24 13:45:00 UTC
Description of problem:
In the etcd world, data-dir is used to represent the parent directory of member data. Its value is typically /var/lib/etcd where member directory resides.

The discover-etcd-initial-cluster tool currently expects data-dir to be /var/lib/etcd/member. Changing this to be consistent with other usages is warranted.

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


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:
discover-etcd-initial-cluster as used in etcd-pod.yaml requires --data-dir option to be /var/lib/etcd/member.

Expected results:
discover-etcd-initial-cluster should use --data-dir as /var/lib/etcd to be consistent with other usages of the phrase `data-dir`.

Additional info:

Comment 3 Suresh Kolichala 2020-02-25 17:00:02 UTC

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