Comment 7 for bug 2009805

Revision history for this message
Chris Johnston (cjohnston) wrote :

I am seeing this error on:

installed: 3.2.7-12037-g.c688dd446 (26274) 148MB -

2023-03-17 19:10:57 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/26274/lib/python3.8/site-packages/provisioningserver/utils/twisted.py", line 821, in worker
            return target()
          File "/snap/maas/26274/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work
            task()
          File "/snap/maas/26274/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork
            task()
        --- <exception caught here> ---
          File "/snap/maas/26274/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext
            result = inContext.theWork()
          File "/snap/maas/26274/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/26274/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/snap/maas/26274/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext
            return func(*args,**kw)
          File "/snap/maas/26274/lib/python3.8/site-packages/provisioningserver/utils/twisted.py", line 856, in callInContext
            return func(*args, **kwargs)
          File "/snap/maas/26274/lib/python3.8/site-packages/provisioningserver/utils/twisted.py", line 202, in wrapper
            result = func(*args, **kwargs)
          File "/snap/maas/26274/lib/python3.8/site-packages/metadataserver/api_twisted.py", line 585, in _processMessageNow
            self._processMessage(node, message)
          File "/snap/maas/26274/lib/python3.8/site-packages/maasserver/utils/orm.py", line 756, in call_within_transaction
            return func_outside_txn(*args, **kwargs)
          File "/snap/maas/26274/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/26274/lib/python3.8/site-packages/metadataserver/api_twisted.py", line 493, in _processMessage
            _create_vmhost_for_deployment(node)
          File "/snap/maas/26274/lib/python3.8/site-packages/metadataserver/api_twisted.py", line 262, in _create_vmhost_for_deployment
            discover_and_sync_vmhost(pod, node.owner)
          File "/snap/maas/26274/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: Failed to login to virsh console.