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
Adding new Istio routerule causes small window of 503s #348
area/networkingkind/bugCategorizes issue or PR as related to a bug.trackingThis label is applied to Knative issues that track issues external to Knative (e.g. Istio, K8s)
changed the title [-]helloworld sample unavailable during roolout of updated_configuration.yaml[/-][+]helloworld sample unavailable during rollout of updated_configuration.yaml[/+]on Mar 13, 2018
to both configuration.yaml and updated_configuration.yaml.
However, I continue to see transitions to HTTP 503 when I switch back and forth between bazel run sample/helloworld:everything.apply and bazel run sample/helloworld:updated_everything.apply.
$ sample/helloworld/status.sh
Fri Mar 16 11:25:47 CET 2018: Unknown -> 404
Fri Mar 16 11:27:56 CET 2018: 404 -> 503
Fri Mar 16 11:28:19 CET 2018: 503 -> 200
Fri Mar 16 11:31:25 CET 2018: 200 -> 503
Fri Mar 16 11:31:25 CET 2018: 503 -> 200
Fri Mar 16 11:32:55 CET 2018: 200 -> 503
Fri Mar 16 11:32:56 CET 2018: 503 -> 200
Fri Mar 16 11:33:18 CET 2018: 200 -> 503
Fri Mar 16 11:34:55 CET 2018: 503 -> 200
Fri Mar 16 12:29:26 CET 2018: 200 -> 503
Fri Mar 16 12:29:26 CET 2018: 503 -> 200
Fri Mar 16 12:29:48 CET 2018: 200 -> 503
Fri Mar 16 12:29:50 CET 2018: 503 -> 200
Fri Mar 16 12:30:42 CET 2018: 200 -> 503
Fri Mar 16 12:30:43 CET 2018: 503 -> 200
@mattmoor Is there anything I miss? Otherwise I suppose there is more than a missing readiness probe at work. I'll dig a bit in the code if I can figure out what might be going on.
Looks like readYnessProbe was a typo (should be: readinessProbe). I started to look into stricter JSON validation yesterday, but Go finally got around to adding an option to disallow unknown fields to encoding/json in 1.10, which K8s isn't yet on (there are issues).
Even if when we change the helloworld example and only route traffic after the new revision is already created for a while, we are still hitting the same 503s.
changed the title [-]helloworld sample unavailable during rollout of updated_configuration.yaml[/-][+]Adding new Istio routerule causes small window of 503s[/+]on May 8, 2018
area/networkingkind/bugCategorizes issue or PR as related to a bug.trackingThis label is applied to Knative issues that track issues external to Knative (e.g. Istio, K8s)
Activity
[-]helloworld sample unavailable during roolout of updated_configuration.yaml[/-][+]helloworld sample unavailable during rollout of updated_configuration.yaml[/+]loewenstein commentedon Mar 16, 2018
I improved the monitoring of status changes with
I added
to both configuration.yaml and updated_configuration.yaml.
However, I continue to see transitions to HTTP 503 when I switch back and forth between
bazel run sample/helloworld:everything.applyandbazel run sample/helloworld:updated_everything.apply.@mattmoor Is there anything I miss? Otherwise I suppose there is more than a missing readiness probe at work. I'll dig a bit in the code if I can figure out what might be going on.
mattmoor commentedon Mar 16, 2018
That's be great.
Adding @vaikas-google @ian-mi in case they have any ideas what might be causing this.
loewenstein commentedon Mar 16, 2018
Could this simple be an Istio bug, i.e. https://docs.google.com/document/d/1UXJIqfUGkZlw1aZYSkQDYkq1TnYbOaEkohtoTS2mz1g/edit#heading=h.x9snb54sjlu9
In any case I will submit a PR adding readiness probes.
mattmoor commentedon Mar 16, 2018
I think that's most likely
mattmoor commentedon Mar 16, 2018
Looks like
readYnessProbewas a typo (should be:readinessProbe). I started to look into stricter JSON validation yesterday, but Go finally got around to adding an option to disallow unknown fields toencoding/jsonin 1.10, which K8s isn't yet on (there are issues).Updates to namespace, readiness probe & domain (#451)
mattmoor commentedon Apr 18, 2018
/assign @tcnghia
tcnghia commentedon Apr 18, 2018
This is checked in envoyproxy/envoy#2774 to fix envoyproxy/envoy#1930
tcnghia commentedon Apr 24, 2018
Even if when we change the helloworld example and only route traffic after the new revision is already created for a while, we are still hitting the same 503s.
tcnghia commentedon Apr 25, 2018
I tested with Istio 7.0.1 which has envoyproxy/envoy#2774 but the issue isn't fixed. I've sent the relevant log files to Istio team for investigation.
tcnghia commentedon Apr 25, 2018
I opened istio/istio#5204 , since issue doesn't seem to be fixed in 0.7.1.
[-]helloworld sample unavailable during rollout of updated_configuration.yaml[/-][+]Adding new Istio routerule causes small window of 503s[/+]tcnghia commentedon May 8, 2018
Reopen to track Istio issue.
mdemirhan commentedon Jul 2, 2018
This is now fixed.