Bug 2215050

Summary: New VDC-subscription shows "Requires Virt-Who: false"
Product: Red Hat Satellite Reporter: jbjornel
Component: Subscription ManagementAssignee: Jeremy Lenz <jlenz>
Status: CLOSED ERRATA QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.11.4CC: ahumbe, jbjornel, jlenz, redakkan, rlavi, yanpliu, zhunting
Target Milestone: 6.15.0Keywords: Triaged, WorkAround
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-katello-4.11.0.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2272108 (view as bug list) Environment:
Last Closed: 2024-04-23 17:11:25 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 jbjornel 2023-06-14 14:58:26 UTC
Description of problem:
Customer renewed their VDC-subscription. Now it shows that the usage of virt-who
is no longer needed in Satellite.

Subscription Info
Name	Red Hat Enterprise Linux for Virtual Datacenters with Satellite, Premium
Description	Red Hat Enterprise Linux
Requires Virt-Who	false
Consumed	0
Starts	2023-04-17 06:00:00 +0200
Ends	2025-06-08 05:59:59 +0200
Product ID	RH00006
Support Type	L1-L3



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

https://<sat-url>/api/v2/status
{"satellite_version":"6.11.4.1","result":"ok","status":200,"version":"3.1.1.25","api_version":2}

How reproducible:
Unable to reproduce, don't have access to this type of subscription.


Actual results:

Output from Satellite API
https://<sat-url>/katello/api/subscriptions/19

{"arch":null,"description":"Red Hat Enterprise Linux","support_type":"L1-L3","roles":"","usage":null,"addons":null,"id":54,"cp_id":"<removed>","subscription_id":19,"name":"Red Hat Enterprise Linux for Virtual Datacenters with Satellite, Premium","start_date":"2023-04-17 06:00:00 +0200","end_date":"2025-06-08 05:59:59 +0200","available":28,"quantity":28,"consumed":0,"account_number":<removed>,"contract_number":<removed>,"support_level":"Premium","product_id":"RH00006","sockets":"2","cores":null,"ram":null,"instance_multiplier":1,"stacking_id":"RH00006","multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters with Satellite, Premium","unmapped_guest":false,"virt_only":false,"virt_who":false,"upstream":true,"upstream_pool_id":"<removed>","host_count":0,"provided_products":[{"id":43,"name":"Red Hat Software Collections (for RHEL Server)"},{"id":39,"name":"Red Hat CodeReady Linux Builder for x86_64"},{"id":47,"name":"Red Hat Ansible Engine"},{"id":38,"name":"Red Hat Beta"},{"id":44,"name":"Red Hat Software Collections Beta (for RHEL Server)"},{"id":49,"name":"Red Hat Enterprise Linux Atomic Host"},{"id":50,"name":"Red Hat Enterprise Linux Atomic Host Beta"},{"id":51,"name":"Red Hat Developer Tools (for RHEL Server)"},{"id":52,"name":"Red Hat Developer Tools Beta (for RHEL Server)"},{"id":53,"name":"Red Hat Developer Toolset (for RHEL Server)"},{"id":54,"name":"Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support"},{"id":55,"name":"dotNET on RHEL (for RHEL Server)"},{"id":56,"name":"Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support"},{"id":57,"name":"dotNET on RHEL Beta (for RHEL Server)"},{"id":58,"name":"Red Hat EUCJP Support (for RHEL Server) - Extended Update Support"},{"id":59,"name":"Oracle Java (for RHEL Server)"},{"id":60,"name":"Oracle Java (for RHEL Workstation)"},{"id":61,"name":"Oracle Java (for RHEL Server) - Extended Update Support"},{"id":62,"name":"Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support"},{"id":63,"name":"Red Hat S-JIS Support (for RHEL Server) - Extended Update Support"},{"id":64,"name":"Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support"},{"id":68,"name":"Red Hat Enterprise Linux Resilient Storage for x86_64 - Extended Update Support"},{"id":69,"name":"Red Hat Enterprise Linux for x86_64 - Extended Update Support"},{"id":70,"name":"Red Hat Enterprise Linux High Availability for x86_64 - Extended Update Support"},{"id":65,"name":"Red Hat Enterprise Linux Server"},{"id":67,"name":"Red Hat Enterprise Linux for x86_64"}],"activation_keys":[]}

Expected results:
"virt_who":true


Additional info:
Checking Offering Manager for the relevant SKU shows:
"Virt Limit: Unlimited"

Checking Customer portal it shows:
"Virt-Who: Required".

Which means the SKU is correct and looks to be a display problem in Satellite.

Comment 6 William Poteat 2023-12-20 19:11:35 UTC
Has the manifest been recreated and reimported since the bug was discovered? The UI field is based on the 'virt_limit' attribute, which does not show in the JSON attached to this bug.

Comment 15 Jeremy Lenz 2024-01-03 22:23:41 UTC
Created redmine issue https://projects.theforeman.org/issues/37024 from this bug

Comment 16 Bryan Kearney 2024-01-04 00:02:40 UTC
Upstream bug assigned to jlenz

Comment 17 Bryan Kearney 2024-01-04 00:02:43 UTC
Upstream bug assigned to jlenz

Comment 18 Jeremy Lenz 2024-01-05 19:00:13 UTC
Workarounds (any of the following should work):

1. Refresh your manifest
2. Run foreman-rake katello:reimport
3. (If using entitlement mode) attach the subscription to any host

Comment 19 Bryan Kearney 2024-01-10 16:02:29 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/37024 has been resolved.

Comment 24 errata-xmlrpc 2024-04-23 17:11:25 UTC
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 (Important: Satellite 6.15.0 release), 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-2024:2010