-
Notifications
You must be signed in to change notification settings - Fork 198
Chore - Fix double trace IDs in the logs when initialising k8s orchestrator #3234
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
Conversation
|
Hi @kolluria. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
4be8089 to
8e248e4
Compare
|
/ok-to-test |
|
/retest-required |
Removed the second invocation of NewContextWithLogger in BeforeServe Refactored BeforeServe method
|
Verified that there is no regression by triggering the precheckin pipeline with my changes - |
|
Nice! /approve |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akankshapanse, deepakkinni, kolluria The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@kolluria: you cannot LGTM your own PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/lgtm |
…igs#3234) Removed the second invocation of NewContextWithLogger in BeforeServe Refactored BeforeServe method
* reading multi vc IP export variables at runtime (#3254) * Added snapshot TC for GC (#3251) * vmservice vm domain workload isolation automation code (#3253) * code fix to increase pvc creation timeout and wait time for vm service ns creation (#3249) * Fix double trace IDs when initialising k8s orchestrator (#3234) Removed the second invocation of NewContextWithLogger in BeforeServe Refactored BeforeServe method * add backward compatibility for vm-operator api version v1alpha1 using convesion methods (#3259) --------- Co-authored-by: sipriyaa <[email protected]> Co-authored-by: Bhavya Nayak <[email protected]> Co-authored-by: Satyanarayana Kolluri <[email protected]>
* Reverted the refactoring done as part of #3234 (#3266) * Fix panic on DeletedFinalStateUnknown (#3262) Properly handle DeletedFinalStateUnknown when watching Nodes * fullsync fix: add nil check on claimreference while listing pvs (#3269) * bump up k8s version to 1.33.0 (#3274) --------- Co-authored-by: Satyanarayana Kolluri <[email protected]> Co-authored-by: Jan Šafránek <[email protected]>
What this PR does / why we need it:
When
vsphere-csi-controllercontainer is spun up, we're making two invocations to GetNewContextWithLogger which is resulting in the logs to have two TraceIDs.The first invocation occurs in
main.goand the second invocation inBeforeServe.This PR removes the second invocation. Additionally,
BeforeServemethod is refactored for better readability.Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #Testing done:
Logs without this change
Logs with this change
Special notes for your reviewer:
Release note: