stacktrace on _reap_extra_connection()

Bug #2029522 reported by Alexsander de Souza
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned

Bug Description

Seen in rackd.log (https://oil-jenkins.canonical.com/artifacts/1c842f25-8a5d-4b4b-8e44-c8423571fe51/index.html)

2023-08-02 12:36:23 -: [critical] Unhandled Error
 Traceback (most recent call last):
   File "/usr/lib/python3.10/asyncio/base_events.py", line 600, in run_forever
     self._run_once()
   File "/usr/lib/python3.10/asyncio/base_events.py", line 1896, in _run_once
     handle._run()
   File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
     self._context.run(self._callback, *self._args)
   File "/snap/maas/29775/usr/lib/python3/dist-packages/twisted/internet/asyncioreactor.py", line 271, in _onTimer
     self.runUntilCurrent()
 --- <exception caught here> ---
   File "/snap/maas/29775/usr/lib/python3/dist-packages/twisted/internet/base.py", line 991, in runUntilCurrent
     call.func(*call.args, **call.kw)
   File "/snap/maas/29775/lib/python3.10/site-packages/provisioningserver/rpc/connectionpool.py", line 66, in _reap_extra_connection
     self.disconnect(conn)
   File "/snap/maas/29775/lib/python3.10/site-packages/provisioningserver/rpc/connectionpool.py", line 138, in disconnect
     return connection.transport.loseConnection()
 builtins.AttributeError: 'NoneType' object has no attribute 'loseConnection'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.