Contour: retry-on, num-retries, and per-try-timeout support lost

Created on 5 Sep 2018  路  3Comments  路  Source: projectcontour/contour

What steps did you take and what happened:
[A clear and concise description of what the bug is.]

added contour.heptio.com/num-retries, contour.heptio.com/retry-on and contour.heptio.com/per-try-timeout to ingress object, and logs have no indication of retrying on 5xx timeouts

What did you expect to happen:

retry logs on 5xx timeouts, evidence in logs

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Noticed that this issue was opened, "fixed", and closed https://github.com/heptio/contour/issues/485 but the code here was deleted and never added back in https://github.com/heptio/contour/commit/2a2a31a0d4df21bbe23948f129218046d16da949#diff-8233a03a118982ca5f389d6f03933517

These are now the supported annotation: https://github.com/heptio/contour/blob/master/internal/dag/annotations.go#L30-L36
which are inconsistent with the docs https://github.com/heptio/contour/blob/master/docs/annotations.md#contour-specific-ingress-annotations

Environment:

  • Contour version: 0.6.0beta.2
  • Kubernetes version: (use kubectl version): 1.10.6
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration: AWS
  • OS (e.g. from /etc/os-release): Fedora 28
kinbug prioritcritical-urgent

Most helpful comment

oops, this is my bad. I will make sure this is fixed before 0.6 is released.

All 3 comments

oops, this is my bad. I will make sure this is fixed before 0.6 is released.

@williamhuangh I checked and the timeout properties are extracted from an annotation here

https://github.com/heptio/contour/blob/master/internal/dag/builder.go#L298

and applied to the object few lines later. I'm going to add some e2e tests to make sure they are being properly applied

Well, this is embarrassing. It turns out that functionality never had any tests ... i'm fixing this now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

annismckenzie picture annismckenzie  路  3Comments

davecheney picture davecheney  路  4Comments

stevesloka picture stevesloka  路  3Comments

stevesloka picture stevesloka  路  6Comments

stevesloka picture stevesloka  路  7Comments