The issue is that the XML does not contain the CPU model type, following is what is actually being passed.
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L6337
This is the actual XML provided on an arm64 deploy (can be confirmed using "virsh cpu-compare file.xml" -
<cpu> <arch>aarch64</arch> <topology sockets="1" cores="48" threads="1"/> </cpu>
more logs: https://pastebin.canonical.com/209211/
If you insert <model>anything</model> then cpu-compare works, e.g.
https://pastebin.canonical.com/209216/
However, https://github.com/openstack/nova/blob/f94c728bdddc9d1d3e3ae5f8f34b0111b9168bc9/releasenotes/notes/aarch64-set-proper-cpu-mode-8455bad7d69dc6fd.yaml indicates that no host-model will be passed.
The issue is that the XML does not contain the CPU model type, following is what is actually being passed.
https:/ /github. com/openstack/ nova/blob/ master/ nova/virt/ libvirt/ driver. py#L6337
This is the actual XML provided on an arm64 deploy (can be confirmed using "virsh cpu-compare file.xml" -
<cpu> aarch64< /arch>
<arch>
<topology sockets="1" cores="48" threads="1"/>
</cpu>
more logs: https:/ /pastebin. canonical. com/209211/
If you insert <model> anything< /model> then cpu-compare works, e.g.
https:/ /pastebin. canonical. com/209216/
However, https:/ /github. com/openstack/ nova/blob/ f94c728bdddc9d1 d3e3ae5f8f34b01 11b9168bc9/ releasenotes/ notes/aarch64- set-proper- cpu-mode- 8455bad7d69dc6f d.yaml indicates that no host-model will be passed.