etcd in gateway/grpc_proxy mode hangs on startup
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/
Active: activating (start) since Fri 2017-05-19 09:22:09 UTC; 1min 25s ago
Docs: https:/
man:etcd
Main PID: 24451 (etcd)
Tasks: 7 (limit: 4915)
Memory: 8.1M
CPU: 32ms
CGroup: /system.
└─24451 /usr/bin/etcd gateway start --endpoints=
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
ProcVersionSign
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.
#### Daemon parameters:
DAEMON_
mtime.conffile.
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) localhost: 2379,2380) AND if listen URL is 0.0.0.0
- use machine default host when advertise URLs are default
values(
- fix 'etcd gateway' schema handling in DNS discovery
- fix sd_notify behaviors in gateway, grpc-proxy