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

Cannot create second VM on SCALE

    XMLWordPrintable

    Details

    • Impact:
      High

      Description

      To reproduce:

      1. Very fresh TrueNAS-SCALE-20.12-ALPHA, installed yesterday
      2. Create a VM
      3. Delete the VM
      4. Try to create another VM
      Error: Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 137, in call_method
          result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1215, in _call
          return await methodobj(*prepared_call.args)
        File "/usr/lib/python3/dist-packages/middlewared/service.py", line 469, in create
          rv = await self.middleware._call(
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1215, in _call
          return await methodobj(*prepared_call.args)
        File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1021, in nf
          return await f(*args, **kwargs)
        File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vms.py", line 105, in do_create
          await self.middleware.run_in_thread(self._check_setup_connection)
        File "/usr/lib/python3/dist-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/lib/python3/dist-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
          result = self.fn(*self.args, **self.kwargs)
        File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/connection.py", line 41, in _check_setup_connection
          if not self._is_connection_alive():
        File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/connection.py", line 34, in _is_connection_alive
          return self.LIBVIRT_CONNECTION and self.LIBVIRT_CONNECTION.isAlive()
        File "/usr/lib/python3/dist-packages/libvirt.py", line 4370, in isAlive
          if ret == -1: raise libvirtError ('virConnectIsAlive() failed', conn=self)
      libvirt.libvirtError: invalid connection pointer in virConnectIsAlive
      

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                DaAwesomeP Perry N
                Watchers:
                Bonnie Follweiler, Bug Clerk, Perry N
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: