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

VSphereConnectionForm link uncorrect resources

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-23347. The following is the description of the original issue:

      Description of problem:

      Looking at the vSphere connection configuration via UI we can see that the value for VCenter cluster is populated with the "networks" value instead of the "computeCluster" one

      Additional info:

      - https://github.com/openshift/console/blob/fdcd7738612cd5685c100b15d348134c96b2fa39[...]ackages/vsphere-plugin/src/components/VSphereConnectionForm.tsx
      - https://github.com/openshift/console/blob/fdcd7738612cd5685c100b15d348134c96b2fa39/frontend/packages/vsphere-plugin/src/hooks/use-connection-form.ts#L69
      
      From the form query it seems it is linked to the Network:
      ======================================
      vCenterCluster = domain?.topology?.networks?.[0] || '';
      ======================================
      
      Our understanding it that it should pickup the cluster name:
      ======================================
      topology.computeCluster
      ======================================

            rawagner@redhat.com Rastislav Wagner
            openshift-crt-jira-prow OpenShift Prow Bot
            Lital Alon Lital Alon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: