You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
outlier detection: max_ejection_percent interfered by stats matcher unexpectedly #8259
) cluster.outbound|80||asm-test-http.default.svc.cluster.local.outlier_detection.ejections_active to record the count of the pods that be ejected in the cluster now
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.
This results in the ejection branch of the if/else block always being run, which will eject all endpoints in the cluster if run enough.
Conceptually this should not be hard to fix that, we just need to track the value in the outlier detector instance, rather than relying on reading from the stats store.
Correct me if any of this is inaccurate, @snowp, or if you have other thoughts on this.
I can confirm the same behavior in different envoy version. When these stats are filtered out envoy will eject all hosts in a cluster (and doesn't honor MaxEjectionPercent).
I've confirmed that this isn't an issue in newer versions (1.20.2). I'd like to get this working in an older version which we'll be running for some time in certain environments before we upgrade. Can you confirm whether this stat configuration should fix my problem, and if not, what else I should try?
Activity
stale commentedon Oct 16, 2019
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.
stale commentedon Oct 23, 2019
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.
nicktrav commentedon Jan 16, 2020
Recapping a conversation I had with @snowp on this - in the event that someone wants to pick this up that knows the Envoy codebase better than I.
If
ejections_active_is filtered out (i.e. not enabled via inclusion of the metric) the following always comes out as zero:envoy/source/common/upstream/outlier_detection_impl.cc
Line 454 in 7d3c6b2
This results in the ejection branch of the if/else block always being run, which will eject all endpoints in the cluster if run enough.
Conceptually this should not be hard to fix that, we just need to track the value in the outlier detector instance, rather than relying on reading from the stats store.
Correct me if any of this is inaccurate, @snowp, or if you have other thoughts on this.
oblazek commentedon Mar 19, 2020
I can confirm the same behavior in different envoy version. When these stats are filtered out envoy will eject all hosts in a cluster (and doesn't honor MaxEjectionPercent).
cpakulski commentedon Oct 22, 2020
I think that this issue has been fixed by #11629. @lambdai please confirm, so it can be closed.
lambdai commentedon Oct 22, 2020
@cpakulski Yes #11629 is the fix. Thank you for linking it
ryant1986 commentedon Feb 29, 2024
Hi, I'm seeing this behavior in istio 1.14, even after attempting to add the necessary stats to work around it
I've confirmed that this isn't an issue in newer versions (1.20.2). I'd like to get this working in an older version which we'll be running for some time in certain environments before we upgrade. Can you confirm whether this stat configuration should fix my problem, and if not, what else I should try?