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.
DescriptionGiuseppe Scrivano
2014-10-31 19:23:56 UTC
+++ This bug was initially created as a clone of Bug #1159370 +++
Description of problem:
pkcon install virt-sinstall does not pull in libosinfo
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
[root@host-01 images]# virt-install --help
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-install", line 29, in <module>
import virtinst
File "/usr/share/virt-manager/virtinst/__init__.py", line 85, in <module>
from virtinst.distroinstaller import DistroInstaller
File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 28, in <module>
from . import osdict
File "/usr/share/virt-manager/virtinst/osdict.py", l
--- Additional comment from Giuseppe Scrivano on 2014-10-31 15:21:23 EDT ---
yes, the libosinfo dependency is mistakenly added to virt-manager, while it should be added to common.
Patch sent upstream:
https://www.redhat.com/archives/virt-tools-list/2014-October/msg00173.html
I can reproduce this bug with:
virt-install-1.1.0-5.el7.noarch
virt-manager-common-1.1.0-5.el7.noarch
# virt-install --help
ERROR:root:Could not find any typelib for Libosinfo
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-install", line 29, in <module>
import virtinst
File "/usr/share/virt-manager/virtinst/__init__.py", line 85, in <module>
from virtinst.distroinstaller import DistroInstaller
File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 28, in <module>
from . import osdict
File "/usr/share/virt-manager/virtinst/osdict.py", line 25, in <module>
from gi.repository import Libosinfo as libosinfo
ImportError: cannot import name Libosinfo
Tested with:
virt-install-1.1.0-6.el7.noarch
virt-manager-1.1.0-6.el7.noarch
virt-manager-common-1.1.0-6.el7.noarch
When try to install virt-manager-common,libosinfo as dependency is required:
--> Running transaction check
---> Package virt-manager-common.noarch 0:1.1.0-6.el7 will be installed
--> Processing Dependency: libosinfo >= 0.2.11 for package: virt-manager-common-1.1.0-6.el7.noarch
--> Finished Dependency Resolution
And for virt-manager,libosinfo is not as dependency.
--> Running transaction check
---> Package virt-manager.noarch 0:1.1.0-6.el7 will be installed
--> Processing Dependency: virt-manager-common = 1.1.0-6.el7 for package: virt-manager-1.1.0-6.el7.noarch
--> Finished Dependency Resolution
After install virt-manager-common and virt-install,virt-install --help works well.
Refer to the above comments,move the bug to VERIFIED.
I can reproduce with:
virt-manager-1.1.0-5.el7.noarch
virt-install-1.1.0-5.el7.noarch
virt-manager-common-1.1.0-5.el7.noarch
VERIFY with:
virt-manager-1.1.0-7.el7.noarch
virt-install-1.1.0-7.el7.noarch
virt-manager-common-1.1.0-7.el7.noarch
Steps:
Install virt-manager and virt-manager-common
Result:
When trying to install virt-manager-common,libosinfo as dependency is required:
Resolving Dependencies
--> Running transaction check
---> Package virt-manager-common.noarch 0:1.1.0-7.el7 will be installed
--> Processing Dependency: libosinfo >= 0.2.11 for package: virt-manager-common-1.1.0-7.el7.noarch
--> Running transaction check
---> Package libosinfo.x86_64 0:0.2.11-1.el7 will be installed
--> Finished Dependency Resolution
And for virt-manager, libosinfo is not as dependency:
Resolving Dependencies
--> Running transaction check
---> Package virt-manager.noarch 0:1.1.0-7.el7 will be installed
--> Processing Dependency: virt-manager-common = 1.1.0-7.el7 for package: virt-manager-1.1.0-7.el7.noarch
rhel | 4.1 kB 00:00
(1/2): rhel/group_gz | 134 kB 00:00
(2/2): rhel/primary_db | 3.4 MB 00:00
--> Finished Dependency Resolution
After installation, virt-manager and virt-install, and virt-install --help works well.
As the result, set VERIFIED.
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://rhn.redhat.com/errata/RHBA-2015-0427.html