Bug 1806542 - data-dir option for the discover-etcd-initial-cluster tool should be consistent with other usages
Summary: data-dir option for the discover-etcd-initial-cluster tool should be consiste...
Keywords:
Status: CLOSED DUPLICATE of bug 1806752
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd
Version: 4.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.4.0
Assignee: Suresh Kolichala
QA Contact: ge liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-24 13:45 UTC by Suresh Kolichala
Modified: 2020-02-25 17:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-25 17:00:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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