Validate system requirements when starting VM

Description

I'm running FreeNAS virtualised on ESXi 6.7. I've tried a number of times to start a Rancher VM by following the setup instructions, but every time i try to start the VM, i get this error

Request Method: POST
Request URL: http://192.168.1.220/legacy/vm/start/12/
Software Version: FreeNAS-11.2-BETA2 (f14b2ed0e)
Exception Type: ClientException
Exception Value:
[EFAULT] VM RancherUI failed to start: vm_create: Device not configured
Exception Location: /usr/local/lib/python3.6/site-packages/middlewared/client/client.py in call, line 437
Server time: Sat, 25 Aug 2018 09:59:39 +0100

Environment:

Software Version: FreeNAS-11.2-BETA2 (f14b2ed0e)
Request Method: POST
Request URL: http://192.168.1.220/legacy/vm/start/12/

Traceback:
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
42. response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "./freenasUI/freeadmin/middleware.py" in process_view
163. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
23. return view_func(request, *args, **kwargs)
File "./freenasUI/vm/views.py" in start
86. c.call('vm.start', id)
File "./freenasUI/vm/views.py" in start
86. c.call('vm.start', id)
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in call
437. raise ClientException(c.error, c.errno, c.trace, c.extra)

Exception Type: ClientException at /legacy/vm/start/12/
Exception Value: [EFAULT] VM RancherUI failed to start: vm_create: Device not configured

Request information
GET
No GET data

POST
Variable Value
__form_id 'form_str'
FILES
No FILES data

COOKIES
Variable Value
fntreeSaveStateCookie 'root%2Croot%2F11%2Croot%2F70%2Croot%2F70%2F77%2Croot%2F70%2F72%2Croot%2F9'
csrftoken '********'
sessionid 'zue9ymdkym2dw20jfc2jwqengd7j24w5'
META
Variable Value

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Brandon 
March 27, 2019 at 8:13 PM

Test case

Try to start a VM on a system not capable of running VM's

Bug Clerk 
February 25, 2019 at 7:34 PM

Andy Collins 
August 29, 2018 at 10:04 AM

Ok, i suspected as much. As i mentioned, FreeNAS is already running virtualised on ESXi 6.7 on Xeon E3-1225 v3 processors, do you think it could also be a case that the freeNAS hypervisor doesn't like running as a nested hypervisor under ESXi?

If you want any further info on my setup, just let me know

William Gryzbowski 
August 27, 2018 at 1:21 PM

Andy, thats a complicated error message for "CPU does not support virtualization of this method".

Brandon, seems like we need more explicit error and do not even allow VM to be created in that circumstance.

Complete

Details

Assignee

Reporter

Components

Fix versions

Priority

More fields

Katalon Platform

Created August 25, 2018 at 9:01 AM
Updated October 30, 2019 at 3:38 PM
Resolved October 30, 2019 at 3:38 PM