Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1884770

Summary: subscription watch is not showing the information correctly (virtual versys physical)
Product: Red Hat Hybrid Cloud Console (console.redhat.com) Reporter: Waldirio M Pinheiro <wpinheir>
Component: Subscription WatchAssignee: Kevin Howell <khowell>
Status: CLOSED CURRENTRELEASE QA Contact: Jon Allen <jallen>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: bcourt, bkearney, cduryee, sghai, sjagtap, sshtein, tlestach
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-19 13:56:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Waldirio M Pinheiro 2020-10-02 19:19:02 UTC
Description of problem:
When accessing the subscription watch, the machine is presenting as physical instead of virtual.

Version-Release number of selected component (if applicable):


How reproducible:
100% based on the attached scenario

Steps to Reproduce:
1. Register the CH via satellite
2. Generate the inventory and upload it (via Satellite RH Inventory plugin)
3. Check on the cloud.redhat.com webUI for that content host

Actual results:
the machine is presenting as physical one and also we can see info as below
---
Infrastructure

Type
    Not available
Vendor
    Not available
---

Expected results:
Show as virtual and present correctly the info regarding to type and vendor.

Additional info:

Comment 3 Barnaby Court 2020-10-02 19:40:24 UTC
The issue in the accounting here seems to be that the only things that would indicate that the record is for a virtual system are that the inventory facts have virtual_host_name & virtual_host_uuid set in the satellite namespace. Either of these should probably be used as alternative keys that a record is for a virtual system in terms of subscription-watch accounting.

Comment 10 Barnaby Court 2020-10-19 13:56:31 UTC
Closing current release as swatch has added an additional check for hypervisor information specified from satellite in addition to looking at the HBI Infrastructure type field.