Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109341

VM libvirtError - internal error: client socket is closed

    XMLWordPrintable

    Details

      Description

      BRIEF:

      Cannot boot VM after updating TrueNAS 12.0-RELEASE to TrueNAS 12.0-U2.

       

      STEPS AND RESULTS:
      1. TrueNAS 12.0-RELEASE with RancherOS VM (with RAW AHCI disk installed originally with FreeNAS 11.3)
      2. Update to TrueNAS 12.0-UC2.

      • ACTUAL RESULT:  
        • VM is not auto-booted
        • Cannot manually start VM using UI: libvirtError
        • Can manually create new VM with same disk, but results in the same error: libvirtError
        • Can not remove copy of VM in UI: libvirtError
      SCREENSHOT / FAULT DETAILS:

      libvirtError

      internal error: client socket is closed

       

      ADDITIONAL INFO:
      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 1206, 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 1110, 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 1595, in start
          self.vms[vm['name']].start(vm_data=vm)
        File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/vm.py", line 166, in start
          if self.domain.isActive():
        File "/usr/local/lib/python3.8/site-packages/libvirt.py", line 1566, in isActive
          if ret == -1: raise libvirtError ('virDomainIsActive() failed', dom=self)
      libvirt.libvirtError: internal error: client socket is closed

       

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  waqar Waqar Ahmed
                  Reporter:
                  rolonl RL
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: