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
Bug 1735502: compare solely md5 hash for config change #11878
Bug 1735502: compare solely md5 hash for config change #11878
Conversation
…sum output which includes file name
|
@alexanderConstantinescu: This pull request references Bugzilla bug 1735502, which is invalid:
Comment 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. |
|
/assign @patrickdillon |
|
@alexanderConstantinescu: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
|
Interesting. To help me understand, do you have an example of how including the filename would create a diff? |
Hi Sure. Currently, on line 63 we do:
This writes the following to Next on line 143, we do:
Which results in the following (as an example): This means that the comparison on line 152:
will never be equal, even if the hash is - due to the original file location being different. |
|
Hi. I'm sorry to nag but the bug this PR is supposed to fix is rather urgent. Could you please review and eventually merge? |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexanderConstantinescu, patrickdillon 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 |
|
/skip |
|
/bugzilla refresh |
|
@patrickdillon: This pull request references Bugzilla bug 1735502, which is invalid:
Comment 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. |
|
/bugzilla refresh |
|
@alexanderConstantinescu: This pull request references Bugzilla bug 1735502, which is valid. The bug has been moved to the POST state. 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. |
|
@alexanderConstantinescu: All pull requests linked via external trackers have merged. Bugzilla bug 1735502 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 kubernetes/test-infra repository. |
|
/cherrypick release-3.10 |
|
@mtnbikenc: #11878 failed to apply on top of branch "release-3.10": 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. |
Hi
This is a PR issued for resolving Bug 1735502. It seems the sync pod compares node config using the
md5sumoutput, which included file names. This will thus lead to diffs even though the md5 sum is equal. The consequence of this is: killing the kubelet when it should not, which might have several unwanted consequences, but surely in some cases, has this: the network is not properly setup as the kubelet and required CNI plugins are killed unexpectedly during their network setup.The fix uses this answer for only getting the hash of
md5sumPlease let me know in case this needs to be ported to 4.X version as well. I didn't find this file in release-4.X, but let me know in case I missed something.
/assign @squeed @danwinship