Description of problem:
On gcp private cluster, when delete controlplanemachineset it's stuck forever, logs report "Required value: targetPools is required for control plane machines"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Delete controlplanemachineset $ oc delete controlplanemachineset cluster -n openshift-machine-api controlplanemachineset.machine.openshift.io "cluster" deleted ^ 2. Check log E0129 04:37:31.940682 1 controller.go:326] "msg"="Reconciler error" "error"="error reconciling control plane machine set: failed to update control plane machine set: admission webhook \"controlplanemachineset.machine.openshift.io\" denied the request: spec.template.machines_v1beta1_machine_openshift_io.spec.providerSpec.value.targetPools: Required value: targetPools is required for control plane machines" "controller"="controlplanemachineset" "reconcileID"="6acec245-1d2d-4643-b45c-69517d8ce93e" 3.
Couldn't delete cpms
Delete cpms successful.
There is no targetPools field in master machine yaml file for private cluster, seems no need to check targetPools for private cluster. template: versioned-installer-restricted_network-private_cluster