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 - The guest name is rhel7.1 instead of rhel7.2 when installing a guest with a rhel7.2 tree
Summary: The guest name is rhel7.1 instead of rhel7.2 when installing a guest with a r...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libosinfo
Version: 7.2
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Felipe Borges
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-09 06:23 UTC by Xiaodai Wang
Modified: 2018-01-11 13:56 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-11 13:56:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to fix rhel 7.2 detection (511 bytes, patch)
2015-11-30 14:36 UTC, Tuomo Soini
no flags Details | Diff

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 :(


Note You need to log in before you can comment on or make changes to this bug.