stacktrace on _reap_extra_connection()

Bug #2029522 reported by Alexsander de Souza
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Committed
Medium
Jacopo Rota
3.5
Fix Committed
Medium
Jacopo Rota

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'

Related branches

Changed in maas:
milestone: 3.5.0 → 3.5.x
Revision history for this message
Alan Baghumian (alanbach) wrote :

Hello MAAS Team, this bug is becoming problematic for us affecting group actions such as commissioning and deployments. We are running on MAAS 3.3.5 at the moment

tags: added: bug-council
Jacopo Rota (r00ta)
Changed in maas:
assignee: nobody → Jacopo Rota (r00ta)
Changed in maas:
milestone: 3.5.x → 3.6.0
Changed in maas:
status: Triaged → Fix Committed
tags: removed: bug-council
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.