Bug 1955068 - Web console does not display VMware inventory data
Summary: Web console does not display VMware inventory data
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: Inventory
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 2.1.0
Assignee: Jeff Ortel
QA Contact: Tzahi Ashkenazi
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks: 1979652
TreeView+ depends on / blocked
 
Reported: 2021-04-29 11:17 UTC by Ilanit Stein
Modified: 2024-06-14 01:24 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1979652 (view as bug list)
Environment:
Last Closed: 2021-08-26 07:09:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error screenshot (38.36 KB, image/png)
2021-04-29 11:19 UTC, Ilanit Stein
no flags Details
log (862.00 KB, image/png)
2021-04-29 11:20 UTC, Ilanit Stein
no flags Details
MTV Beta logs (300.48 KB, application/zip)
2021-05-10 16:33 UTC, Ilanit Stein
no flags Details
MTV Upstream logs (90.54 KB, application/zip)
2021-05-10 16:33 UTC, Ilanit Stein
no flags Details
MTV Upstream May 13 2021 logs (252.38 KB, application/zip)
2021-05-13 12:49 UTC, Ilanit Stein
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github konveyor forklift-controller pull 333 0 None None None 2021-08-09 22:53:20 UTC
Red Hat Product Errata RHEA-2021:3278 0 None None None 2021-08-26 07:09:19 UTC

Description Ilanit Stein 2021-04-29 11:17:45 UTC
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

Comment 1 Ilanit Stein 2021-04-29 11:19:09 UTC
Created attachment 1777124 [details]
error screenshot

Comment 2 Ilanit Stein 2021-04-29 11:20:47 UTC
Created attachment 1777127 [details]
log

Comment 3 Ilanit Stein 2021-05-10 16:33:02 UTC
Created attachment 1781761 [details]
MTV Beta logs

Comment 4 Ilanit Stein 2021-05-10 16:33:40 UTC
Created attachment 1781762 [details]
MTV Upstream logs

Comment 6 Ilanit Stein 2021-05-13 12:49:38 UTC
Created attachment 1782764 [details]
MTV Upstream May 13 2021 logs

Comment 9 Jeff Ortel 2021-05-18 20:39:30 UTC
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.

Comment 10 Fabien Dupont 2021-05-20 09:46:18 UTC
Moving to 2.1.0

Comment 11 Fabien Dupont 2021-08-06 13:04:48 UTC
We still haven't identified how to fix the traversal spec to collect this type of configuration.
Retargeting the BZ to 2.2.0.

Comment 13 Tzahi Ashkenazi 2021-08-17 10:53:32 UTC
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 )

Comment 16 errata-xmlrpc 2021-08-26 07:09:08 UTC
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


Note You need to log in before you can comment on or make changes to this bug.