Skip to content

cluster: warm up strict dns cluster with 0 hosts#10728

Merged
asraa merged 1 commit intoenvoyproxy:masterfrom
lambdai:emptystrictdnscluster
Apr 10, 2020
Merged

cluster: warm up strict dns cluster with 0 hosts#10728
asraa merged 1 commit intoenvoyproxy:masterfrom
lambdai:emptystrictdnscluster

Conversation

@lambdai
Copy link
Contributor

@lambdai lambdai commented Apr 9, 2020

Description:

Sometime control plane send strict dns cluster with no endpoint. No hosts to resolve so the cluster is never warmed up.
Choose to warmed up the cluster immediately, as if the resolver returns 0 available addresses.

Alternative solution: reject the cluster config.

Signed-off-by: Yuchen Dai silentdai@gmail.com

Risk Level: LOW. Cluster is never guaranteed to have available hosts.
Testing:
Docs Changes:
Release Notes:
Fixes #3566
[Optional Deprecated:]

Signed-off-by: Yuchen Dai <silentdai@gmail.com>
@ggreenway
Copy link
Member

I believe this fixes #3566

@ggreenway ggreenway self-assigned this Apr 9, 2020
@lambdai
Copy link
Contributor Author

lambdai commented Apr 10, 2020

@ggreenway I didn't realize there was an old issue...
Thanks!

@asraa asraa merged commit 2240490 into envoyproxy:master Apr 10, 2020
@lambdai lambdai deleted the emptystrictdnscluster branch April 13, 2020 19:29
venilnoronha added a commit to vmware-allspark/envoy that referenced this pull request Apr 21, 2020
istio/istio#22837 (comment)
envoyproxy#10728
istio/istio#20981

Signed-off-by: Venil Noronha <veniln@vmware.com>
lambdai added a commit to lambdai/envoy-dai that referenced this pull request Apr 23, 2020
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
lambdai added a commit to lambdai/envoy-dai that referenced this pull request Apr 23, 2020
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
istio-testing pushed a commit to istio/envoy that referenced this pull request Apr 23, 2020
…oyproxy#10728 (#199)

* cluster: warm up strict dns cluster with 0 hosts (envoyproxy#10728)

Signed-off-by: Yuchen Dai <silentdai@gmail.com>

* backport fixup

Signed-off-by: Yuchen Dai <silentdai@gmail.com>
istio-testing pushed a commit to istio/envoy that referenced this pull request Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

STRICT_DNS cluster with empty hosts prevents envoy initialization from completing

3 participants