etcd in gateway/grpc_proxy mode hangs on startup

Bug #1691979 reported by Neil Wilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
etcd (Ubuntu)
New
Undecided
Unassigned

Bug Description

If you set the DAEMON_ARGS of etcd so that it runs in gateway or grpc_proxy mode, the unit file will hang on startup

● etcd.service - etcd - highly-available key value store
   Loaded: loaded (/lib/systemd/system/etcd.service; enabled; vendor preset: ena
   Active: activating (start) since Fri 2017-05-19 09:22:09 UTC; 1min 25s ago
     Docs: https://github.com/coreos/etcd
           man:etcd
 Main PID: 24451 (etcd)
    Tasks: 7 (limit: 4915)
   Memory: 8.1M
      CPU: 32ms
   CGroup: /system.slice/etcd.service
           └─24451 /usr/bin/etcd gateway start --endpoints=grp-ux6nb.gb1s.bright

Presumable the type of daemon is different in normal mode, from when it is running as the newer proxy modes.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: etcd 3.1.0-1
ProcVersionSignature: User Name 4.10.0-21.23-generic 4.10.11
Uname: Linux 4.10.0-21-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
Date: Fri May 19 09:22:57 2017
SourcePackage: etcd
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.etcd:
 #### Daemon parameters:
 DAEMON_ARGS="gateway start --endpoints=grp-ux6nb.gb1s.brightbox.com:2379 --listen-addr=127.0.0.1:2379"
mtime.conffile..etc.default.etcd: 2017-05-19T09:22:55.238937

Revision history for this message
Neil Wilson (neil-aldur) wrote :
Revision history for this message
Neil Wilson (neil-aldur) wrote :

This appears to be fixed in 3.1.3 of etcd where they have fixed the sd_notify behaviour.

etcd v3.1.3 (2017-03-10)
- use machine default host when advertise URLs are default
  values(localhost:2379,2380) AND if listen URL is 0.0.0.0
- fix 'etcd gateway' schema handling in DNS discovery
- fix sd_notify behaviors in gateway, grpc-proxy

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.