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

Upgrade pending never appears

    XMLWordPrintable

    Details

      Description

      To reproduce:

      1.) Start with a working 11.3-U3 (latest internal built 04-28-2020) TrueNAS HA

      2.) Upgrade the first controller

      3.) Failover to 12.0

      The upgrade cannot be completed because pending upgrade never appears.

      tn-bhyve01-nodeb# midclt call failover.upgrade_pending
      False
      
      root@tn-bhyve01-nodea[~]# midclt call failover.upgrade_pending
      [EFAULT] Upgrade can only be run from the Active Controller.
      Traceback (most recent call last):
       File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 130, in call_method
       io_thread=False)
       File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1096, in _call
       return await run_method(methodobj, *args)
       File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1020, in _run_in_conn_threadpool
       return await self.run_in_executor(self.__ws_threadpool, method, *args, **kwargs)
       File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1008, in run_in_executor
       return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
       File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
       result = self.fn(*self.args, **self.kwargs)
       File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 965, in nf
       return f(*args, **kwargs)
       File "/usr/local/lib/middlewared_truenas/plugins/failover.py", line 894, in upgrade_pending
       raise CallError('Upgrade can only be run from the Active Controller.')
      middlewared.service_exception.CallError: [EFAULT] Upgrade can only be run from the Active Controller.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                caleb Caleb St. John
                Reporter:
                jmaloney Joe Maloney
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: