Description of problem: On an external OCP cluster, installed with MTV beta, VMware VMs are not displayed with this error: "Error loading VMware tree data 500: internal Server Error" (screenshot attached). Version-Release number of selected component (if applicable): MTV beta
Created attachment 1777124 [details] error screenshot
Created attachment 1777127 [details] log
Created attachment 1781761 [details] MTV Beta logs
Created attachment 1781762 [details] MTV Upstream logs
Created attachment 1782764 [details] MTV Upstream May 13 2021 logs
The scenario that produces the problem is: The cluster containing the missing host is moved to a subfolder of the hostFolder of the Datacenter. Example: group-d1 (DataCenter) | --group-h1 (Folder) | --group-h2800 (Folder) <-- new subfolder | -- gruop-c1 (Cluster) | -- host-44 (Host) The govmomi (lib) PropertyCollector is reporting group-c1 (the cluster) but not reporting host-44 even though the TraversalSpec seems correct. As a result, the host is never added to the inventory.
Moving to 2.1.0
We still haven't identified how to fix the traversal spec to collect this type of configuration. Retargeting the BZ to 2.2.0.
Verified: 1. cloud20 2. MTV 2.1.0-52 / IIB 98758 3. CNV 4.8.0-451 4. vsphere 6.5 5. vsphere hierarchy : DATACENTER ( main ) ----* MTV ( cluster ) ----host-a (esxi) ----host-b (esxi) ----host-c (esxi) ----test ( folder) ----test2 (folder ) ----test3 (folder) MTV2 ( cluster) --- host-d (esxi) ----VM ( appers on the MTV UI )
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Migration Toolkit for Virtualization 2.1.0), 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/RHEA-2021:3278