-
Notifications
You must be signed in to change notification settings - Fork 173
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
Prevent reconciliation if CSINodeTopology instance is already at Success state #1906
Prevent reconciliation if CSINodeTopology instance is already at Success state #1906
Conversation
/ok-to-test |
In an environment where the datastore is not replicated and no shared datastores available across both zones, if Node failover to different az, and still report it belongs to original AZ, we will have issues provisioning volumes after failover. So we need to make sure to document that unless customer has this specific setup, the node should never failover to another az. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: divyenpatel, shalini-b 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 |
What this PR does / why we need it: The syncer container reconciles an already successful CSINodeTopology instance if it is restarted and this may result in changes to the CSINodeTopology instance if the node has migrated to another topology domain. This can cause confusion in the environment and nodes start crashing as node labels cannot be updated once created.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Testing done:
Tested that the node daemonset pods do not crash and syncer throws the following logs:
Thanks to @divyenpatel for helping with the testing.
Tested deleting CSINodeTopology instances and deleting all CSI pods. New CSI pods came up without any issue.
Special notes for your reviewer:
Release note: