Skip to content

Instantly share code, notes, and snippets.

@turkenh
Created February 11, 2020 09:15
Show Gist options
  • Save turkenh/119ae5a40421d115dc829f5a5414f6db to your computer and use it in GitHub Desktop.
Save turkenh/119ae5a40421d115dc829f5a5414f6db to your computer and use it in GitHub Desktop.
==> Bash debug is on
==> Detected data from previous deployments...
https://etcd-cluster-0.etcd-cluster-headless.etcd-system.svc.cluster.local:2379 is healthy: successfully committed proposal: took = 14.816755ms
https://etcd-cluster-1.etcd-cluster-headless.etcd-system.svc.cluster.local:2379 is healthy: successfully committed proposal: took = 13.129666ms
grep: /bitnami/etcd/member_removal.log: No such file or directory
==> Updating member in existing cluster...
Member 3399487d12010a3d updated in cluster f0e41ec3893d5d2a
2020-02-11 08:57:35.148890 I | pkg/flags: recognized and used environment variable ETCD_ADVERTISE_CLIENT_URLS=https://etcd-cluster-2.etcd-cluster-headless.etcd-system.svc.cluster.local:2379
2020-02-11 08:57:35.148965 I | pkg/flags: recognized and used environment variable ETCD_CERT_FILE=/opt/bitnami/etcd/certs/client/cert.pem
2020-02-11 08:57:35.148975 I | pkg/flags: recognized and used environment variable ETCD_CLIENT_CERT_AUTH=true
2020-02-11 08:57:35.148986 I | pkg/flags: recognized and used environment variable ETCD_DATA_DIR=/bitnami/etcd/data
2020-02-11 08:57:35.149018 I | pkg/flags: recognized and used environment variable ETCD_INITIAL_ADVERTISE_PEER_URLS=https://etcd-cluster-2.etcd-cluster-headless.etcd-system.svc.cluster.local:2380
2020-02-11 08:57:35.149033 I | pkg/flags: recognized and used environment variable ETCD_INITIAL_CLUSTER=etcd-cluster-0=https://etcd-cluster-0.etcd-cluster-headless.etcd-system.svc.cluster.local:2380,etcd-cluster-1=https://etcd-cluster-1.etcd-cluster-headless.etcd-system.svc.cluster.local:2380,etcd-cluster-2=https://etcd-cluster-2.etcd-cluster-headless.etcd-system.svc.cluster.local:2380,
2020-02-11 08:57:35.149042 I | pkg/flags: recognized and used environment variable ETCD_INITIAL_CLUSTER_STATE=new
2020-02-11 08:57:35.149049 I | pkg/flags: recognized and used environment variable ETCD_INITIAL_CLUSTER_TOKEN=etcd-cluster-k8s
2020-02-11 08:57:35.149069 I | pkg/flags: recognized and used environment variable ETCD_KEY_FILE=/opt/bitnami/etcd/certs/client/key.pem
2020-02-11 08:57:35.149083 I | pkg/flags: recognized and used environment variable ETCD_LISTEN_CLIENT_URLS=https://0.0.0.0:2379
2020-02-11 08:57:35.149106 I | pkg/flags: recognized and used environment variable ETCD_LISTEN_PEER_URLS=https://0.0.0.0:2380
2020-02-11 08:57:35.149121 I | pkg/flags: recognized and used environment variable ETCD_NAME=etcd-cluster-2
2020-02-11 08:57:35.149127 I | pkg/flags: recognized and used environment variable ETCD_PEER_AUTO_TLS=true
2020-02-11 08:57:35.149153 I | pkg/flags: recognized and used environment variable ETCD_TRUSTED_CA_FILE=/opt/bitnami/etcd/certs/client/ca.crt
2020-02-11 08:57:35.149162 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_SERVICE_PORT=2379
2020-02-11 08:57:35.149167 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_SERVICE_PORT_PEER=2380
2020-02-11 08:57:35.149172 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_PORT_2379_TCP_PROTO=tcp
2020-02-11 08:57:35.149176 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_PORT_2380_TCP=tcp://10.0.2.103:2380
2020-02-11 08:57:35.149181 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_PORT=tcp://10.0.2.103:2379
2020-02-11 08:57:35.149185 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_PORT_2379_TCP=tcp://10.0.2.103:2379
2020-02-11 08:57:35.149190 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_SERVICE_HOST=10.0.2.103
2020-02-11 08:57:35.149195 W | pkg/flags: unrecognized environment variable ETCD_ROOT_PASSWORD=qwerty123
2020-02-11 08:57:35.149200 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_PORT_2380_TCP_PROTO=tcp
2020-02-11 08:57:35.149205 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_SERVICE_PORT_CLIENT=2379
2020-02-11 08:57:35.149211 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_PORT_2380_TCP_PORT=2380
2020-02-11 08:57:35.149216 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_PORT_2379_TCP_PORT=2379
2020-02-11 08:57:35.149226 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_PORT_2380_TCP_ADDR=10.0.2.103
2020-02-11 08:57:35.149231 W | pkg/flags: unrecognized environment variable ETCD_CLUSTER_PORT_2379_TCP_ADDR=10.0.2.103
[WARNING] Deprecated '--logger=capnslog' flag is set; use '--logger=zap' flag instead
2020-02-11 08:57:35.149279 I | etcdmain: etcd Version: 3.4.3
2020-02-11 08:57:35.149285 I | etcdmain: Git SHA: 3cf2f69b5
2020-02-11 08:57:35.149290 I | etcdmain: Go Version: go1.12.12
2020-02-11 08:57:35.149295 I | etcdmain: Go OS/Arch: linux/amd64
2020-02-11 08:57:35.149301 I | etcdmain: setting maximum number of CPUs to 4, total number of available CPUs is 4
2020-02-11 08:57:35.149386 W | etcdmain: found invalid file/dir fixtures under data dir /bitnami/etcd/data (Ignore this if you are upgrading etcd)
2020-02-11 08:57:35.149393 W | etcdmain: found invalid file/dir member_id under data dir /bitnami/etcd/data (Ignore this if you are upgrading etcd)
2020-02-11 08:57:35.149432 W | etcdmain: found invalid file/dir new_member_envs under data dir /bitnami/etcd/data (Ignore this if you are upgrading etcd)
2020-02-11 08:57:35.149438 W | etcdmain: found invalid file/dir new_member_envse under data dir /bitnami/etcd/data (Ignore this if you are upgrading etcd)
2020-02-11 08:57:35.149449 N | etcdmain: the server is already initialized as member before, starting as etcd member...
[WARNING] Deprecated '--logger=capnslog' flag is set; use '--logger=zap' flag instead
2020-02-11 08:57:35.149509 I | embed: peerTLS: cert = /bitnami/etcd/data/fixtures/peer/cert.pem, key = /bitnami/etcd/data/fixtures/peer/key.pem, trusted-ca = , client-cert-auth = false, crl-file =
2020-02-11 08:57:35.163136 I | embed: name = etcd-cluster-2
2020-02-11 08:57:35.163160 I | embed: data dir = /bitnami/etcd/data
2020-02-11 08:57:35.163165 I | embed: member dir = /bitnami/etcd/data/member
2020-02-11 08:57:35.163169 I | embed: heartbeat = 100ms
2020-02-11 08:57:35.163172 I | embed: election = 1000ms
2020-02-11 08:57:35.163175 I | embed: snapshot count = 100000
2020-02-11 08:57:35.163187 I | embed: advertise client URLs = https://etcd-cluster-2.etcd-cluster-headless.etcd-system.svc.cluster.local:2379
2020-02-11 08:57:35.163193 I | embed: initial advertise peer URLs = https://etcd-cluster-2.etcd-cluster-headless.etcd-system.svc.cluster.local:2380
2020-02-11 08:57:35.163198 I | embed: initial cluster =
2020-02-11 08:57:35.176260 I | etcdserver: restarting member b64def235981cdc4 in cluster f0e41ec3893d5d2a at commit index 3
raft2020/02/11 08:57:35 INFO: b64def235981cdc4 switched to configuration voters=()
raft2020/02/11 08:57:35 INFO: b64def235981cdc4 became follower at term 5
raft2020/02/11 08:57:35 INFO: newRaft b64def235981cdc4 [peers: [], term: 5, commit: 3, applied: 0, lastindex: 3, lastterm: 1]
2020-02-11 08:57:35.240620 W | auth: simple token is not cryptographically signed
2020-02-11 08:57:35.649722 I | etcdserver: starting server... [version: 3.4.3, cluster version: to_be_decided]
raft2020/02/11 08:57:35 INFO: b64def235981cdc4 switched to configuration voters=(5265291790490454242)
2020-02-11 08:57:35.747970 I | etcdserver/membership: added member 491212fc9af6c8e2 [https://etcd-cluster-1.etcd-cluster-headless.etcd-system.svc.cluster.local:2380] to cluster f0e41ec3893d5d2a
2020-02-11 08:57:35.748001 I | rafthttp: starting peer 491212fc9af6c8e2...
2020-02-11 08:57:35.748026 I | rafthttp: started HTTP pipelining with peer 491212fc9af6c8e2
2020-02-11 08:57:35.846436 I | rafthttp: started streaming with peer 491212fc9af6c8e2 (writer)
2020-02-11 08:57:35.935830 I | rafthttp: started peer 491212fc9af6c8e2
2020-02-11 08:57:35.936115 I | rafthttp: added peer 491212fc9af6c8e2
raft2020/02/11 08:57:35 INFO: b64def235981cdc4 switched to configuration voters=(5265291790490454242 6582660516848760795)
2020-02-11 08:57:35.945880 I | etcdserver/membership: added member 5b5a4edd17c277db [https://etcd-cluster-0.etcd-cluster-headless.etcd-system.svc.cluster.local:2380] to cluster f0e41ec3893d5d2a
2020-02-11 08:57:35.946174 I | rafthttp: starting peer 5b5a4edd17c277db...
2020-02-11 08:57:35.946351 I | rafthttp: started HTTP pipelining with peer 5b5a4edd17c277db
2020-02-11 08:57:36.039678 I | rafthttp: started peer 5b5a4edd17c277db
2020-02-11 08:57:36.039971 I | rafthttp: added peer 5b5a4edd17c277db
raft2020/02/11 08:57:36 INFO: b64def235981cdc4 switched to configuration voters=(5265291790490454242 6582660516848760795 13136418623214177732)
2020-02-11 08:57:36.040334 I | etcdserver/membership: added member b64def235981cdc4 [https://etcd-cluster-2.etcd-cluster-headless.etcd-system.svc.cluster.local:2380] to cluster f0e41ec3893d5d2a
2020-02-11 08:57:36.040396 I | rafthttp: started streaming with peer 5b5a4edd17c277db (writer)
2020-02-11 08:57:36.040457 I | rafthttp: started streaming with peer 5b5a4edd17c277db (stream MsgApp v2 reader)
2020-02-11 08:57:36.041100 I | rafthttp: started streaming with peer 5b5a4edd17c277db (stream Message reader)
2020-02-11 08:57:36.041632 I | rafthttp: started streaming with peer 5b5a4edd17c277db (writer)
2020-02-11 08:57:36.048806 I | rafthttp: started streaming with peer 491212fc9af6c8e2 (stream Message reader)
2020-02-11 08:57:36.049170 I | rafthttp: started streaming with peer 491212fc9af6c8e2 (stream MsgApp v2 reader)
2020-02-11 08:57:36.049338 I | rafthttp: started streaming with peer 491212fc9af6c8e2 (writer)
2020-02-11 08:57:36.138446 I | embed: ClientTLS: cert = /opt/bitnami/etcd/certs/client/cert.pem, key = /opt/bitnami/etcd/certs/client/key.pem, trusted-ca = /opt/bitnami/etcd/certs/client/ca.crt, client-cert-auth = true, crl-file =
2020-02-11 08:57:36.146355 I | embed: listening for peers on [::]:2380
2020-02-11 08:57:36.146646 E | rafthttp: streaming request ignored (ID mismatch got 3399487d12010a3d want b64def235981cdc4)
raft2020/02/11 08:57:36 INFO: raft.node: b64def235981cdc4 elected leader 491212fc9af6c8e2 at term 5
2020-02-11 08:57:36.147159 E | rafthttp: streaming request ignored (ID mismatch got 3399487d12010a3d want b64def235981cdc4)
2020-02-11 08:57:36.147343 E | rafthttp: streaming request ignored (ID mismatch got 3399487d12010a3d want b64def235981cdc4)
2020-02-11 08:57:36.849042 E | etcdserver: the member has been permanently removed from the cluster
2020-02-11 08:57:36.849071 I | etcdserver: the data-dir used by this member must be removed.
2020-02-11 08:57:36.849194 E | etcdserver: publish error: etcdserver: request cancelled
2020-02-11 08:57:36.849212 E | etcdserver: publish error: etcdserver: request cancelled
2020-02-11 08:57:36.935624 E | etcdserver: publish error: etcdserver: request cancelled
2020-02-11 08:57:37.035588 I | etcdserver: aborting publish because server is stopped
2020-02-11 08:57:37.043626 E | rafthttp: streaming request ignored (ID mismatch got 3399487d12010a3d want b64def235981cdc4)
2020-02-11 08:57:37.044445 E | rafthttp: streaming request ignored (ID mismatch got 3399487d12010a3d want b64def235981cdc4)
2020-02-11 08:57:37.047203 E | rafthttp: streaming request ignored (ID mismatch got 3399487d12010a3d want b64def235981cdc4)
2020-02-11 08:57:37.047464 W | rafthttp: failed to process raft message (raft: stopped)
2020-02-11 08:57:37.135797 I | rafthttp: stopping peer 491212fc9af6c8e2...
2020-02-11 08:57:37.135897 I | rafthttp: stopped streaming with peer 491212fc9af6c8e2 (writer)
2020-02-11 08:57:37.135911 I | rafthttp: stopped streaming with peer 491212fc9af6c8e2 (writer)
2020-02-11 08:57:37.135960 W | rafthttp: failed to process raft message (raft: stopped)
2020-02-11 08:57:37.136170 W | rafthttp: failed to process raft message (raft: stopped)
2020-02-11 08:57:37.836750 I | rafthttp: stopped HTTP pipelining with peer 491212fc9af6c8e2
2020-02-11 08:57:37.836908 I | rafthttp: stopped streaming with peer 491212fc9af6c8e2 (stream MsgApp v2 reader)
2020-02-11 08:57:37.836934 I | rafthttp: stopped streaming with peer 491212fc9af6c8e2 (stream Message reader)
2020-02-11 08:57:37.836946 I | rafthttp: stopped peer 491212fc9af6c8e2
2020-02-11 08:57:37.836958 I | rafthttp: stopping peer 5b5a4edd17c277db...
2020-02-11 08:57:37.836967 I | rafthttp: stopped streaming with peer 5b5a4edd17c277db (writer)
2020-02-11 08:57:37.836980 I | rafthttp: stopped streaming with peer 5b5a4edd17c277db (writer)
2020-02-11 08:57:37.837183 I | rafthttp: stopped HTTP pipelining with peer 5b5a4edd17c277db
2020-02-11 08:57:37.847685 I | rafthttp: stopped streaming with peer 5b5a4edd17c277db (stream MsgApp v2 reader)
2020-02-11 08:57:37.848019 I | rafthttp: stopped streaming with peer 5b5a4edd17c277db (stream Message reader)
2020-02-11 08:57:37.848134 I | rafthttp: stopped peer 5b5a4edd17c277db
2020-02-11 08:57:37.851804 W | rafthttp: failed to process raft message (raft: stopped)
2020-02-11 08:57:37.853619 W | rafthttp: failed to process raft message (raft: stopped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment