Comment 2 for bug 1796932

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Reproducible via
$ python setup.py test -v -d --testfile /root/virt-manager-1.5.1/tests/osdict.py

Debugging this I see that
  full_list = OSDB.list_os()
contains various fedora and rhel entries.

But:
  pref_list = OSDB.list_os(typename="linux", sortpref=["fedora", "rhel"])
Only has these three entries:
idx 0 osobj.name fedora-unknown
idx 1 osobj.name fedora28
idx 2 osobj.name silverblue28

Bionic is on the same version, that makes it easy to cross-check there.
The same test on the same source works there.