Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-6760

Couldn't update/delete cpms on gcp private cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.13
    • None
    • None
    • CLOUD Sprint 231
    • 1
    • False
    • Hide

      None

      Show
      None
    • N/A (4.13 bug fixed before GA)
    • Bug Fix
    • Done

      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):

      4.13.0-0.nightly-2023-01-27-165107

      How reproducible:

      Always

      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.
      

      Actual results:

      Couldn't delete cpms

      Expected results:

      Delete cpms successful.  

      Additional info:

      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

              ddonati@redhat.com Damiano Donati
              rhn-support-zhsun Zhaohua Sun
              Zhaohua Sun Zhaohua Sun
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: