Bug 2216534

Summary: [RHEL 8.8] 'osinfo-query os' is missing latest version of RHEL 8
Product: Red Hat Enterprise Linux 8 Reporter: Ulhas Surse <usurse>
Component: osinfo-dbAssignee: Victor Toso <victortoso>
Status: CLOSED DUPLICATE QA Contact: Radek Duda <rduda>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.8CC: tpelka, vtosodec
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-22 10:01: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 Ulhas Surse 2023-06-21 17:41:20 UTC
Description of problem:

 1] Include RHEL 8.8 in the os list. 
 2] While creating a KVM guest using virt-install, the installation failure with the error:

~~~
   ERROR    Unknown OS name 'rhel8.8'. See `osinfo-query os` for valid values.
~~~

Version-Release number of selected component (if applicable):
# rpm -qa | grep libosinfo
libosinfo-1.9.0-3.el8.x86_64


RHEL 8.8 
kernel-4.18.0-477.13.1.el8_8.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install libosinfo and get the details with the command. 
2. Run command 'osinfo-query os' on the host
 

Actual results:
# osinfo-query os | grep rhel8.
 rhel8-unknown        | Red Hat Enterprise Linux 8 Unknown                 | 8-unknown | http://redhat.com/rhel/8-unknown        
 rhel8.0              | Red Hat Enterprise Linux 8.0                       | 8.0      | http://redhat.com/rhel/8.0              
 rhel8.1              | Red Hat Enterprise Linux 8.1                       | 8.1      | http://redhat.com/rhel/8.1              
 rhel8.2              | Red Hat Enterprise Linux 8.2                       | 8.2      | http://redhat.com/rhel/8.2              
 rhel8.3              | Red Hat Enterprise Linux 8.3                       | 8.3      | http://redhat.com/rhel/8.3              
 rhel8.4              | Red Hat Enterprise Linux 8.4                       | 8.4      | http://redhat.com/rhel/8.4              
 rhel8.5              | Red Hat Enterprise Linux 8.5                       | 8.5      | http://redhat.com/rhel/8.5              
 rhel8.6              | Red Hat Enterprise Linux 8.6                       | 8.6      | http://redhat.com/rhel/8.6              
 rhel8.7              | Red Hat Enterprise Linux 8.7                       | 8.7      | http://redhat.com/rhel/8.7 

Expected results:
It should also show/inlcude entry for RHEL 8.8 

 rhel8.8              | Red Hat Enterprise Linux 8.8                       | 8.8      | http://redhat.com/rhel/8.8


Additional info:

using "os-variant=rhel8-unknown" is the workaround.

Comment 2 Victor Toso 2023-06-22 10:01:53 UTC
I'm closing as duplicated of Bug 2184613. If you see a major reason for backporting this as z-stream, please do tell, otherwise this is fixed in rhel 8.9 with rebase bug 2184782

*** This bug has been marked as a duplicate of bug 2184613 ***