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

netcli doesnt generate carp password on HA systems

    XMLWordPrintable

    Details

    • Impact:
      High

      Description

      Traceback (most recent call last):
        File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/network.py", line 1824, in sync
          await self.sync_interface(interface, wait_dhcp, sync_interface_opts[interface])
        File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/network.py", line 1893, in sync_interface
          await self.middleware.call('interface.configure', data, aliases, wait_dhcp, options)
        File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1238, in call
          return await self._call(
        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/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/plugins/interface/configure.py", line 155, in configure
          iface.carp_config = [netif.CarpConfig(carp_vhid, advskew=advskew, key=carp_pass.encode())]
      AttributeError: 'NoneType' object has no attribute 'encode'

       

        Attachments

          Attachments

            JEditor

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: