Bug 1283119

Summary: max-snapshots and max-wals are missing in etcd --help
Product: Red Hat Enterprise Linux 7 Reporter: Joy Pu <ypu>
Component: etcdAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1Keywords: Extras
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: etcd-2.2.2-2.el7_2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-16 16:40:19 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 Joy Pu 2015-11-18 10:10:52 UTC
Description of problem:

The help docs from etcd --help missing two flags which is contained in etcd.conf file.


Version-Release number of selected component (if applicable):
etcd.x86_64 0:2.1.1-3.el7

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 max-snapshots and max-wals are only exist in etcd.conf

Actual results:
help missing for the flags

Expected results:
The help txt should show the flags and description for it properly

Additional info:

Fill a pullreq in upstream for it:
https://github.com/coreos/etcd/pull/3887

Comment 2 Jan Chaloupka 2015-11-18 11:31:55 UTC
Thanks Joy, will wait until your PR is merged.

Comment 5 Joy Pu 2016-01-08 13:14:29 UTC
Checked with following steps and seems it is fixed in etcd-2.2.2-5.el7

1. check etcd --help output
# etcd --help |grep -E "max-snapshots|max-wals"
	--max-snapshots '5'
	--max-wals '5'

So update this one to VERIFIED

Comment 7 errata-xmlrpc 2016-02-16 16:40:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0231.html