Cannot stop CentOS 7 VM

ertank

Explorer
Joined
Sep 16, 2018
Messages
66
Hello,

I recently upgraded my system to TrueNAS Core 12 latest. After that I created a Linux VM. Installed CentOS 7 in it (actually NethServer latest available ISO image). Installation went good. I removed CDROM after installation because it tends to boot using CDROM first.

My problem: I cannot turn off or force power off this VM. I get error each and every time details of the error is as following:

Code:
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


This is the first time I am trying to install a VM in FreeNAS/TrueNAS.

Any help is appreciated.

Thanks & Regards,
Ertan
 
Top