Good day,
I decided to upgrade my FreeNas to TrueNas beta and have run into an odd issue. When going to Virtual Machines and trying to start one of my Windows 10 Virtual machines I get the message "CallError" [EFAULT] Failed to connect to libvirt"
My first though was that there was an issue with the Virtual Machine Config after the upgrade so decide I'd try just a clean Virtual machine Windows 10 to see if that would boot. Even creating a new Virtual machine results in the "[EFAULT] Failed to connect to libvirt"
Didn't know if anyone else has run into this?
I decided to upgrade my FreeNas to TrueNas beta and have run into an odd issue. When going to Virtual Machines and trying to start one of my Windows 10 Virtual machines I get the message "CallError" [EFAULT] Failed to connect to libvirt"
Code:
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 1198, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1102, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 977, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 1511, in start
self.ensure_libvirt_connection()
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 1494, in ensure_libvirt_connection
raise CallError('Failed to connect to libvirt')
middlewared.service_exception.CallError: [EFAULT] Failed to connect to libvirt
My first though was that there was an issue with the Virtual Machine Config after the upgrade so decide I'd try just a clean Virtual machine Windows 10 to see if that would boot. Even creating a new Virtual machine results in the "[EFAULT] Failed to connect to libvirt"
Code:
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 1187, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 449, in create
rv = await self.middleware._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1187, 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 1207, in do_create
await self.middleware.call('vm.ensure_libvirt_connection')
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1229, in call
return await self._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1198, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1102, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.8/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 1494, in ensure_libvirt_connection
raise CallError('Failed to connect to libvirt')
middlewared.service_exception.CallError: [EFAULT] Failed to connect to libvirtDidn't know if anyone else has run into this?