I have a VM running Ubuntu 20.04 LTS. When I want to reboot it with a shutdown -r now it seems to hang. At least it does not come up again to be at least pingable.
The WebGUI also doesn't work correctly after the reboot. When trying to stop the machine there's an error message:
Error: Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 361, in run await self.future File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 399, in __run_body rv = await self.middleware.run_in_thread(self.method, *([self] + args)) File "/usr/local/lib/python3.8/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread return await self.loop.run_in_executor(self.run_in_thread_executor, 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/schema.py", line 977, in nf return f(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 1563, in stop vm.stop(vm_data['shutdown_timeout']) File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 251, in stop self.domain.shutdown() File "/usr/local/lib/python3.8/site-packages/libvirt.py", line 2659, in shutdown if ret == -1: raise libvirtError ('virDomainShutdown() failed', dom=self) libvirt.libvirtError: An error occurred, but the cause is unknown
After rebooting Truenas everything is running fine again.