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 1689817 - virt-manager cannot detect operating system name for rhel8.0.0 tree automatically
Summary: virt-manager cannot detect operating system name for rhel8.0.0 tree automatic...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: osinfo-db
Version: 8.0
Hardware: x86_64
OS: Unspecified
high
high
Target Milestone: rc
: 8.1
Assignee: Fabiano Fidêncio
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-18 08:31 UTC by zhoujunqin
Modified: 2020-11-14 14:11 UTC (History)
9 users (show)

Fixed In Version: osinfo-db-20190504-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 20:58:09 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3387 0 None None None 2019-11-05 20:58:22 UTC

Description zhoujunqin 2019-03-18 08:31:27 UTC
Description of problem:
virt-manager cannot detect operating system name for rhel8.0.0 tree automatically

Version-Release number of selected component (if applicable):
virt-manager-2.0.0-4.el8.noarch
libosinfo-1.2.0-5.el8.x86_64
osinfo-db-20181011-8.el8.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install a new vm via virt-manager.
Launch virt-manager->click "Create a new virtual machine"-> Select "Network Install" method-> click "Forward" button-> Input URL "http://download.eng.pek2.redhat.com/pub/rhel/rel-eng/RHEL-8.0.0-20190313.0/compose/BaseOS/x86_64/os/"

Actual results:
virt-manager cannot detect rhel8.0.0 operating system you're installing from the installation media/source automatically.

Expected results:
Fix it.

Additional info:
1. check virt-manager debug info
...
[Mon, 18 Mar 2019 16:22:36 virt-manager 18261] DEBUG (urlfetcher:70) Fetching URI: http://download.eng.pek2.redhat.com/pub/rhel/rel-eng/RHEL-8.0.0-20190313.0/compose/BaseOS/x86_64/os/.treeinfo
[Mon, 18 Mar 2019 16:22:36 virt-manager 18261] DEBUG (urldetect:60) treeinfo family=Red Hat Enterprise Linux
[Mon, 18 Mar 2019 16:22:36 virt-manager 18261] DEBUG (urldetect:64) Found treeinfo version=8.0.0
[Mon, 18 Mar 2019 16:22:36 virt-manager 18261] DEBUG (urldetect:68) Found treeinfo name=Red Hat Enterprise Linux 8.0.0

2. 
Background: From snapshot 5, RCM has changed the name format of RHEL8 compose 
RHEL-8.0-20190108 --> RHEL-8.0.0-20190108
# wget http://download.eng.pek2.redhat.com/pub/rhel/rel-eng/RHEL-8.0.0-20190228.1/compose/BaseOS/x86_64/os/.treeinfo
# cat .treeinfo
arch = x86_64
family = Red Hat Enterprise Linux
name = Red Hat Enterprise Linux 8.0.0
packagedir = Packages
platforms = x86_64,xen
repository = .
timestamp = 1551390302
variant = BaseOS
variants = BaseOS
version = 8.0.0

3. Check file  /usr/share/osinfo/os/redhat.com/rhel-8.0.xml
# head  /usr/share/osinfo/os/redhat.com/rhel-8.0.xml
<libosinfo version="0.0.1">
<!-- Licensed under the GNU General Public License version 2 or later.
     See http://www.gnu.org/licenses/ for a copy of the license text -->
  <os id="http://redhat.com/rhel/8.0">
    <short-id>rhel8.0</short-id>
    <name>Red Hat Enterprise Linux 8.0</name>
    <version>8.0</version>
    <vendor>Red Hat, Inc</vendor>
    <vendor xml:lang="ca">Red Hat, Inc</vendor>
    <vendor xml:lang="de">Red Hat, Inc</vendor>

Summary: It uses old name format "Red Hat Enterprise Linux 8.0" and need to be updated, thanks.

Comment 1 Fabiano Fidêncio 2019-03-18 09:01:27 UTC
(In reply to zhoujunqin from comment #0)
> Description of problem:
> virt-manager cannot detect operating system name for rhel8.0.0 tree
> automatically

This also affects ISO detections, not only trees.

> 
> Version-Release number of selected component (if applicable):
> virt-manager-2.0.0-4.el8.noarch
> libosinfo-1.2.0-5.el8.x86_64
> osinfo-db-20181011-8.el8.noarch

Yep, this is a consequence of not being able to update osinfo-db as regularly as we should. :-)
It's already too late (according to my understanding) for 8.0.0.

What we can do is have it merged for the next z-stream.

Comment 7 errata-xmlrpc 2019-11-05 20:58:09 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.

https://access.redhat.com/errata/RHSA-2019:3387


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