Bug 1473027 - /etc/etcd/etcd.conf file has ETCD_SNAPSHOT_COUNTER but should be ETCD_SNAPSHOT_COUNT
Summary: /etc/etcd/etcd.conf file has ETCD_SNAPSHOT_COUNTER but should be ETCD_SNAPSHO...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.7.0
Assignee: Jan Chaloupka
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-19 21:29 UTC by Eric Paris
Modified: 2017-11-28 22:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-28 22:04:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description Eric Paris 2017-07-19 21:29:52 UTC
The default conf file has:
#ETCD_SNAPSHOT_COUNTER=10000

But the actual env var that matters is ETCD_SNAPSHOT_COUNT. So if a user uncomments it and sets a new value it will not actually work. Please fix the comment.

Comment 2 Jan Chaloupka 2017-08-31 11:05:29 UTC
Upstream PR: https://github.com/openshift/openshift-ansible/pull/5277

Comment 4 Gaoyun Pei 2017-10-11 06:46:12 UTC
Verify this bug with openshift-ansible-3.7.0-0.143.2.git.0.39404c5.el7.noarch.rpm

In a fresh installed ocp-3.7 cluster, check etcd.conf on etcd host:
#ETCD_SNAPSHOT_COUNTER=10000 has been changed to #ETCD_SNAPSHOT_COUNT=10000

Compared to an old etcd configuration, also have some other new variable applied.
4,5c4
< #ETCD_WAL_DIR=""
< #ETCD_SNAPSHOT_COUNT=10000
---
> #ETCD_SNAPSHOT_COUNTER=10000

23,27c22
< #ETCD_STRICT_RECONFIG_CHECK="false"
< #ETCD_AUTO_COMPACTION_RETENTION="0"
< #ETCD_ENABLE_V2="true"
< ETCD_QUOTA_BACKEND_BYTES=4294967296
---
31,35d25
< #ETCD_PROXY_FAILURE_WAIT="5000"
< #ETCD_PROXY_REFRESH_INTERVAL="30000"
< #ETCD_PROXY_DIAL_TIMEOUT="1000"
< #ETCD_PROXY_WRITE_TIMEOUT="5000"
< #ETCD_PROXY_READ_TIMEOUT="0"
38,39c28
< ETCD_TRUSTED_CA_FILE=/etc/etcd/ca.crt
< ETCD_CLIENT_CERT_AUTH="true"
---
> ETCD_CA_FILE=/etc/etcd/ca.crt
42,44c31
< #ETCD_AUTO_TLS="false"
< ETCD_PEER_TRUSTED_CA_FILE=/etc/etcd/ca.crt
< ETCD_PEER_CLIENT_CERT_AUTH="true"
---
> ETCD_PEER_CA_FILE=/etc/etcd/ca.crt
47,48d33
< #ETCD_PEER_AUTO_TLS="false"
< 
52,57d36
< #[profiling]
< #ETCD_ENABLE_PPROF="false"
< #ETCD_METRICS="basic"
< #
< #[auth]
< #ETCD_AUTH_TOKEN="simple"

Comment 7 errata-xmlrpc 2017-11-28 22:04:10 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://access.redhat.com/errata/RHSA-2017:3188


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