Bug 1956609: Bypass cache when reading Node and Machine objects#121
Bug 1956609: Bypass cache when reading Node and Machine objects#121openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
We have observed that reading stale data for Machine and Node objects from the cache can cause node bootstrap failures as the approver does not recognise the correct links between CSRs, Machines and Nodes. To prevent reading stale data, only allow the client to return Machine and Node objetcs and lists directly from the API server instead of from the informer cache.
|
@JoelSpeed: This pull request references Bugzilla bug 1956609, 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. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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. |
elmiko
left a comment
There was a problem hiding this comment.
this makes sense to me, i don't suppose there is a meaningful way to test this in unit test? (seems like we'd just be duplicating whatever tests happen in controller-runtime)
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: elmiko The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
|
@JoelSpeed: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
@JoelSpeed: All pull requests linked via external trackers have merged: Bugzilla bug 1956609 has been moved to the MODIFIED state. DetailsIn 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. |
We have observed that reading stale data for Machine and Node objects from the cache can cause node bootstrap failures as the approver does not recognise the correct links between CSRs, Machines and Nodes. To prevent reading stale data, only allow the client to return Machine and Node objetcs and lists directly from the API server instead of from the informer cache.