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

vSphere ControlPlaneMachineSet Operator Not Allowing Changes to CPMS

XMLWordPrintable

    • Important
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, if the control plane machine set was created with a template without a path during installation on a {vmw-first} cluster, the Control Plane Machine Set Operator rejected modifications or deletion of the control plane machine set custom resource (CR).
      With this release, the Operator allows template names for {vmw-short} in the control plane machine set definition.
      (link:https://issues.redhat.com/browse/OCPBUGS-32295[*OCPBUGS-32295*])
      Show
      * Previously, if the control plane machine set was created with a template without a path during installation on a {vmw-first} cluster, the Control Plane Machine Set Operator rejected modifications or deletion of the control plane machine set custom resource (CR). With this release, the Operator allows template names for {vmw-short} in the control plane machine set definition. (link: https://issues.redhat.com/browse/OCPBUGS-32295 [* OCPBUGS-32295 *])
    • Bug Fix
    • Done

      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
            Jeana Routh Jeana Routh
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: