Public bug reported:

After upgrading to the latest Ubuntu 18.04 packages I was unable to
create new qcow2 disk on NFS shared disk. It worked fir years without
problems.

Solution for this was change of client configuration in fstab to:
172.17.252.157:/mnt/storage/ha     /mnt/storage       nfs    
_netdev,noatime,vers=4,x-systemd.automount    0    0

I have change vers from 3 to 4 and file creation was possible again.

Then another one hits me:

libvirt:  error : unable to set AppArmor profile 'libvirt-
93a02ea1-4ab0-4978-98fb-2cc669f9169c' for '/usr/bin/kvm-spice': No such
file or directory

Now, solution was to add NFS mounted directories manually to:
/etc/apparmor.d/abstractions/libvirt-qemu

  /dev/sd* rk,

  /var/lib/libvirt/images/*.ign r,
  /mnt/storage/docker/*.ign r,

This doesn't look like normal behavior to me because I didn't need all that 
before last update.
Ubuntu:
"Ubuntu 18.04.4 LTS"

Kernel:
Linux test1 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux

Libvirt packages:
4.0.0-1ubuntu8.14

Qemu packages:
1:2.11+dfsg-1ubuntu7.23

** 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/1866175

Title:
  Can't create virtual disk or start virtual machine

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to