Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1473027 - /etc/etcd/etcd.conf file has ETCD_SNAPSHOT_COUNTER but should be ETCD_SNAPSHOT_COUNT
/etc/etcd/etcd.conf file has ETCD_SNAPSHOT_COUNTER but should be ETCD_SNAPSHO...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.6.0
Unspecified Unspecified
low Severity low
: ---
: 3.7.0
Assigned To: Jan Chaloupka
Gaoyun Pei
: Extras
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-19 17:29 EDT by Eric Paris
Modified: 2017-11-28 17:04 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:04:10 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description Eric Paris 2017-07-19 17:29:52 EDT
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 07:05:29 EDT
Upstream PR: https://github.com/openshift/openshift-ansible/pull/5277
Comment 4 Gaoyun Pei 2017-10-11 02:46:12 EDT
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 17:04:10 EST
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.