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

cluster-capi-operator: vsphere secret recreation attempt fails

XMLWordPrintable

    • Low
    • None
    • CLOUD Sprint 258, CLOUD Sprint 259
    • 2
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      In cluster-capi-operator, if the VsphereCluster object gets deleted, the controller attempts to recreate it and fails while trying to also recreate its corresponding vsphere credentials secret, which instead still exists.
      
      The failure is highlighted by the following logs in the controller: `resourceVersion should not be set on objects to be created`

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

          

      How reproducible:

          

      Steps to Reproduce:

          1. Delete VsphereCluster
          2. Check the cluster-capi-operator logs
          3.
          

      Actual results:

          VsphereCluster fails to be recreated as the reconciliation fails during ensuring the vsphere credentials secret

      Expected results:

          VsphereCluster gets recreated

      Additional info:

          

            ddonati@redhat.com Damiano Donati
            ddonati@redhat.com Damiano Donati
            Milind Yadav Milind Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: