Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1261283

Summary: The guest name is rhel7.1 instead of rhel7.2 when installing a guest with a rhel7.2 tree
Product: Red Hat Enterprise Linux 7 Reporter: Xiaodai Wang <xiaodwan>
Component: libosinfoAssignee: Felipe Borges <feborges>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: cfergeau, juzhou, mxie, mzhan, tis, tpelka, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-11 13:56:18 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:
Attachments:
Description Flags
Patch to fix rhel 7.2 detection none

Description Xiaodai Wang 2015-09-09 06:23:16 UTC
Description of problem:
The guest name is rhel7.1 instead of rhel7.2 when installing a guest with a rhel7.2 tree.

Version-Release number of selected component (if applicable):
virt-manager-1.2.1-6.el7.noarch
libosinfo-0.2.12-3.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Launch virt-manager and Select "Network Install(HTTP, FTP, or NFS)".
2. In Step2 of 5, type a rhel7.2 url(http://download.englab.nay.redhat.com/pub/rhel/rel-eng/RHEL-7.2-20150904.0/compose/Server/x86_64/os), and it automatically detect the version is rhel7.2. 
3. Click Foward until step 5 of 5, check the Name.

Actual results:
The guest name is rhel7.1-2.

Expected results:
The guest name should be rhel7.2 or rhel7.2-x (if guest rhel7.2 already exists).


Additional info:
1. the output of "osinfo-query os" is as below, i think it should be rhel7.2 for the 3rd line.

 rhel6.6              | Red Hat Enterprise Linux 6.6                       | 6.6      | http://redhat.com/rhel/6.6              
 rhel7.0              | Red Hat Enterprise Linux 7.0                       | 7.0      | http://redhat.com/rhel/7.0              
 rhel7.1              | Red Hat Enterprise Linux 7.2                       | 7.2      | http://redhat.com/rhel/7.2              
 rhel7.1              | Red Hat Enterprise Linux 7.1                       | 7.1      | http://redhat.com/rhel/7.1   

2. Can't find rhel6.7 info by "osinfo-query os".

Comment 2 Tuomo Soini 2015-11-30 14:12:14 UTC
This is a bug in rhel.xml in libosinfo.

rhel7.2 entry has short name rhel7.1 there.

Comment 3 Tuomo Soini 2015-11-30 14:36:52 UTC
Created attachment 1100514 [details]
Patch to fix rhel 7.2 detection

Comment 4 Christophe Fergeau 2015-11-30 15:02:34 UTC
The upstream patch adding 7.2 detection is https://git.fedorahosted.org/cgit/libosinfo.git/commit/?id=bfd9d6337e4e17200c1b82ed0dc9baecc645d7f3

The RHEL7.2 detection support we have in our RHEL7 package seems to be downstream-only :(