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: 117349: OCPBUGS-19431: Bump lumberjack.v2 v2.0.0 -> v2.2.1 #1552
UPSTREAM: 117349: OCPBUGS-19431: Bump lumberjack.v2 v2.0.0 -> v2.2.1 #1552
Conversation
@vrutkovs: the contents of this pull request could not be automatically validated. The following commits could not be validated and must be approved by a top-level approver:
Comment |
Skipping CI for Draft Pull Request. |
41fade4
to
4f81e4b
Compare
@vrutkovs: the contents of this pull request could not be automatically validated. The following commits could not be validated and must be approved by a top-level approver:
Comment |
@vrutkovs: This pull request references Jira Issue OCPBUGS-11856, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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/test-infra repository. |
/jira refresh |
@vrutkovs: This pull request references Jira Issue OCPBUGS-11856, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (dpunia@redhat.com), skipping review request. 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/test-infra repository. |
@vrutkovs: This pull request references Jira Issue OCPBUGS-11856, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (dpunia@redhat.com), skipping review request. 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/test-infra repository. |
4f81e4b
to
15fab5e
Compare
@vrutkovs: the contents of this pull request could not be automatically validated. The following commits could not be validated and must be approved by a top-level approver:
Comment |
@vrutkovs: This pull request references Jira Issue OCPBUGS-11856, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (dpunia@redhat.com), skipping review request. The bug has been updated to refer to the pull request using the external bug tracker. 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/test-infra repository. |
Update vendor
55a024b
to
b9e75d7
Compare
@vrutkovs: the contents of this pull request could be automatically validated. The following commits are valid:
Comment |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dgrisonnet, soltysh, tkashem, vrutkovs, wangke19 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 |
@vrutkovs is this behaviour of lumberjack library documented somewhere ? Since the version of lumberjack differs from upstream how can we ensure that on the "next" bump the version will be increased ? does this pr fix also already existing clusters ? |
@vrutkovs in more recent releases of the fork we maintain a patch that addresses the issue. If the behaviour of the library is documented and can be trusted then It seems that releases that have the correct version of lumberjack could remove the patch. WDYT? |
Yes - natefinch/lumberjack#120. Oddly enough its not closed upstream
Not sure I understand the question - how can we ensure that micro bump won't overwrite lumberjack version? That should be taken care of during rebase
Yes, files will be updated on rotation.
Yes, I think that needs to be done too |
Yeah, I think it depends on how we handle minor bumps. If the process is to take the upstream branch and apply our patches, then we can easily skip this PR.
Would you be open to addressing this issue ? |
I think we're safe on that - a merge commit is created - https://github.com/openshift/kubernetes/blob/master/REBASE.openshift.md#updating-with-git-merge, so a revert would be noticed. Created #1841 to revert the carry in 4.15+ |
Also there are no references to PR(s) that changed the behaviour. Do we want to take changes ? I would feel better if this behaviour is documented and tested. How did you arrive at this solution ? |
@wangke19 hey, did you test the fix on an already existing cluster ? I'm asking because the issue Vadim referenced is still open and it is not clear whether it works. Thanks. |
This was fixed in natefinch/lumberjack#83, previous attempt was to merge this in openshift/cluster-kube-apiserver-operator#385 |
/label backport-risk-assessed |
5c56cc3
into
openshift:release-4.14
@vrutkovs: Jira Issue OCPBUGS-19431: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-19431 has been moved to the MODIFIED state. 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 openshift-eng/jira-lifecycle-plugin repository. |
[ART PR BUILD NOTIFIER] This PR has been included in build openshift-enterprise-pod-container-v4.14.0-202401041534.p0.g5c56cc3.assembly.stream for distgit openshift-enterprise-pod. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Update lumberjack.v2 dependency. In upstream its a regular dep bump, but it fixes an Openshift bug - termination log file would be created with 0600 permission and stay persistent, as we use
lumberjack
incmd/watch-termination
.Which issue(s) this PR fixes:
Fixes OCPBUGS-11856
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: