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

vSphere ControlPlaneMachineSet Operator Not Allowing Changes to CPMS

    XMLWordPrintable

Details

    • Important
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Fixed operator to allow template names for vSphere in the CPMS definition.
    • Bug Fix
    • In Progress

    Description

      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.
      ~~~

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: