Bug 1199345

Summary: Missing dependencies in virt-install
Product: [Fedora] Fedora Reporter: Lars Kellogg-Stedman <lars>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: berrange, crobinso, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-24 23:00:39 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:

Description Lars Kellogg-Stedman 2015-03-06 02:01:24 UTC
The "virt-install" command requires the "gi.repository" module, which is provided by the "pygobject3-base" package.  If this package is not installed, virt-install fails with:

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 26, in <module>
    from gi.repository import Libosinfo as libosinfo
ImportError: No module named gi.repository

The spec file should be updated to add the required dependency.

Comment 1 Cole Robinson 2015-03-24 23:00:39 UTC

*** This bug has been marked as a duplicate of bug 1195794 ***