Bug 1801876
| Summary: | Usage calculation of x86 RHEL systems is greater than that of ALL RHEL systems | ||
|---|---|---|---|
| Product: | Red Hat Hybrid Cloud Console (console.redhat.com) | Reporter: | dozdowsk |
| Component: | Subscription Watch | Assignee: | Kevin Howell <khowell> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikhil Kathole <nkathole> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | jallen, nkathole, sghai, unwosu |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-06-19 11:31:53 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
dozdowsk
2020-02-11 19:43:45 UTC
The exact reason behind this issue is that, if host is having product installed which is not listed under https://github.com/RedHatInsights/rhsm-subscriptions/blob/master/src/main/resources/product_id_to_products_map.yaml then it won't get considered under ALL page (as all product available on that host system is not valid for tally) but considered for x86 page as product id 69 found. Exact reproducer steps are: 1. Register a RHEL x86 system 2. Install software collection packages as (201 is not product considered for tally) 3. make sure subscription-manager list shows it # subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Software Collections (for RHEL Server) Product ID: 201 Version: 3 Arch: x86_64 Status: Subscribed Status Details: Starts: 04/03/2020 Ends: 04/01/2021 Product Name: Red Hat Satellite Product ID: 250 Version: 6.6 Arch: x86_64 Status: Subscribed Status Details: Starts: 04/03/2020 Ends: 04/01/2021 Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 7.8 Arch: x86_64 Status: Subscribed Status Details: Starts: 04/03/2020 Ends: 04/01/2021 4. Sync tally So, 201 was a red herring, the important product ID was 250 (Satellite). This looks like a quirk of how we implemented the rule of "if the node is Satellite", then don't count RHEL as RHEL is a part of Satellite. The rule currently drops a Satellite system from all RHEL and RHEL variants, but not "RHEL for" (architecture specific RHEL). VERIFIED If host is satellite/capsule, host is not considered for RHEL usage. |