Bug #37123
closedvirt-who host and virtual host guest did not display the correct mapping info on old Legacy Content Host UI->Details
Description
virt-who host and guest did not build the mapping relationship on old Legacy Content Host UI->Details, it displays "Virtual Guests 0 Content Hosts"
virt-who-1.30.16-1.el8.noarch
katello-4.11.0-1.el8sat.noarch
rubygem-foreman_virt_who_configure-0.5.20-1.el8sat.noarch
rubygem-hammer_cli_foreman_virt_who_configure-0.0.9-2.el8sat.noarch
How reproducible:
100%
Steps to Reproduce:
1. Create virt who config esx_ui
2. Deploy the virt-who config esx_ui
[root@dell-per740-68-vm-08 ~]# hammer virt-who-config deploy --id 1 --organization-id 1
Running unlocking of package versions ================================================================================
Unlock packages: [OK]
--------------------------------------------------------------------------------
Running ForemanMaintain::Scenario
================================================================================
Install packages:
[OK]
--------------------------------------------------------------------------------
Running locking of package versions
================================================================================
Lock packages: [OK]
--------------------------------------------------------------------------------
Created symlink /etc/systemd/system/multi-user.target.wants/virt-who.service → /usr/lib/systemd/system/virt-who.service. Finished
Finished successfully
3. check mapping info in rhsm.log, can get the mapping info
4. Check Host and Virtual Guest mapping on Content Hosts->Legacy Content Host UI->Details,
The mapping displays "Virtual Guests 0 Content Hosts"
Actual results:
On Legacy Content Host UI->Details did not display the correct mapping info for hypervisor host and guest "Virtual Guests 0 Content Hosts"
Expected results:
On Legacy Content Host UI->Details should display the correct mapping info for hypervisor host and guest