Error creating VM - TrueNAS 12.0 - U2

abnexus

Dabbler
Joined
May 17, 2019
Messages
13
I made the migration over to TrueNas Core 12 recently and going through and correcting various things from FreeNAS 11 setup. I'm having an error with creating a Ubuntu Desktop VM (version 20.04.2). Any thoughts what I'm possibly overlooking? UEFI boot is turned on in the BIOS.

System Specs
CPU: AMD Ryzen 5 2600 Six-Core Processor
Threads: 12
Memory: 16gb

VM setup specs:
Virtual CPUs: 3
Cores: 3
Threads: 6
Memory: 3072 MiB
Space 100 Gb


Error:
[EINVAL] vm_create.vcpus: Maximum 16 vcpus are supported.Please ensure the product of "vm_create.vcpus", "vm_create.cores" and "vm_create.threads" is less then 16.

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 455, in create
rv = await self.middleware._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 1279, in do_create
verrors.check()
File "/usr/local/lib/python3.8/site-packages/middlewared/service_exception.py", line 62, in check
raise self
middlewared.service_exception.ValidationErrors: [EINVAL] vm_create.vcpus: Maximum 16 vcpus are supported.Please ensure the product of "vm_create.vcpus", "vm_create.cores" and "vm_create.threads" is less then 16.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
VM setup specs:
Virtual CPUs: 3
Cores: 3
Threads: 6
Memory: 3072 MiB
Space 100 Gb


Error:
[EINVAL] vm_create.vcpus: Maximum 16 vcpus are supported.Please ensure the product of "vm_create.vcpus", "vm_create.cores" and "vm_create.threads" is less then 16.
The answer seems to be in the question...

You're trying to ad 3 VCPUs with 3 cores each, with 6 threads per core, so 3x3x6=54 threads

Reduce your numbers to something resulting in less than 16 just like it says.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
You're trying to ad 3 VCPUs with 3 cores each, with 6 threads per core, so 3x3x6=54 threads
Some serious Overprovisioning !
 
Top