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.
Reproducible via manager- 1.5.1/tests/ osdict. py
$ python setup.py test -v -d --testfile /root/virt-
Debugging this I see that
full_list = OSDB.list_os()
contains various fedora and rhel entries.
But: os(typename= "linux" , sortpref=["fedora", "rhel"])
pref_list = OSDB.list_
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.