Hello All,
I am new to opennebula, I am trying to setup a lab environment with NAS storage.I am struggling to bringup a VM.Here is my setup
- I have installed frontend and did NFS mount /var/lib/one/datastores from NAS storage where I also have some old images
- on the node I have NFS /var/lib/one/datastores
- Create image using the source from old Windows Server which is located /var/lib/one/datastores/images
- Created VM Template and VM
Once you bring up VM it fails with the following error
Fri Oct 4 23:21:22 2019 [Z0][VM][I]: New state is ACTIVE
Fri Oct 4 23:21:22 2019 [Z0][VM][I]: New LCM state is PROLOG
Fri Oct 4 23:21:23 2019 [Z0][VM][I]: New LCM state is BOOT
Fri Oct 4 23:21:23 2019 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/9/deployment.0
Fri Oct 4 23:21:25 2019 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_context.
Fri Oct 4 23:21:25 2019 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Fri Oct 4 23:21:26 2019 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/100/9/deployment.0’ ‘192.168.1.xxx’ 9 192.168.1.xxx
Fri Oct 4 23:21:26 2019 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/100/9/deployment.0
Fri Oct 4 23:21:26 2019 [Z0][VMM][I]: error: internal error: qemu unexpectedly closed the monitor: che=none -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1,write-cache=on -drive file=/var/lib/one//datastores/100/9/disk.1,format=raw,if=none,id=drive-ide0-0-1,readonly=on -device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -vnc 0.0.0.0:9 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on
Fri Oct 4 23:21:26 2019 [Z0][VMM][I]: 2019-10-07 23:01:43.400+0000: Domain id=1 is tainted: high-privileges
Fri Oct 4 23:21:26 2019 [Z0][VMM][I]: 2019-10-07T23:01:43.531171Z qemu-kvm: -drive file=/var/lib/one//datastores/100/9/disk.0,format=qcow2,if=none,id=drive-ide0-0-0,cache=none: Could not open ‘/var/lib/one//datastores/100/9/disk.0’: Permission denied
Fri Oct 4 23:21:26 2019 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/100/9/deployment.0
Fri Oct 4 23:21:26 2019 [Z0][VMM][I]: ExitCode: 255
Fri Oct 4 23:21:26 2019 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
I would appreciate if anybody can help with this