2023-01-23 20:28:03 metadataserver.api_twisted: [critical] Failed to process status message instantly.
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/snap/maas/23947/lib/python3.8/site-packages/provisioningserver/utils/twisted.py", line 821, in worker
return target()
File "/snap/maas/23947/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work
task()
File "/snap/maas/23947/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork
task()
--- <exception caught here> ---
File "/snap/maas/23947/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext
result = inContext.theWork()
File "/snap/maas/23947/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/snap/maas/23947/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/snap/maas/23947/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/snap/maas/23947/lib/python3.8/site-packages/provisioningserver/utils/twisted.py", line 856, in callInContext
return func(*args, **kwargs)
File "/snap/maas/23947/lib/python3.8/site-packages/provisioningserver/utils/twisted.py", line 202, in wrapper
result = func(*args, **kwargs)
File "/snap/maas/23947/lib/python3.8/site-packages/metadataserver/api_twisted.py", line 564, in _processMessageNow
self._processMessage(node, message)
File "/snap/maas/23947/lib/python3.8/site-packages/maasserver/utils/orm.py", line 756, in call_within_transaction
return func_outside_txn(*args, **kwargs)
File "/snap/maas/23947/lib/python3.8/site-packages/maasserver/utils/orm.py", line 559, in retrier
return func(*args, **kwargs)
File "/usr/lib/python3.8/contextlib.py", line 75, in inner
return func(*args, **kwds)
File "/snap/maas/23947/lib/python3.8/site-packages/metadataserver/api_twisted.py", line 472, in _processMessage
_create_vmhost_for_deployment(node)
File "/snap/maas/23947/lib/python3.8/site-packages/metadataserver/api_twisted.py", line 266, in _create_vmhost_for_deployment
discover_and_sync_vmhost(pod, node.owner)
File "/snap/maas/23947/lib/python3.8/site-packages/maasserver/vmhost.py", line 77, in discover_and_sync_vmhost
raise PodProblem(str(error))
maasserver.exceptions.PodProblem: Failed talking to pod: 'NoneType' object has no attribute 'get'
No dice. regiond.log tells me
2023-01-23 20:28:03 metadataserver. api_twisted: [critical] Failed to process status message instantly. python3. 8/threading. py", line 870, in run _target( *self._ args, **self._kwargs) maas/23947/ lib/python3. 8/site- packages/ provisioningser ver/utils/ twisted. py", line 821, in worker maas/23947/ usr/lib/ python3/ dist-packages/ twisted/ _threads/ _threadworker. py", line 46, in work maas/23947/ usr/lib/ python3/ dist-packages/ twisted/ _threads/ _team.py" , line 190, in doWork maas/23947/ usr/lib/ python3/ dist-packages/ twisted/ python/ threadpool. py", line 250, in inContext maas/23947/ usr/lib/ python3/ dist-packages/ twisted/ python/ threadpool. py", line 266, in <lambda> theWork = lambda: context.call(ctx, func, *args, **kw) maas/23947/ usr/lib/ python3/ dist-packages/ twisted/ python/ context. py", line 122, in callWithContext text(). callWithContext (ctx, func, *args, **kw) maas/23947/ usr/lib/ python3/ dist-packages/ twisted/ python/ context. py", line 85, in callWithContext maas/23947/ lib/python3. 8/site- packages/ provisioningser ver/utils/ twisted. py", line 856, in callInContext maas/23947/ lib/python3. 8/site- packages/ provisioningser ver/utils/ twisted. py", line 202, in wrapper maas/23947/ lib/python3. 8/site- packages/ metadataserver/ api_twisted. py", line 564, in _processMessageNow _processMessage (node, message) maas/23947/ lib/python3. 8/site- packages/ maasserver/ utils/orm. py", line 756, in call_within_ transaction txn(*args, **kwargs) maas/23947/ lib/python3. 8/site- packages/ maasserver/ utils/orm. py", line 559, in retrier python3. 8/contextlib. py", line 75, in inner maas/23947/ lib/python3. 8/site- packages/ metadataserver/ api_twisted. py", line 472, in _processMessage vmhost_ for_deployment( node) maas/23947/ lib/python3. 8/site- packages/ metadataserver/ api_twisted. py", line 266, in _create_ vmhost_ for_deployment and_sync_ vmhost( pod, node.owner) maas/23947/ lib/python3. 8/site- packages/ maasserver/ vmhost. py", line 77, in discover_ and_sync_ vmhost str(error) ) exceptions. PodProblem: Failed talking to pod: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/lib/
self.
File "/snap/
return target()
File "/snap/
task()
File "/snap/
task()
--- <exception caught here> ---
File "/snap/
result = inContext.theWork()
File "/snap/
inContext.
File "/snap/
return self.currentCon
File "/snap/
return func(*args,**kw)
File "/snap/
return func(*args, **kwargs)
File "/snap/
result = func(*args, **kwargs)
File "/snap/
self.
File "/snap/
return func_outside_
File "/snap/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/snap/
_create_
File "/snap/
discover_
File "/snap/
raise PodProblem(
maasserver.