Skip to content

Comments

Bug 1956609: Bypass cache when reading Node and Machine objects#121

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
JoelSpeed:api-reader
May 26, 2021
Merged

Bug 1956609: Bypass cache when reading Node and Machine objects#121
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
JoelSpeed:api-reader

Conversation

@JoelSpeed
Copy link
Contributor

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.

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.
@openshift-ci openshift-ci bot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels May 26, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 26, 2021

@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
  • bug is open, matching expected state (open)
  • bug target release (4.8.0) matches configured target release for branch (4.8.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @sunzhaohua2

Details

In response to this:

Bug 1956609: Bypass cache when reading Node and Machine objects

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.

Copy link
Contributor

@elmiko elmiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 26, 2021

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 26, 2021
@lobziik
Copy link
Contributor

lobziik commented May 26, 2021

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 26, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 26, 2021

@JoelSpeed: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-gcp-operator a2fee48 link /test e2e-gcp-operator
ci/prow/e2e-azure-operator a2fee48 link /test e2e-azure-operator

Full PR test history. Your PR dashboard.

Details

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.

@openshift-merge-robot openshift-merge-robot merged commit d183efc into openshift:master May 26, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 26, 2021

@JoelSpeed: All pull requests linked via external trackers have merged:

Bugzilla bug 1956609 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1956609: Bypass cache when reading Node and Machine objects

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants