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

VSphereConnectionForm link uncorrect resources

    XMLWordPrintable

Details

    • 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
    • Done

    Description

      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
      ======================================

      Attachments

        Issue Links

          Activity

            People

              rawagner@redhat.com Rastislav Wagner
              rhn-support-csaggin Cristiano Saggin
              Yuri Obshansky Yuri Obshansky
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: