Error from virt-aa-helper while creating snapshot
Software environment
- Debian Bookworm (and confirmed on Sid)
- Architecture: x86_64
- kernel version: 6.1.0-17-amd64 and 6.6.15-amd64
- libvirt version: 10.0.0-2
Description of problem
Under openstack, when snapshot is created, there is an error from virt-aa-helper logged in journal. It does not affect function, but is a trace on each VM snapshot:
libvirtd[2100]: internal error: Child process (LIBVIRT_LOG_OUTPUTS=3:stderr /usr/lib/libvirt/virt-aa-helper -r -u libvirt-24bf46d0-2be9-4311-803a-98dc8508ac8a) unexpected exit status 1: 2024-02-19 14:16:48.431+0000: 101059: info : libvirt version: 9.0.0, package: 9.0.0-4 (Debian)
2024-02-19 14:16:48.431+0000: 101059: info : hostname: compute2-osa-amarao
2024-02-19 14:16:48.431+0000: 101059: error : virDomainDiskDefMirrorParse:7575 : unsupported configuration: unknown mirror job type ''
virt-aa-helper: error: could not parse XML
virt-aa-helper: error: could not get VM definition
libvirtd[2100]: internal error: cannot update AppArmor profile 'libvirt-24bf46d0-2be9-4311-803a-98dc8508ac8a'
libvirtd[2100]: Unable to restore security label on /var/lib/nova/instances/snapshots/tmpd8waphs8/a73869a14f6641c7a282b4a87c3cc311.delta
Steps to reproduce
- Run VM under openstack
- Create snapshot (openstack server image create)
- Observe journalctl -f for host which runs VM.
Edited by George Shuklin