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

vSphere ControlPlaneMachineSet Operator Not Allowing Changes to CPMS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • None
    • 4.16
    • None
    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the control plane machine sets (CPMS) did not allow template names for vSphere in a CPMS definition. With this release, a CPMS Operator fix allows template names for vSphere in the CPMS definition so that this issue no longer persists. (link:https://issues.redhat.com/browse/OCPBUGS-32357[*OCPBUGS-32357*]
      Show
      * Previously, the control plane machine sets (CPMS) did not allow template names for vSphere in a CPMS definition. With this release, a CPMS Operator fix allows template names for vSphere in the CPMS definition so that this issue no longer persists. (link: https://issues.redhat.com/browse/OCPBUGS-32357 [* OCPBUGS-32357 *]
    • Bug Fix
    • Done

      Backport for 4.15 - Manually Cloned fromĀ https://issues.redhat.com/browse/OCPBUGS-32295

      Description of problem:

      When installing a cluster, if the CPMS is created with a template without a path, the ControlPlaneMachineSet operator is rejecting any modifications to / deletion of the CPMS CR.

      Version-Release number of selected component (if applicable):

      4.16

      How reproducible:

      always

      Steps to Reproduce:

      1. Install cluster with generated FD
      2. Once the cluster is installed, attempt to delete the CPMS
          

      Actual results:

      Deletion of CPMS is rejected due to invalid template definition

      Expected results:

      Deletion of CPMS completes without error.

      Additional info:

      The job "pull-ci-openshift-cluster-control-plane-machine-set-operator-main-e2e-vsphere-operator" is currently failing with:
      
      ~~~
      control plane machine set should be able to be updated
      Expected success, but got an error:
          <*errors.StatusError | 0xc000233c20>: 
          admission webhook "controlplanemachineset.machine.openshift.io" denied the request: spec.template.machines_v1beta1_machine_openshift_io.spec.providerSpec.value.template: Invalid value: "ci-op-7xjyyytp-91aad-zrdm2-rhcos-generated-region-generated-zone": template must be provided as the full path
          {
              ErrStatus: {
                  TypeMeta: {Kind: "", APIVersion: ""},
                  ListMeta: {
                      SelfLink: "",
                      ResourceVersion: "",
                      Continue: "",
                      RemainingItemCount: nil,
                  },
                  Status: "Failure",
                  Message: "admission webhook \"controlplanemachineset.machine.openshift.io\" denied the request: spec.template.machines_v1beta1_machine_openshift_io.spec.providerSpec.value.template: Invalid value: \"ci-op-7xjyyytp-91aad-zrdm2-rhcos-generated-region-generated-zone\": template must be provided as the full path",
                  Reason: "Forbidden",
                  Details: nil,
                  Code: 403,
              },
          } failed [FAILED] Timed out after 60.000s.
      ~~~

            rhn-support-ngirard Neil Girard
            rhn-support-ngirard Neil Girard
            Milind Yadav Milind Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: