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

VSphereConnectionForm link uncorrect resources

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the vSphere connection configuration interface showed the network name instead of the cluster name in the "vCenter cluster" field. With this update, the "vCenter cluster" field has been updated to display the cluster name. (link:https://issues.redhat.com/browse/OCPBUGS-23347[*OCPBUGS-23347*])
      Show
      * Previously, the vSphere connection configuration interface showed the network name instead of the cluster name in the "vCenter cluster" field. With this update, the "vCenter cluster" field has been updated to display the cluster name. (link: https://issues.redhat.com/browse/OCPBUGS-23347 [* OCPBUGS-23347 *])
    • Bug Fix
    • In Progress

      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
            Tal Hilzenrat Tal Hilzenrat
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: