There is an apparmor deny that could be related, but the path looks just
wrong.

audit: type=1400 audit(1523957176.480:37835): apparmor="DENIED"
namespace="root//lxd-testkvm-bionic-tononshared_<var-lib-lxd>"
pid=8721 comm="qemu-system-x86"
fsuid=64055 ouid=64055
profile="libvirt-1c67131a-7177-4f49-9840-f1092310890d"
denied_mask="wr"
  operation="open"
  name="/0"
  requested_mask="wr"

Name = /0 ????

The deny is on the migration target.

There are no "magic" devices that could point to /0

root@testkvm-bionic-from:~# virsh domblklist kvmguest-bionic-normal
Target     Source
------------------------------------------------
vda        /var/lib/uvtool/libvirt/images/kvmguest-bionic-normal.qcow
vdb        /var/lib/uvtool/libvirt/images/kvmguest-bionic-normal-ds.qcow

root@testkvm-bionic-from:~# virsh domblkinfo kvmguest-bionic-normal vda
Capacity:       8589934592
Allocation:     30347264
Physical:       30343168

root@testkvm-bionic-from:~# virsh domblkinfo kvmguest-bionic-normal vdb
Capacity:       378880
Allocation:     458752
Physical:       458752

For now I'd assume it is more libvirt (or qemu) getting strange ideas
about which paths to use than a missing apparmor rule.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1764373

Title:
  copy-storage migrations fail on nbd-server-add

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1764373/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to