Upgrade pending never appears
Description
Problem/Justification
None
Impact
None
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Show:
Joe Maloney May 7, 2020 at 10:31 PM
Confirmed fixed with this PR https://github.com/freenas/freenas/pull/4749
Bug Clerk May 6, 2020 at 7:08 PM
Bug Clerk May 6, 2020 at 5:51 PM
Complete
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Caleb
CalebReporter
Joe Maloney
Joe Maloney(Deactivated)Components
Fix versions
Affects versions
Priority
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created April 28, 2020 at 7:44 PM
Updated July 1, 2022 at 4:49 PM
Resolved May 6, 2020 at 5:51 PM
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.