vm_create: This system does not support virtualization Error

vetterling

Cadet
Joined
Oct 2, 2018
Messages
4
When creating a VM with Truenas 12 I get the follwing error:

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 1191, 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 1191, 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 1211, 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: This system does not support virtualization.

Now this did work under 11.x and my CPU does support EPT

Here is the feature set using "grep POPCNT /var/run/dmesg.boot" :

Features2=0x7fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>

Is there anything I'm overlooking here, any ideas?
 

hescominsoon

Patron
Joined
Jul 27, 2016
Messages
456
roll back to the previous version for now...
what cpu is in your machine?
 

elibrody2

Cadet
Joined
Mar 17, 2021
Messages
4
Ryzen 5 3600 this is the first install I have done so it has never worked on my system to what version should I roll back?
 

hescominsoon

Patron
Joined
Jul 27, 2016
Messages
456
Ryzen 5 3600 this is the first install I have done so it has never worked on my system to what version should I roll back?
I was answering the OP..sorry. for your situation if it's never worked..no idea..sorry
 

hescominsoon

Patron
Joined
Jul 27, 2016
Messages
456
When creating a VM with Truenas 12 I get the follwing error:

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 1191, 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 1191, 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 1211, 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: This system does not support virtualization.

Now this did work under 11.x and my CPU does support EPT

Here is the feature set using "grep POPCNT /var/run/dmesg.boot" :

Features2=0x7fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>

Is there anything I'm overlooking here, any ideas?
roll back to the previous version for now...
 

hescominsoon

Patron
Joined
Jul 27, 2016
Messages
456
Thanks for trying any other ideas I am on the latest version of true nas
check your BIOS settings and make sure all virtualization options are enabled.
 

hescominsoon

Patron
Joined
Jul 27, 2016
Messages
456
It is I am running vms on the local machine true nas won’t create one
truenas may not like your ryzen cpu...try installing proxmox onto that hardware if it works there then BSD/TN jsut doesn't fully support the ryzen yet.
 

headwhacker

Dabbler
Joined
Jan 3, 2021
Messages
17
I have the same CPU on an x470 ASRock board. I'm running a VM created directly in TrueNas. But that was on 2.0 U1.
 

headwhacker

Dabbler
Joined
Jan 3, 2021
Messages
17
I just created a new VM on U2.1 and it's just went fine. It must be a bios option which you need to toggle to make it work.
 
Top