{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/9670","repository_url":"https://api.github.com/repos/coreos/etcd","labels_url":"https://api.github.com/repos/coreos/etcd/issues/9670/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/9670/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/9670/events","html_url":"https://github.com/coreos/etcd/issues/9670","id":319110266,"number":9670,"title":"Fresh single-host install: \"etcdserver: publish error: etcdserver: request timed out\" and \"Error: context deadline exceeded\"","user":{"login":"cerebrate","id":371623,"avatar_url":"https://avatars2.githubusercontent.com/u/371623?v=4","gravatar_id":"","url":"https://api.github.com/users/cerebrate","html_url":"https://github.com/cerebrate","followers_url":"https://api.github.com/users/cerebrate/followers","following_url":"https://api.github.com/users/cerebrate/following{/other_user}","gists_url":"https://api.github.com/users/cerebrate/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebrate/subscriptions","organizations_url":"https://api.github.com/users/cerebrate/orgs","repos_url":"https://api.github.com/users/cerebrate/repos","events_url":"https://api.github.com/users/cerebrate/events{/privacy}","received_events_url":"https://api.github.com/users/cerebrate/received_events","type":"User","site_admin":false},"labels":[{"id":46697276,"url":"https://api.github.com/repos/coreos/etcd/labels/Support/Question","name":"Support/Question","color":"EDE7F6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-01T04:10:40Z","updated_at":"2018-05-03T06:25:51Z","closed_at":null,"author_association":"NONE","body":"I've just started playing with etcd, so I've attempted to install the latest release (at this time, 3.3.4) on a single host (actually, an LXC container) to experiment with. Trouble is, I'm getting this error (\"etcdserver: publish error: etcdserver: request timed out\") showing up repeatedly in the log once the server is started, and attempting to use the etcd with, for example, `etcdctl put foo bar` produces the error \"Error: context deadline exceeded\".\r\n\r\nThe log is as follows:\r\n\r\n```\r\n2018-04-30 22:54:30.714439 I | etcdmain: Loading server configuration from \"/etc/etcd.conf\"\r\n2018-04-30 22:54:30.716094 I | etcdmain: etcd Version: 3.3.4\r\n2018-04-30 22:54:30.716119 I | etcdmain: Git SHA: fdde8705f\r\n2018-04-30 22:54:30.716132 I | etcdmain: Go Version: go1.9.5\r\n2018-04-30 22:54:30.716142 I | etcdmain: Go OS/Arch: linux/amd64\r\n2018-04-30 22:54:30.716153 I | etcdmain: setting maximum number of CPUs to 8, total number of available CPUs is 8\r\n2018-04-30 22:54:30.718055 N | etcdmain: the server is already initialized as member before, starting as etcd member...\r\n2018-04-30 22:54:30.718199 I | embed: listening for peers on http://0.0.0.0:2380\r\n2018-04-30 22:54:30.718218 I | embed: pprof is enabled under /debug/pprof\r\n2018-04-30 22:54:30.718254 I | embed: listening for client requests on 0.0.0.0:2379\r\n2018-04-30 22:54:30.743954 I | etcdserver: name = arkane\r\n2018-04-30 22:54:30.743980 I | etcdserver: data dir = /mnt/nas/etcd/arkane.etcd\r\n2018-04-30 22:54:30.743993 I | etcdserver: member dir = /mnt/nas/etcd/arkane.etcd/member\r\n2018-04-30 22:54:30.744005 I | etcdserver: heartbeat = 100ms\r\n2018-04-30 22:54:30.744015 I | etcdserver: election = 1000ms\r\n2018-04-30 22:54:30.744024 I | etcdserver: snapshot count = 10000\r\n2018-04-30 22:54:30.744045 I | etcdserver: advertise client URLs = http://etcd.arkane-systems.lan:2379\r\n2018-04-30 22:54:30.750161 I | etcdserver: restarting member da1dd496f65aadf6 in cluster 4164659cc46c0e7a at commit index 0\r\n2018-04-30 22:54:30.750204 I | raft: da1dd496f65aadf6 became follower at term 0\r\n2018-04-30 22:54:30.750220 I | raft: newRaft da1dd496f65aadf6 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]\r\n2018-04-30 22:54:30.759231 W | auth: simple token is not cryptographically signed\r\n2018-04-30 22:54:30.761159 I | etcdserver: starting server... [version: 3.3.4, cluster version: to_be_decided]\r\n2018-04-30 22:54:37.761739 E | etcdserver: publish error: etcdserver: request timed out\r\n2018-04-30 22:54:44.762028 E | etcdserver: publish error: etcdserver: request timed out\r\n2018-04-30 22:54:51.762172 E | etcdserver: publish error: etcdserver: request timed out\r\n2018-04-30 22:54:58.762419 E | etcdserver: publish error: etcdserver: request timed out\r\n2018-04-30 22:55:05.762626 E | etcdserver: publish error: etcdserver: request timed out\r\n2018-04-30 22:55:12.762856 E | etcdserver: publish error: etcdserver: request timed out\r\n```\r\n\r\n...and the configuration file I am using is as follows:\r\n\r\n```\r\n# This is the configuration file for the etcd server.\r\n\r\n# Human-readable name for this member.\r\nname: 'arkane'\r\n\r\n# Path to the data directory.\r\ndata-dir: /mnt/nas/etcd/arkane.etcd\r\n\r\n# Number of committed transactions to trigger a snapshot to disk.\r\nsnapshot-count: 10000\r\n\r\n# List of comma separated URLs to listen on for peer traffic.\r\nlisten-peer-urls: http://0.0.0.0:2380\r\n\r\n# List of comma separated URLs to listen on for client traffic.\r\nlisten-client-urls: http://0.0.0.0:2379\r\n\r\n# List of this member's peer URLs to advertise to the rest of the cluster.\r\n# The URLs needed to be a comma-separated list.\r\ninitial-advertise-peer-urls: http://etcd.arkane-systems.lan:2380\r\n\r\n# List of this member's client URLs to advertise to the public.\r\n# The URLs needed to be a comma-separated list.\r\nadvertise-client-urls: http://etcd.arkane-systems.lan:2379\r\n\r\n# Initial cluster token for the etcd cluster during bootstrap.\r\ninitial-cluster-token: 'etcd-cluster'\r\n\r\n# Initial cluster state ('new' or 'existing').\r\ninitial-cluster-state: 'new'\r\n\r\n# Enable runtime profiling data via HTTP server\r\nenable-pprof: true\r\n\r\n# Enable debug-level logging for etcd.\r\ndebug: true\r\n\r\n# Specify a particular log level for each etcd package (eg: 'etcdmain=CRITICAL,etcdserver=DEBUG'.\r\nlog-package-levels:\r\n\r\n# Specify 'stdout' or 'stderr' to skip journald logging even when running under systemd.\r\nlog-outputs: [default]\r\n\r\n# Force to create a new one member cluster.\r\nforce-new-cluster: false\r\n\r\nauto-compaction-mode: periodic\r\nauto-compaction-retention: \"1\"\r\n```\r\n\r\nCuriously, `netstat -a` does not seem to show any listening sockets on tcp ports 2379 and 2380 for IPv4, only for IPv6:\r\n\r\n```\r\nActive Internet connections (servers and established)\r\nProto Recv-Q Send-Q Local Address           Foreign Address         State\r\ntcp        0      0 *:netbios-ssn           *:*                     LISTEN\r\ntcp        0      0 *:ssh                   *:*                     LISTEN\r\ntcp        0      0 localhost:smtp          *:*                     LISTEN\r\ntcp        0      0 localhost:6010          *:*                     LISTEN\r\ntcp        0      0 *:microsoft-ds          *:*                     LISTEN\r\ntcp        0      0 etcd.arkane-systems:ssh ATHENA.arkane-sys:51219 ESTABLISHED\r\ntcp6       0      0 [::]:2379               [::]:*                  LISTEN\r\ntcp6       0      0 [::]:netbios-ssn        [::]:*                  LISTEN\r\ntcp6       0      0 [::]:2380               [::]:*                  LISTEN\r\ntcp6       0      0 [::]:ssh                [::]:*                  LISTEN\r\ntcp6       0      0 localhost:smtp          [::]:*                  LISTEN\r\ntcp6       0      0 localhost:6010          [::]:*                  LISTEN\r\ntcp6       0      0 [::]:microsoft-ds       [::]:*                  LISTEN\r\ntcp6       0      0 fdc9:b01a:9d26:0::35328 fdc9:b01a::microsoft-ds ESTABLISHED\r\n```\r\n\r\nAny ideas as to what might be going on?\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/386201591","html_url":"https://github.com/coreos/etcd/issues/9670#issuecomment-386201591","issue_url":"https://api.github.com/repos/coreos/etcd/issues/9670","id":386201591,"user":{"login":"cerebrate","id":371623,"avatar_url":"https://avatars2.githubusercontent.com/u/371623?v=4","gravatar_id":"","url":"https://api.github.com/users/cerebrate","html_url":"https://github.com/cerebrate","followers_url":"https://api.github.com/users/cerebrate/followers","following_url":"https://api.github.com/users/cerebrate/following{/other_user}","gists_url":"https://api.github.com/users/cerebrate/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebrate/subscriptions","organizations_url":"https://api.github.com/users/cerebrate/orgs","repos_url":"https://api.github.com/users/cerebrate/repos","events_url":"https://api.github.com/users/cerebrate/events{/privacy}","received_events_url":"https://api.github.com/users/cerebrate/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T06:25:51Z","updated_at":"2018-05-03T06:25:51Z","author_association":"NONE","body":"Hm. Unfortunately, I'm not sure right now, because all the test hosts I have access to in the lab are LXCs. I'll dig up some spare hardware and see what I can figure out."}}
{"actor":{"display_login":"cerebrate"}}