New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mixed case host in VirtualService causes RDS to go STALE. #49638
Comments
We should ignore case in the domain |
https://www.rfc-editor.org/rfc/rfc7230#section-3.2 all headers are case-insenstive |
Just the header name is, this is about the header value. But |
Can you please share gateways as well? I guess you have similar duplicate host name in gateways? We have fixed this for sidecar but not gateways. |
For the gateway config we're using a wildcard like this;
|
@ramaraochavali - I see this is closed as fixed by #49674 but do you know when that will be released? |
In 1.22,and need to backport |
Is this the right place to submit this?
Bug Description
Last week we ran into an issue where a duplicate VirtualService entry was added to one of our clusters and it causes the RDS status to go STALE. I've been able to duplicate the issue and its down to where there's mixed case in the hosts entry. eg:
and
We get the following error in the logs
I can replicate the issue by applying this yaml to the cluster.
We found that this broke routing within the cluster for this service which started generating errors. I can see there's this issue where DNS names were allowed to be case-insensitive and also this issue that prevents duplicate routes (but doesn't account for case?).
Version
Additional Information
No response
The text was updated successfully, but these errors were encountered: