On Mon, Nov 26, 2018 at 10:15 PM Nir Soffer <nsoffer@redhat.com> wrote:
I updated 2 Fedora 28 hosts today, getting new ovirt-master-release.rpm,
which exposes new virt-preview repo providing libvirt 4.9 and qemu 3.1.

After the update, connecting with engine master (built few week ago) fail with:

2018-11-26 22:07:51,702+02 WARN  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-94) [] Unexpected return value: Status [code=-32603, message=Internal JSON-RPC error: {'reason': "[Errno 2] No such file or directory: '/usr/share/libvirt/cpu_map.xml'"}]

Looks like contents of /usr/share/libvirt/ is different now:

$ ls -1 /usr/share/libvirt/cpu_map/*.xml | head
/usr/share/libvirt/cpu_map/index.xml
/usr/share/libvirt/cpu_map/ppc64_POWER6.xml
/usr/share/libvirt/cpu_map/ppc64_POWER7.xml
/usr/share/libvirt/cpu_map/ppc64_POWER8.xml
/usr/share/libvirt/cpu_map/ppc64_POWER9.xml
/usr/share/libvirt/cpu_map/ppc64_POWERPC_e5500.xml
/usr/share/libvirt/cpu_map/ppc64_POWERPC_e6500.xml
/usr/share/libvirt/cpu_map/ppc64_vendors.xml
/usr/share/libvirt/cpu_map/x86_486.xml
/usr/share/libvirt/cpu_map/x86_athlon.xml

Looks like vdsm is not ready for this change:

$ git grep cpu_map.xml
lib/vdsm/machinetype.py:CPU_MAP_FILE = '/usr/share/libvirt/cpu_map.xml'
tests/Makefile.am:      cpu_map.xml \
tests/caps_test.py:                                'cpu_map.xml')
tests/cpu_map.xml:<!--  Taken from /usr/share/libvirt/cpu_map.xml
vdsm.spec.in:%{_datadir}/%{vdsm_name}/tests/cpu_map.xml
vdsm_hooks/cpuflags/before_vm_start.py:guest OS. Feature names can be found in /usr/share/libvirt/cpu_map.xml.
[nsoffer@lean vdsm (master)]$ git grep cpu_map
lib/vdsm/machinetype.py:CPU_MAP_FILE = '/usr/share/libvirt/cpu_map.xml'
lib/vdsm/machinetype.py:        cpu_map = ET.fromstring(xml.read())
lib/vdsm/machinetype.py:    arch_elements = cpu_map.findall('arch')
tests/Makefile.am:      cpu_map.xml \
tests/caps_test.py:                                'cpu_map.xml')
tests/cpu_map.xml:<!--  Taken from /usr/share/libvirt/cpu_map.xml
vdsm.spec.in:%{_datadir}/%{vdsm_name}/tests/cpu_map.xml
vdsm_hooks/cpuflags/before_vm_start.py:guest OS. Feature names can be found in /usr/share/libvirt/cpu_map.xml.

And I cannot find any related patch on gerrit.