Public bug reported:

Using Ubuntu Trusty and libvirt package 1.3.1-1ubuntu10.9~cloud0

libvirt-bin:
  Installed: 1.3.1-1ubuntu10.9~cloud0
  Candidate: 1.3.1-1ubuntu10.9~cloud0
  Version table:
 *** 1.3.1-1ubuntu10.9~cloud0 0
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ 
trusty-updates/mitaka/main amd64 Packages


This is in Openstack installation. When trying to snapshot a instance I see the 
following in libvirt.log

2017-07-26 09:27:12.129+0000: 46621: warning : AppArmorSetFDLabel:982 : could 
not find path for descriptor /proc/self/fd/38, skipping
2017-07-26 09:27:12.131+0000: 46621: error : qemuMonitorJSONCheckError:382 : 
internal error: unable to execute QEMU command 'migrate': Migration disabled: 
failed to allocate shared memory

In nova-compute.log I see:
2017-07-26 11:27:13.038 171589 ERROR oslo_messaging.rpc.dispatcher 
libvirtError: internal error: unable to execute QEMU command 'migrate': 
Migration disabled: failed to allocate shared memory


I apply this patch to /etc/apparmor.dabstractions/libvirt-qemu and everything 
works:
https://review.fuel-infra.org/#/c/28086/2/debian/apparmor/libvirt-qemu

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  libvirt's apparmor profile denies access to /tmp and snapshots failed

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

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

Reply via email to