-
Bug
-
Resolution: Unresolved
-
Normal
-
4.20.0
-
None
Description of problem:
The MachineSet controller deputed to add the scale from zero annotations should only do so if the authoritativeAPI is set to a value is set to MachineAPI. This extra check is needed because in early stages of reconciliation of a new MAPI MachineSet the Paused condition might not yet be set, as such the authority status needs to be checked directly to ensure correct behaviour.
Version-Release number of selected component (if applicable):
How reproducible:
This is a race that can happen, so hard to reproduce reliably
Steps to Reproduce:
See this thread: https://redhat-internal.slack.com/archives/GE2HQ9QP4/p1750163453628329
Actual results:
controller adds scale from zero annotations even if .status.authoritativeAPI is not set to MachineAPI (empty, migrating, clusterapi)
Expected results:
controller should never add scale from zero annotations unless .status.authoritativeAPI is explicitly set to MachineAPI
Additional info: