Description of problem: When trying to create a new VM with the virt-manager gui, i get an error: "Error launching create dialog: libosinfo: at line 1: Document is empty (0)" This seems to have something to do with osinfo-db / libosinfo, and to be exactly the same bug as "Bug 1651550 - ibosinfo: at line 1: Document is empty" from Fedora 29. But now the same bug appears with current Fedora 33. Version-Release number of selected component (if applicable): 3.1.0-1.fc33 How reproducible: Steps to Reproduce: 1. start virt-manager and try to create a new VM Actual results: Error dialog pops up Expected results: a new virtual machine is created Additional info:
Does `sudo dnf reinstall osinfo-db` make any difference?
no, i tried reinstall osinfo-db, libosinfo, qemu-kvm, qemu, @virtualization, nothing helped, everything up to date. perhaps a reboot helps. Does it work on your system, does someone have a freshly installed Fedora 33 and could try this ? Maybe my system is too new, AMD Epyc 7502P and ASRockRack ROMED8-2T
No, rebooting doesn't change anything
Can you do `sudo dnf remove osinfo-db` and all the pcakages it takes with it. Then provide the output of: echo $OSINFO_LOCAL_DIR $OSINFO_SYSTEM_DIR $OSINFO_USER_DIR $XDG_CONFIG_HOME ls -lR /usr/share/osinfo /etc/osinfo ~/.config/osinfo
After "dnf remove osinfo-db" and all the packages which depend on it and the packages osinfo-db (a lot), the environment variables and config files are gone (output is in German, but I hope you get the idea): [root@localhost ~]# echo $OSINFO_LOCAL_DIR $OSINFO_SYSTEM_DIR $OSINFO_USER_DIR $XDG_CONFIG_HOME [root@localhost ~]# ls -lR /usr/share/osinfo /etc/osinfo ~/.config/osinfo ls: Zugriff auf '/usr/share/osinfo' nicht möglich: Datei oder Verzeichnis nicht gefunden ls: Zugriff auf '/etc/osinfo' nicht möglich: Datei oder Verzeichnis nicht gefunden ls: Zugriff auf '/root/.config/osinfo' nicht möglich: Datei oder Verzeichnis nicht gefunden [root@localhost ~]# I did a "yum deplist osinfo-db", and got "hwdata-0.340-1.fc33.noarch", maybe hwdata is broken ?
I don't think it's hwdata. I also don't think this is anything wrong with the stock repo packages. Either something went wrong on your local machine, or another package is interfering in some way. Can you reinstall virt-manager, verify the problem persists, then do strace -o trace.log python3 /usr/bin/virt-manager --debug Reproduce the problem, then attach trace.log
Yes! After removing osinfo-db and everything dependent on it, and reinstalling @Virtualization, the VM create dialog pops up now. Only problem is, that by removing osinfo-db, i also removed ========================================================================================== Package Arch Version Repo Size ========================================================================================== Entfernen: osinfo-db noarch 20201015-1.fc33 @updates 2.3 M Abhängige Pakete werden entfernt: evince-nautilus x86_64 3.38.0-1.fc33 @anaconda 23 k gnome-boxes x86_64 3.38.1-1.fc33.1 @updates 6.7 M gnome-classic-session noarch 3.38.1-1.fc33 @anaconda 208 k gnome-photos x86_64 3.38.0-1.fc33 @anaconda 3.6 M nautilus x86_64 3.38.1-1.fc33 @anaconda 14 M tracker-miners x86_64 2.3.5-1.fc33 @anaconda 2.8 M virt-install noarch 3.1.0-1.fc33 @fedora 33 k virt-manager noarch 3.1.0-1.fc33 @fedora 2.9 M Nicht benötigte Abhängigkeiten werden entfernt: LibRaw x86_64 0.20.2-1.fc33 @updates 2.2 M OpenEXR-libs x86_64 2.3.0-6.fc33 @anaconda 3.1 M autogen-libopts x86_64 5.18.16-7.fc33 @fedora 153 k babl x86_64 0.1.82-1.fc33 @updates 1.2 M bridge-utils x86_64 1.6-6.fc33 @anaconda 64 k corosynclib x86_64 3.1.0-2.fc33 @updates 154 k dleyna-renderer x86_64 0.6.0-8.fc33 @anaconda 163 k exiv2 x86_64 0.27.3-4.fc33 @anaconda 4.4 M exiv2-libs x86_64 0.27.3-4.fc33 @anaconda 2.5 M flexiblas x86_64 3.0.4-1.fc33 @updates 68 k flexiblas-netlib x86_64 3.0.4-1.fc33 @updates 11 M flexiblas-openblas-openmp x86_64 3.0.4-1.fc33 @updates 38 k gegl04 x86_64 0.4.26-1.fc33 @anaconda 7.5 M genisoimage x86_64 1.1.11-46.fc33 @anaconda 1.1 M giflib x86_64 5.2.1-6.fc33 @anaconda 106 k glusterfs x86_64 8.2-1.fc33 @anaconda 2.8 M glusterfs-cli x86_64 8.2-1.fc33 @anaconda 489 k glusterfs-fuse x86_64 8.2-1.fc33 @anaconda 555 k gnome-online-miners x86_64 3.34.0-4.fc33 @anaconda 426 k gnome-shell-extension-apps-menu noarch 3.38.1-1.fc33 @anaconda 23 k gnome-shell-extension-common noarch 3.38.1-1.fc33 @anaconda 516 k gnome-shell-extension-horizontal-workspaces noarch 3.38.1-1.fc33 @anaconda 1.3 k gnome-shell-extension-launch-new-instance noarch 3.38.1-1.fc33 @anaconda 1.0 k gnome-shell-extension-places-menu noarch 3.38.1-1.fc33 @anaconda 21 k gnome-shell-extension-window-list noarch 3.38.1-1.fc33 @anaconda 69 k gnutls-dane x86_64 3.6.15-1.fc33 @fedora 28 k gnutls-utils x86_64 3.6.15-1.fc33 @fedora 950 k ilmbase x86_64 2.3.0-5.fc33 @anaconda 504 k jq x86_64 1.6-5.fc33 @anaconda 387 k libcue x86_64 2.2.1-6.fc33 @anaconda 82 k libgexiv2 x86_64 0.12.1-3.fc33 @anaconda 189 k libgfortran x86_64 10.2.1-6.fc33 @updates 2.7 M libglusterd0 x86_64 8.2-1.fc33 @anaconda 15 k libgrss x86_64 0.7.0-11.fc33 @anaconda 167 k libgsf x86_64 1.14.47-2.fc33 @anaconda 933 k libiptcdata x86_64 1.0.5-6.fc33 @anaconda 173 k libosinfo x86_64 1.8.0-5.fc33 @fedora 1.0 M libqb x86_64 2.0.1-2.fc33 @anaconda 200 k libquadmath x86_64 10.2.1-6.fc33 @updates 331 k libtracker-miner x86_64 2.3.6-1.fc33 @anaconda 212 k libusal x86_64 1.1.11-46.fc33 @anaconda 469 k libvirt-bash-completion x86_64 6.6.0-3.fc33 @updates 2.0 k libvirt-client x86_64 6.6.0-3.fc33 @updates 910 k libvirt-daemon-driver-interface x86_64 6.6.0-3.fc33 @updates 593 k libvirt-daemon-driver-nodedev x86_64 6.6.0-3.fc33 @updates 599 k libvirt-daemon-driver-nwfilter x86_64 6.6.0-3.fc33 @updates 660 k libvirt-daemon-driver-qemu x86_64 6.6.0-3.fc33 @updates 2.4 M libvirt-daemon-driver-secret x86_64 6.6.0-3.fc33 @updates 562 k libvirt-daemon-driver-storage x86_64 6.6.0-3.fc33 @updates 0 libvirt-daemon-driver-storage-core x86_64 6.6.0-3.fc33 @updates 740 k libvirt-daemon-driver-storage-disk x86_64 6.6.0-3.fc33 @updates 32 k libvirt-daemon-driver-storage-gluster x86_64 6.6.0-3.fc33 @updates 44 k libvirt-daemon-driver-storage-iscsi x86_64 6.6.0-3.fc33 @updates 24 k libvirt-daemon-driver-storage-iscsi-direct x86_64 6.6.0-3.fc33 @updates 28 k libvirt-daemon-driver-storage-logical x86_64 6.6.0-3.fc33 @updates 32 k libvirt-daemon-driver-storage-mpath x86_64 6.6.0-3.fc33 @updates 20 k libvirt-daemon-driver-storage-rbd x86_64 6.6.0-3.fc33 @updates 40 k libvirt-daemon-driver-storage-scsi x86_64 6.6.0-3.fc33 @updates 24 k libvirt-daemon-driver-storage-sheepdog x86_64 6.6.0-3.fc33 @updates 20 k libvirt-daemon-driver-storage-zfs x86_64 6.6.0-3.fc33 @updates 24 k libvirt-daemon-kvm x86_64 6.6.0-3.fc33 @updates 0 libvirt-gconfig x86_64 3.0.0-3.fc33 @anaconda 379 k libvirt-gobject x86_64 3.0.0-3.fc33 @anaconda 230 k libzapojit x86_64 0.0.3-18.fc33 @anaconda 120 k lzop x86_64 1.04-5.fc33 @anaconda 107 k mdevctl noarch 0.69-1.fc33 @anaconda 65 k netcf-libs x86_64 0.2.8-16.fc33 @anaconda 190 k oniguruma x86_64 6.9.6-0.4.rc4.fc33 @updates 746 k openblas x86_64 0.3.10-6.fc33 @anaconda 60 k openblas-openmp x86_64 0.3.10-6.fc33 @anaconda 36 M osinfo-db-tools x86_64 1.8.0-2.fc33 @anaconda 172 k python3-libvirt x86_64 6.6.0-1.fc33 @fedora 1.5 M qemu-kvm x86_64 2:5.1.0-5.fc33 @anaconda 0 sheepdog x86_64 1.0.1-13.fc33 @anaconda 740 k suitesparse x86_64 5.4.0-5.fc33 @anaconda 3.5 M systemd-container x86_64 246.6-3.fc33 @anaconda 1.2 M tbb x86_64 2020.3-2.fc33 @anaconda 485 k tracker3-miners x86_64 3.0.1-1.fc33 @anaconda 4.1 M virt-manager-common noarch 3.1.0-1.fc33 @fedora 4.6 M zfs-fuse x86_64 0.7.2.2-17.fc33 @anaconda 6.0 M Transaktionsübersicht ========================================================================================== Entfernen 89 Pakete Freigegebener Speicherplatz: 146 M Ist dies in Ordnung? [j/N]: and, of course, I made no backup :)
FWIW to undo those situations in the past you can `sudo dnf history undo last` Thanks for following up. I'm closing this since I'm guessing it was random disk corruption or something