Service with Connect sidecar de-registered without removing sidecar first #10845
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/consul/connect
Consul Connect integration
type/bug
Nomad implicitly registers Connect sidecar services via the
connect.sidecar_service
stanza, and does not keep track of the sidecar service or its checks internally. When it's time to shut the task down, Nomad only de-registers the parent service (because that's all it knows about). This causes an ERROR and WARN in Consul logs - it's the root cause of hashicorp/consul#8657Nomad needs to explicitly de-register the sidecar service before de-registering the parent service to avoid making Consul unhappy.
The text was updated successfully, but these errors were encountered: