-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
UPSTREAM: <carry>: Fix to avoid REST API calls at log level 2. #15934
UPSTREAM: <carry>: Fix to avoid REST API calls at log level 2. #15934
Conversation
This was not accidentally lost. It was intentionally removed since it was rejected upstream and directions for suppressing in openshift without upstream patching provided: #15660 . |
@deads2k thanks. |
@deads2k Do you know how to use glog's vmodule with openshift? |
It's |
@deads2k nice, thanks. |
/assign @eparis /retest |
thank you switching from upstream to carry. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aveshagarwal, eparis The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
Automatic merge from submit-queue (batch tested with PRs 16089, 16305, 16219, 15934, 16366) |
@eparis Why are we carrying patch for this instead of updating our deployment mechanism to pass the flags designed to keep exactly this sort of message under control? It's needless debt to tote around. |
+1 this is just increasing our tech debt. @eparis can we revert this and fix it using vmodule? |
+1 we cannot increase the amount of our carry patches, especially if a reasonable workaround is available. Carries should by always our last resort. |
I agree that carries are horrible. I'm still fighting upstream. Agreeing with me there would be a better solution to this problem. V(2) is the standard logging level and should not contain spammy debug. We will not ship a product with this spam at V(2). If you would like to overrule me please talk to @smarterclayton If the answer is vmodule instead of this 1 liner that means either
If there is a better way than this 1 liner I'm fine with that, but I admit that any such solution will suffer from the problems of 2(b). I like to believe that I recognize that carries are the worst thing we do/have and have rarely said we need to do it. But I am saying that this time. Making our product usable and maintainable by our users will always be my top priority. Even if it sometimes means more work for us. |
This needs to be agreed to as a strong goal in the upstream product or you will be chasing these across the entire stack and just hoping a local approver agrees with you. If @smarterclayton agrees with you, you two should give us a place we can point to in the community repo that gives a frequency of particular
Or you choose to centralize all of your logging patches using a vmodule defaulting/reseting on the flag we're already propogating through via a shim. Making it obvious in one place, all the messages we're having trouble with, eliminating any carry conflicts, and avoiding special-case patches that require ongoing maintenance. |
The vmodule suggestion has similar but worse carry problems since it won't conflict and you won't know you need to update it. It suffers from the same issues as 2(a). |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1484095. Its a regression in origin master (3.7). @sjenning
This PR is carry because the previous PR to 3.6 was carry too (#13844) due to uncertainty around upstream PR (kubernetes/kubernetes#40933).
@stevekuznetsov @deads2k Also is something broken in the rebase process or any related scripts that previous carry PR (#13844) was dropped? Not to blame anyone, just informing as I am wondering if there are other carry PRs that got dropped and we are not aware causing regressions in future, so that if something is broken (process or script), can be fixed.