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)
551
552
returntrue
552
553
}
553
-
framework.Logf("MCP '%v' has %v ready machines. Waiting for the desired ready machine count of %v.", poolName, mcp.Status.UpdatedMachineCount, readyMachineCount)
554
+
// 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)
557
+
} else {
558
+
framework.Logf("MCP '%v' has %v ready machines. Waiting for the desired ready machine count of %v.", poolName, mcp.Status.UpdatedMachineCount, readyMachineCount)
559
+
}
554
560
returnfalse
555
561
}, 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)
556
562
}
557
563
564
+
// `CleanupCustomMCP` cleans up a custom MCP through the following steps:
565
+
// 1. Remove the custom MCP role label from the node
566
+
// 2. Wait for the custom MCP to be updated with no ready machines
567
+
// 3. Optionally, if a MC has been provided, delete it; if none has been provided, skip to step 4
568
+
// 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)
623
+
returntrue
624
+
}
625
+
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)
626
+
returnfalse
627
+
}, 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)
628
+
}
629
+
558
630
// `GetUpdatingNodeSNO` returns the SNO node when the `master` MCP of the cluster starts updating
0 commit comments