You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
framework.Logf("MCP '%v' has the desired %v ready machines.", poolName, mcp.Status.UpdatedMachineCount)
553
554
returntrue
554
555
}
555
-
framework.Logf("MCP '%v' has %v ready machines. Waiting for the desired ready machine count of %v.", poolName, mcp.Status.UpdatedMachineCount, readyMachineCount)
556
+
// Log details of what is outstanding for the pool to be considered ready
framework.Logf("MCP '%v' has the desired %v ready machines, but is not in an 'Updated' state.", poolName, mcp.Status.UpdatedMachineCount)
559
+
} else {
560
+
framework.Logf("MCP '%v' has %v ready machines. Waiting for the desired ready machine count of %v.", poolName, mcp.Status.UpdatedMachineCount, readyMachineCount)
561
+
}
556
562
returnfalse
557
563
}, 5*time.Minute, 10*time.Second).Should(o.BeTrue(), "Timed out waiting for MCP '%v' to be in 'Updated' state with %v ready machines.", poolName, readyMachineCount)
558
564
}
559
565
566
+
// `CleanupCustomMCP` cleans up a custom MCP through the following steps:
567
+
// 1. Remove the custom MCP role label from the node
568
+
// 2. Wait for the custom MCP to be updated with no ready machines
569
+
// 3. Optionally, if a MC has been provided, delete it; if none has been provided, skip to step 4
570
+
// 4. Wait for the node to have a current config version equal to the config version of the worker MCP
framework.Logf("Node '%v' has successfully updated and has a current config version of '%v'.", nodeName, nodeCurrentConfig)
625
+
returntrue
626
+
}
627
+
framework.Logf("Node '%v' has a current config version of '%v'. Waiting for the node's current config version to be '%v'.", nodeName, nodeCurrentConfig, config)
628
+
returnfalse
629
+
}, 5*time.Minute, 10*time.Second).Should(o.BeTrue(), "Timed out waiting for node '%v' to have a current config version of '%v'.", nodeName, config)
630
+
}
631
+
560
632
// `GetUpdatingNodeSNO` returns the SNO node when the `master` MCP of the cluster starts updating
0 commit comments