Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1511756

Summary: Failed to detects OS version for rhel7.4
Product: Red Hat Enterprise Linux 7 Reporter: zhoujunqin <juzhou>
Component: libosinfoAssignee: Felipe Borges <feborges>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.5CC: cfergeau, kuwei, lmiksik, mxie, nobody+bgollahe, tpelka, tzheng, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 16:39:38 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:

Description zhoujunqin 2017-11-10 03:23:36 UTC
Description of problem:
Failed to detects OS version for rhel7.4 

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

How reproducible:

Steps to Reproduce:
# osinfo-query os 

** (osinfo-query:24275): WARNING **: Entity referenced but not defined
 Short ID             | Name                                               | Version  | ID                                      

 rhel7.4              | Red Hat Enterprise Linux 7.4                       | 7.4      |              
 rhel7.4              | Red Hat Enterprise Linux 7.5                       | 7.5      |       

Actual results:
As above, detects rhel7.4 version as rhel7.5 when i install a rhel7.4 guest on virt-manager.

Expected results:
Fix it.

Additional info:

Comment 2 Christophe Fergeau 2017-11-10 10:06:19 UTC
The patches in the 7.4 and 7.5 branches add some "Red Hat Linux 7.x"/rhl entries which should not be there. Red Hat Linux was a thing *before* Red Hat Enterprise Linux was introduced, this does not exist anymore.

Comment 3 Xiaodai Wang 2017-11-10 10:23:56 UTC
The short ID of "Red Hat Enterprise Linux 7.5" is rhel7.4 instead of rhel7.5.

Comment 11 errata-xmlrpc 2018-04-10 16:39:38 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.