-
Notifications
You must be signed in to change notification settings - Fork 337
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
fix(xds): backwards compatibility on access logs paths #7662
fix(xds): backwards compatibility on access logs paths #7662
Conversation
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, feel free to merge without fixing the nit
comment, it's super minor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch!
Feels like the api to xdsMetadata should be a bit safer for these kind of cases (Or at least have good error handling).
backporting to release-2.1 with action |
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
Signed-off-by: Jakub Dyszkiewicz <[email protected]>
…7662) (#7694) Signed-off-by: Jakub Dyszkiewicz <[email protected]> Co-authored-by: Jakub Dyszkiewicz <[email protected]>
Checklist prior to review
The problem was
else if metadata.Resource != nil {
. In case of indirect lifecycle (Kubernetes), we don't have resource in the metadata thereforeAccessLogSocketPath
was always empty which results inThe problem goes away on redeploy of DPPs, but we should have a seamless upgrade.
This was not caught by E2E test, because our upgrade tests are somewhat basic. Here is the action plan how to fix it for the future #7663
The issue only affects 2.4 version.
syscall.Mkfifo
have equivalent implementation on the other OS --UPGRADE.md
? --> Changelog:
entry here or add aci/
label to run fewer/more tests?