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:
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.
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.