etcd成员无法启动,给出错误“运行:发现失败”。经过31次失败尝试后,它最终开始运行,不清楚发生了什么变化。关于此失败有什么想法吗?
这是Container Linux内部版本1688.5.3。
-- Logs begin at Tue 2018-08-07 18:58:13 UTC, end at Tue 2018-08-07 19:56:02 UTC. --
Aug 07 18:58:27 localhost systemd[1]: Starting etcd (System Application Container)...
Aug 07 18:58:28 localhost etcd-wrapper[1198]: ++ id -u etcd
Aug 07 18:58:28 localhost etcd-wrapper[1198]: + exec /usr/bin/rkt run --uuid-file-save=/var/lib/coreos/etcd-member-wrapper.uuid --trust-keys-from-https --mount volume=coreos-systemd-dir,target=/run/systemd/system --volume coreos-systemd-dir,kind=host,source=/run/systemd/system,readOnly=true --mount volume=coreos-notify,target=/run/systemd/notify --volume coreos-notify,kind=host,source=/run/systemd/notify --set-env=NOTIFY_SOCKET=/run/systemd/notify --volume coreos-data-dir,kind=host,source=/var/lib/etcd,readOnly=false --volume coreos-etc-ssl-certs,kind=host,source=/etc/ssl/certs,readOnly=true --volume coreos-usr-share-certs,kind=host,source=/usr/share/ca-certificates,readOnly=true --volume coreos-etc-hosts,kind=host,source=/etc/hosts,readOnly=true --volume coreos-etc-resolv,kind=host,source=/etc/resolv.conf,readOnly=true --mount volume=coreos-data-dir,target=/var/lib/etcd --mount volume=coreos-etc-ssl-certs,target=/etc/ssl/certs --mount volume=coreos-usr-share-certs,target=/usr/share/ca-certificates --mount volume=coreos-etc-hosts,target=/etc/hosts --mount volume=coreos-etc-resolv,target=/etc/resolv.conf --inherit-env --stage1-from-dir=stage1-fly.aci quay.io/coreos/etcd:v3.2.15 --user=232 --
Aug 07 18:58:28 localhost etcd-wrapper[1198]: run: discovery failed
Aug 07 18:58:28 localhost systemd[1]: etcd-member.service: Main process exited, code=exited, status=254/n/a
Aug 07 18:58:28 localhost systemd[1]: etcd-member.service: Failed with result 'exit-code'.
Aug 07 18:58:28 localhost systemd[1]: Failed to start etcd (System Application Container).
Aug 07 18:58:39 localhost systemd[1]: etcd-member.service: Service hold-off time over, scheduling restart.
Aug 07 18:58:39 localhost systemd[1]: etcd-member.service: Scheduled restart job, restart counter is at 1.
Aug 07 18:58:39 localhost systemd[1]: Stopped etcd (System Application Container).
Aug 07 18:58:39 localhost systemd[1]: Starting etcd (System Application Container)...
Aug 07 18:58:39 localhost etcd-wrapper[1255]: ++ id -u etcd
Aug 07 18:58:39 localhost etcd-wrapper[1255]: + exec /usr/bin/rkt run --uuid-file-save=/var/lib/coreos/etcd-member-wrapper.uuid --trust-keys-from-https --mount volume=coreos-systemd-dir,target=/run/systemd/system --volume coreos-systemd-dir,kind=host,source=/run/systemd/system,readOnly=true --mount volume=coreos-notify,target=/run/systemd/notify --volume coreos-notify,kind=host,source=/run/systemd/notify --set-env=NOTIFY_SOCKET=/run/systemd/notify --volume coreos-data-dir,kind=host,source=/var/lib/etcd,readOnly=false --volume coreos-etc-ssl-certs,kind=host,source=/etc/ssl/certs,readOnly=true --volume coreos-usr-share-certs,kind=host,source=/usr/share/ca-certificates,readOnly=true --volume coreos-etc-hosts,kind=host,source=/etc/hosts,readOnly=true --volume coreos-etc-resolv,kind=host,source=/etc/resolv.conf,readOnly=true --mount volume=coreos-data-dir,target=/var/lib/etcd --mount volume=coreos-etc-ssl-certs,target=/etc/ssl/certs --mount volume=coreos-usr-share-certs,target=/usr/share/ca-certificates --mount volume=coreos-etc-hosts,target=/etc/hosts --mount volume=coreos-etc-resolv,target=/etc/resolv.conf --inherit-env --stage1-from-dir=stage1-fly.aci quay.io/coreos/etcd:v3.2.15 --user=232 --
Aug 07 18:58:39 localhost etcd-wrapper[1255]: run: discovery failed
Aug 07 18:58:39 localhost systemd[1]: etcd-member.service: Main process exited, code=exited, status=254/n/a
Aug 07 18:58:39 localhost systemd[1]: etcd-member.service: Failed with result 'exit-code'.
Aug 07 18:58:39 localhost systemd[1]: Failed to start etcd (System Application Container).
Aug 07 18:58:49 localhost systemd[1]: etcd-member.service: Service hold-off time over, scheduling restart.
Aug 07 18:58:49 localhost systemd[1]: etcd-member.service: Scheduled restart job, restart counter is at 2.