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

traceback on vip detection on freeBSD

    XMLWordPrintable

    Details

      Description

      [2020/06/11 05:26:36] (ERROR) middlewared.call_hook():1065 - Failed to run hook devd.carp:<function devd_carp_hook at 0x818b75670>(*(), **{'data': {'system': 'CARP', 'subsystem': '206@vtnet0', 'type': 'BACKUP'}})
      Traceback (most recent call last):
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1061, in call_hook
          await fut
        File "/usr/local/lib/middlewared_truenas/plugins/failover_/event.py", line 805, in devd_carp_hook
          await middleware.call('failover.event', iface, vhid, data['type'])
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1221, in call
          return await self._call(
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1180, in _call
          return await run_method(methodobj, *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/middlewared_truenas/plugins/failover_/event.py", line 117, in event
          self.middleware.call_sync('failover.status_refresh')
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1236, in call_sync
          return self.run_coroutine(
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1263, in run_coroutine
          return fut.result()
        File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 432, in result
          return self.__get_result()
        File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
          raise self._exception
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1166, in _call
          return await methodobj(*args)
        File "/usr/local/lib/middlewared_truenas/plugins/failover.py", line 321, in status_refresh
          await self.middleware.call('failover.status')
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1221, in call
          return await self._call(
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1166, in _call
          return await methodobj(*args)
        File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 121, in async_wrapper
          return await fn(*args, **kwargs)
        File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
          return await f(*args, **kwargs)
        File "/usr/local/lib/middlewared_truenas/plugins/failover.py", line 259, in status
          status = await self._status(app)
        File "/usr/local/lib/middlewared_truenas/plugins/failover.py", line 269, in _status
          status = await self._get_local_status(app)
        File "/usr/local/lib/middlewared_truenas/plugins/failover.py", line 306, in _get_local_status
          masters = (await self.middleware.call('failover.vip.get_states', interfaces))[0]
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1221, in call
          return await self._call(
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1166, in _call
          return await methodobj(*args)
        File "/usr/local/lib/middlewared_truenas/plugins/failover_/detect_virtual_ips_freebsd.py", line 22, in get_states
          for iface in await self.middleware.call('interface.query', 'network.interfaces',
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1221, in call
          return await self._call(
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1180, in _call
          return await run_method(methodobj, *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 976, in nf
          args, kwargs = clean_and_validate_args(args, kwargs)
        File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 930, in clean_and_validate_args
          value = attr.clean(args[args_index + i])
        File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 457, in clean
          raise Error(self.name, 'Not a list')
      middlewared.schema.Error: [query-filters] Not a list

       

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  caleb Caleb St. John
                  Reporter:
                  caleb Caleb St. John
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: