[master] Twisted seems to not handle disconnect from client correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Dougal Matthews | ||
twisted (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
[Impact]
Web http/wsgi doesn't fail gracefully when the client closes the connection, causing 'Traceback' in MAAS /var/log/
....
File "/usr/lib/
raise self.value.
builtins.
....
File "/usr/lib/
self.
builtins.
....
[Test Case]
[Regression Potential]
[Other Information]
* Upstream bug:
https:/
* Upstream fix:
https:/
# git describe --contains 169fd1d93b
twisted-
# rmadison
=> python3-twisted | 17.9.0-2ubuntu0.1 | bionic-updates | all
=> python3-twisted | 18.9.0-11 | focal | all
=> python3-twisted | 18.9.0-11 | groovy | all
[Original Description]
When latest master just moving around the UI caused a wierd stacktrace. It didn't seem to affect the experience of using MAAS, but needs to be looked into.
2018-01-08 15:33:45 -: [critical] WSGI application error
Traceback (most recent call last):
File "/usr/lib/
return self.currentCon
File "/usr/lib/
self.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
self.started = True
--- <exception caught here> ---
File "/usr/lib/
self.
File "/usr/lib/
self.reactor, wsgiWrite, self.started)
File "/usr/lib/
result.
File "/usr/lib/
raise self.value.
builtins.
2018-01-08 15:33:45 -: [critical] WSGI application error
Traceback (most recent call last):
File "/usr/lib/
return self.currentCon
File "/usr/lib/
self.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
self.started = True
--- <exception caught here> ---
File "/usr/lib/
self.
File "/usr/lib/
self.reactor, wsgiWrite, self.started)
File "/usr/lib/
result.
File "/usr/lib/
raise self.value.
builtins.
2018-01-08 15:33:45 -: [critical] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
self.config, oldstdout, oldstderr, self.profiler, reactor)
File "/usr/lib/
reactor.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
f(*a, **kw)
File "/usr/lib/
self.
File "/usr/lib/
self.
builtins.
2018-01-08 15:33:45 -: [critical] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
self.config, oldstdout, oldstderr, self.profiler, reactor)
File "/usr/lib/
reactor.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
f(*a, **kw)
File "/usr/lib/
self.
File "/usr/lib/
self.
builtins.
Related branches
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 105 lines (+73/-1)2 files modifiedsrc/maasserver/monkey.py (+33/-1)
src/maasserver/tests/test_monkey.py (+40/-0)
tags: | added: seg sts |
Changed in twisted (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
milestone: | 2.9.0b7 → 2.9.0b8 |
Changed in maas: | |
assignee: | nobody → Dougal Matthews (d0ugal) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
This bug has not seen any activity in the last 6 months, so it is being automatically closed.
If you are still experiencing this issue, please feel free to re-open.
MAAS Team