Error: 'NoneType' object has no attribute 'get_raw', while Machines listing in GUI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Expired
|
Medium
|
Unassigned |
Bug Description
Hello,
with an click onto Machines in the MAAS GUI, I got an error (I can see the top of the machine list for a part of a second and then comes the error):
'NoneType' object has no attribute 'get_raw'
I got the Error in 2.6, but a rebbot or an upgrade to 2.7.2 did not change the issue.
MAAS version: 2.7.2 (8283-g.
OS: Ubuntu 18.04.5 LTS (runns on Hardware)
I don't know, from which point of time, the issue starts.
I got every 5 seconds a log message
smaasko1 maas.power_
Error [smaasko1:
/var/log/maas/*.log is attached into the .zip
Our other maas server did not have the same issue, so I don't know how to re-create the bug.
Thank you very much.
Best Regards
Christoph
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.10-next |
Changed in maas: | |
milestone: | 3.0.0 → none |
From the logs I can see the traceback is repeated many times.
2020-08-13 09:50:25 provisioningser ver.rpc. common: [critical] Unhandled failure dispatching AMP command. This is probably a bug. Please ensure that this error is handled within application code or declared in the signature of the b'ListNodePower Parameters' command. [smaasko1: pid=24447: cmd=ListNodePow erParameters: ask=9da] python3/ dist-packages/ twisted/ internet/ asyncioreactor. py", line 267, in run
self. _asyncioEventlo op.run_ forever( ) python3/ dist-packages/ twisted/ internet/ asyncioreactor. py", line 290, in run
f( *args, **kwargs) python3/ dist-packages/ twisted/ internet/ defer.py" , line 500, in errback
self. _startRunCallba cks(fail) python3/ dist-packages/ twisted/ internet/ defer.py" , line 567, in _startRunCallbacks
self. _runCallbacks( ) python3/ dist-packages/ twisted/ internet/ defer.py" , line 653, in _runCallbacks
current. result = callback( current. result, *args, **kw) python3/ dist-packages/ twisted/ protocols/ amp.py" , line 1171, in checkKnownErrors *command. allErrors) python3/ dist-packages/ twisted/ python/ failure. py", line 359, in trap
self. raiseException( ) python3/ dist-packages/ twisted/ python/ failure. py", line 385, in raiseException with_traceback( self.tb) python3/ dist-packages/ twisted/ python/ threadpool. py", line 250, in inContext python3/ dist-packages/ twisted/ python/ threadpool. py", line 266, in <lambda>
inContext. theWork = lambda: context.call(ctx, func, *args, **kw) python3/ dist-packages/ twisted/ python/ context. py", line 122, in callWithContext text(). callWithContext (ctx, func, *args, **kw) python3/ dist-packages/ twisted/ python/ context. py", line 85, in callWithContext python3/ dist-packages/ provisioningser ver/utils/ twisted. py", line 885, in callInContext python3/ dist-packages/ provisioningser ver/utils/ twisted. py", line 217, in wrapper python3/ dist-packages/ maasserver/ utils/orm. py", line 737, in call_within_ transaction txn(*args, **kwargs) python3/ dist-packages/ maasserver/ utils/orm. py", line 540, in retrier python3. 6/contextlib. py", line 52, in inner python3/ dist-packages/ maasserver/ rpc/nodes. py", line 142, in list_cluster_ nodes_power_ parameters python3/ dist-packages/ maasserve. ..
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
File "/usr/lib/
key = error.trap(
File "/usr/lib/
File "/usr/lib/
raise self.value.
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
details = list(details)
File "/usr/lib/