Hide Forgot
Description of problem: Currently, for a different reason, the Content Host consume the wrong entitlement. For example, CH running on top of the hypervisor subscribed (by VDC) is consuming one (Physical or Virtual Node). That said, the customer would like to generate a report that should be able to present the complete and actual scenario. Version-Release number of selected component (if applicable): 6.4 How reproducible: 100% Steps to Reproduce: 1. Attach some entitlement to the Content Host and Hypervisors (virt-who-*) 2. Generate a report that should show this info. 3. Currently, there is the hammer call (hammer csv content-hosts) but this is not working on Satellite 6.3 or Satellite 6.4 Actual results: No way to generate this report/information. Expected results: See the report with the information like below "hypervisor_name,hypervisor_entitlement,content_host_name,content_host_entitlement" Additional info:
*** Bug 1661333 has been marked as a duplicate of this bug. ***
This can be done with hammer csv. Keeping this bug around to ensure that we can do this with the reporting framework.
Created redmine issue https://projects.theforeman.org/issues/27923 from this bug
Connecting redmine issue https://projects.theforeman.org/issues/27995 from this bug
Verified in Satellite 6.7 Snap 4. The entitlements report template has been added to Satellite as of this snap. The report generates correctly, with the following information. 'Name': host.name, 'Organization': host.organization, 'Lifecycle Environment': host.lifecycle_environment, 'Content View': host.content_view, 'Host Collections': host.host_collections, 'Virtual': host.virtual, 'Guest of Host': host.hypervisor_host, 'OS': host.operatingsystem, 'Arch': host.architecture, 'Sockets': host.sockets, 'RAM': host.ram, 'Cores': host.cores, 'SLA': host_sla(host), 'Products': host_products(host), 'Subscription Name': sub_name(pool), 'Subscription Type': pool.type, 'Subscription Quantity': pool.quantity, 'Subscription SKU': sub_sku(pool), 'Subscription Contract': pool.contract_number, 'Subscription Account': pool.account_number, 'Subscription Start': pool.start_date, 'Subscription End': pool.end_date, 'Subscription Guest': registered_through(host) See attached recording for verification.
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, 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/RHSA-2020:1454