SOLVED Can't create VM because the ISO file cannot be mounted

titust1

Explorer
Joined
May 10, 2022
Messages
66
I think this this issue has been reported back in January. Now it's May and the issue has not been resolve yet. Basically the virtualization feature of Scale is useless.
There is no way to create a VM due to the error in the image below. Permissions are OK
It does not matter if you manually upload the ISO or use the upload feature:
root@diskstation[/mnt/Z-Pool-VMs/ISOs]# ls -ails
total 13022347
34 1 drwxrwx--- 2 titus titus 5 May 12 17:08 .
34 1 drwxr-xr-x 3 root root 3 May 12 13:41 ..
384 4372617 -rwxrwx--- 1 root root 4600823808 May 12 17:09 'Win10 - Copy.iso'
256 4372617 -rwxrwx--- 1 titus titus 4600823808 May 12 14:14 Win10.iso

Anybody else had the same issue? I don't understand how the developers released this version. Any workaround?
error.jpg
 
Last edited:

titust1

Explorer
Joined
May 10, 2022
Messages
66
I think I found a solution.
I modified the ACL permissions for the ISOs Folder, and added libvirt-qemu Allow | Read.
Now I can add the ISO during the VM creation, also the VM is able to boot from the ISO
 

Gti4life

Dabbler
Joined
May 16, 2022
Messages
12
I think I found a solution.
I modified the ACL permissions for the ISOs Folder, and added libvirt-qemu Allow | Read.
Now I can add the ISO during the VM creation, also the VM is able to boot from the ISO
I'm running into the same issue
Did you modify the permissions in the truenas giu or using commands?
 

titust1

Explorer
Joined
May 10, 2022
Messages
66
In the GUI, I always use the GUI, add the user libvirt-qemu and give ACL permissions for this new user Allow | Read
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    63.8 KB · Views: 1,005

taaangy234

Dabbler
Joined
Dec 7, 2016
Messages
18
When I try added the user libvirt-qemu, libvirt-qemu doesn't show from the drop-down list to select, so I copy and pasted it in manually, then apply permissions recursively including sub dir. Then try creating a new VM still fails after I reboot the TrueNAS server.
 

Attachments

  • 20220518Virtual Machines - 192.168.0.30 and 5 more pages - Personal - Microsoft​ Edge.png
    20220518Virtual Machines - 192.168.0.30 and 5 more pages - Personal - Microsoft​ Edge.png
    54.3 KB · Views: 1,016
  • 20220518__truenas_NAS_Data1_AppLib_ISO.png
    20220518__truenas_NAS_Data1_AppLib_ISO.png
    88.1 KB · Views: 446

Gti4life

Dabbler
Joined
May 16, 2022
Messages
12
When I try added the user libvirt-qemu, libvirt-qemu doesn't show from the drop-down list to select, so I copy and pasted it in manually, then apply permissions recursively including sub dir. Then try creating a new VM still fails after I reboot the TrueNAS server.
I followed @titust1's instructions and it worked finally
the libvirt-qemu user account is already created you are just modifying the accounts permissions
image (3).png

Thanks again @titust1
 

alexb7217

Cadet
Joined
Jul 29, 2023
Messages
1
Had this issue today. Attempted to grant permissions to 'libvirt-qemu' user on TrueNAS system. For some reason, that user did not exist in the users list.

So I did what any good dev does. Rebooted. (After adding a new dataset + zpol for ISOs mounting.

After reboot, still no 'libvirt-qemu' user but I was able to upload the ISO and install Proxmox Backup Server as a TrueNAS VM.

Using TrueNAS Core...

Version:
TrueNAS-12.0-U8.1
 
Top