Qemu-system-x86_64 Permission denied

Hi,

Anyone faced this error ? I guess its a permission issue. I did changed the qemu.conf with user root/group root and reloaded the libvirtd with: service libvirt-bin restart (running on Ubuntu)

With no success, getting always the same message if creating the VM on the new remote DS.

Thanks for the Help

Thu Aug 27 17:39:25 2015 [Z0][VMM][D]: Message received: LOG I 265 Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/0/265/deployment.3’ ‘ael2-lab’ 265 ael2-lab

Thu Aug 27 17:39:25 2015 [Z0][VMM][D]: Message received: LOG I 265 error: Failed to create domain from /var/lib/one//datastores/0/265/deployment.3

Thu Aug 27 17:39:25 2015 [Z0][VMM][D]: Message received: LOG I 265 error: internal error: process exited while connecting to monitor: qemu-system-x86_64: -drive file=/var/lib/one//datastores/0/265/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none,aio=threads: could not open disk image /var/lib/one//datastores/0/265/disk.0: Could not open ‘/var/lib/one//datastores/0/265/disk.0’: Permission denied

dont use root, use oneadmin

see: Quickstart: OpenNebula on Ubuntu 14.04 and KVM — OpenNebula 4.12.1 documentation

2.5. Configure Qemu
The oneadmin user must be able to manage libvirt as root:
cat << EOT > /etc/libvirt/qemu.conf
user = “oneadmin”
group = “oneadmin”
dynamic_ownership = 0
EOT

Restart libvirt to capture these changes:
service libvirt-bin restart

Yes thanks,

Did changed it yesterday.
Now I need to fix my LVM storage issue.

Thanks again for your help