-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
-
0
-
False
-
-
False
-
0
-
Phoenix - Content
-
-
-
Sprint 127, Sprint 128, Sprint 129
Description of problem:
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"
All Hypervisors have this issue. please reference the pic Legacy_Contenthost_mapping.jpg
Version-Release number of selected component (if applicable):
Satellite6.15 snapshot 8.0
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
== [1/5] Installing virt-who ==
Running unlocking of package versions
================================================================================
Unlock packages: [OK]
--------------------------------------------------------------------------------
Running ForemanMaintain::Scenario
================================================================================
Install packages:
[OK]
--------------------------------------------------------------------------------
Running locking of package versions
================================================================================
Lock packages: [OK]
--------------------------------------------------------------------------------
== [2/5] Encrypting password ==
== [3/5] Creating virt-who configuration ==
== [4/5] Creating sysconfig virt-who configuration ==
== [5/5] Enabling and restarting the virt-who service ==
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
Additional info:
DEV Tracker for https://issues.redhat.com/browse/SAT-22849
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2260621