Hey guys,

I'm trying to play with Terraform and it's failing too! Ubuntu 20.04.1.

Guide:

https://fabianlee.org/2020/02/22/kvm-terraform-and-cloud-init-to-create-
local-kvm-resources/

NOTE: I'm using the latest "terraform-provider-libvirt-0.6.3" binary for
Ubuntu 20.04.

The "terraform apply" fails with:

Error: Error creating libvirt domain: virError(Code=1, Domain=10,
Message='internal error: process exited while connecting to monitor:
2020-11-17T01:55:34.375538Z qemu-system-x86_64: -blockdev
{"driver":"file","filename":"/var/lib/libvirt/images/simple-os_image
","node-name":"libvirt-2-storage","auto-read-
only":true,"discard":"unmap"}: Could not open '/var/lib/libvirt/images
/simple-os_image': Permission denied')

The generated XML looks just like the one from comment #39!

As you guys can see, the path is "normal". The file permissions are
accessible to Libvirt users/groups. The QEMU host is working normally
with virt-manager.

Any quick fix!?

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

Title:
  Apparmor prevents using storage pools and hostdev networks

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

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

Reply via email to