Bug 1651550

Summary: ibosinfo: at line 1: Document is empty
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: osinfo-dbAssignee: Daniel Berrangé <berrange>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: berrange, crobinso, fidencio
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-20 10:29:58 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 Dan Horák 2018-11-20 10:25:55 UTC
Description of problem:
When opening a VM in virt-manager I get an error instead of a virt viewer window.

Error launching details: libosinfo: at line 1: Document is empty
 (0)

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 369, in get_instance
    cls._instances[key] = vmmDetails(vm)
  File "/usr/share/virt-manager/virtManager/details.py", line 471, in __init__
    self.init_details()
  File "/usr/share/virt-manager/virtManager/details.py", line 945, in init_details
    self._os_list = vmmOSList()
  File "/usr/share/virt-manager/virtManager/oslist.py", line 39, in __init__
    self._init_state()
  File "/usr/share/virt-manager/virtManager/oslist.py", line 55, in _init_state
    all_os = virtinst.OSDB.list_os()
  File "/usr/share/virt-manager/virtinst/osdict.py", line 225, in list_os
    for name, osobj in self._all_variants.items():
  File "/usr/share/virt-manager/virtinst/osdict.py", line 173, in _all_variants
    loader = self._os_loader
  File "/usr/share/virt-manager/virtinst/osdict.py", line 165, in _os_loader
    loader.process_default_path()
GLib.GError: libosinfo: at line 1: Document is empty
 (0)


Version-Release number of selected component (if applicable):
libosinfo-1.1.0-2.fc28.ppc64le
libvirt-daemon-4.9.0-1.fc28.ppc64le
osinfo-db-20181101-1.fc28.noarch
virt-manager-2.0.0-1.fc28.noarch
virt-viewer-6.0-4.fc28.ppc64le


How reproducible:
100%

Steps to Reproduce:
1. try to open a VM

Additional info:
This is on F-28 ppc64le with the virt-preview repo enabled. It worked fine until a week ago or so.

Comment 1 Dan Horák 2018-11-20 10:29:58 UTC
And it seems osinfo-db-20181116-1.fc28 fixes the problem.