Hide Forgot
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
Do you mean ETCD_WAL_DIR env? $ cat etcd.conf | grep -n WAL 4:#ETCD_WAL_DIR="" 11:#ETCD_MAX_WALS="5"
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.
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