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

vsphere - when folder is undefined and datacenter is in a folder, entire folder path is incorrectly created

    • None
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when a folder was undefined and the data center was located in a data center folder, an wrong folder structure was created starting from the root of the vCenter server. By using the Govmomi `DatacenterFolders.VmFolder`, it used the a wrong path. With this release, the folder structure uses the data center inventory path and joins it with the virtual machine (VM) and cluster ID value, and the issue is resolved.(link:https://issues.redhat.com/browse/OCPBUGS-38616[*OCPBUGS-38616*])
      Show
      * Previously, when a folder was undefined and the data center was located in a data center folder, an wrong folder structure was created starting from the root of the vCenter server. By using the Govmomi `DatacenterFolders.VmFolder`, it used the a wrong path. With this release, the folder structure uses the data center inventory path and joins it with the virtual machine (VM) and cluster ID value, and the issue is resolved.(link: https://issues.redhat.com/browse/OCPBUGS-38616 [* OCPBUGS-38616 *])
    • Bug Fix
    • Done

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

      Description of problem:

      If folder is undefined and the datacenter exists in a datacenter-based folder
      the installer will create the entire path of folders from the root of vcenter - which is incorrect

      This does not occur if folder is defined.

      An upstream bug was identified when debugging this:

      https://github.com/vmware/govmomi/issues/3523

            [OCPBUGS-38616] vsphere - when folder is undefined and datacenter is in a folder, entire folder path is incorrectly created

            Errata Tool added a comment -

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (Moderate: OpenShift Container Platform 4.17.0 bug fix and security update), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHSA-2024:3718

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (Moderate: OpenShift Container Platform 4.17.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2024:3718

            Wenxin Wei added a comment -

            verified on 4.17.0-0.nightly-2024-09-02-044025

            Wenxin Wei added a comment - verified on 4.17.0-0.nightly-2024-09-02-044025

              jcallen@redhat.com Joseph Callen
              openshift-crt-jira-prow OpenShift Prow Bot
              Wenxin Wei Wenxin Wei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: