在centos stream 9上部署openstack zed 后,在创建虚拟机时失败,在计算节点上查看nova-compute的日志如下:

2022-12-31 21:50:16.155 3930 ERROR nova.compute.manager [instance: 5cb2e549-8142-4934-9cf7-e28a9ff31618] libvirt.libvirtError: unsupported configuration: domain configuration does not support video model 'virtio'。

通过搜索到一个网友的文章后按其操作方法修复,可以正常创建虚拟机了。

​Comment #2 : Bug #1999803 : Bugs : OpenStack Compute (nova) (launchpad.net)​

需要安装以下Linux虚拟化组件:

yum install -y qemu-kvm-ui-opengl qemu-kvm-device-display-virtio-gpu

yum install -y qemu-kvm-device-display-virtio-gpu-pci

yum install -y qemu-kvm-device-display-virtio-vga-gl qemu-kvm-device-usb-host

yum install -y qemu-kvm-device-display-virtio-gpu-gl qemu-kvm-device-display-virtio-vga  

yum install -y qemu-kvm-device-usb-redirect qemu-kvm-device-display-virtio-gpu-pci-gl