RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1295997 - Need add ETCD_WAL_DIR to default etcd.conf
Summary: Need add ETCD_WAL_DIR to default etcd.conf
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: etcd
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Chaloupka
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-06 04:00 UTC by Joy Pu
Modified: 2016-01-08 08:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-08 02:23:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joy Pu 2016-01-06 04:00:42 UTC
As we put all flags to etcd.conf, so maybe it is better to add the new one wal-d
ir too as a comments in the file

Version-Release number of selected component (if applicable):
etcd-2.2.2-5.el7.x86_64


How reproducible:
100%


Steps to Reproduce:
1. Get etcd --help
$ etcd --help
2. Compare the flags with the flags we get from etcd.conf
3. The --wal-dir is only exist from etcd --help output

Actual results:
etcd.conf miss a flag can be get from etcd --help

Expected results:
etcd.conf should cover all flags get from etcd --help

Comment 2 Jan Chaloupka 2016-01-06 07:11:53 UTC
Do you mean ETCD_WAL_DIR env?

$ cat etcd.conf | grep -n WAL
4:#ETCD_WAL_DIR=""
11:#ETCD_MAX_WALS="5"

Comment 3 Joy Pu 2016-01-08 02:23:08 UTC
Hi Jan

Double checked the file and flags in another machine. Seems this is caused by unclean test env. Sorry about this.

Retest it again. And find that this flag is in the etcd.conf. But etcd --help is missing a flag --strict-reconfig-check. So will close this one.

Comment 4 Jan Chaloupka 2016-01-08 08:14:10 UTC
Thanks Joy for verifying. 

--strict-reconfig-check flag does not exist in etcd-2.2.2. It got into config file by accident. However, it is commented out. The option was added in [1] commit.

[1] https://github.com/coreos/etcd/commit/78791f81a6abd150d99ff2aa88752806fb5c6f1b


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