exceptions.AttributeError: 'NoneType' object has no attribute 'is_superuser'
Bug #1437388 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Raphaël Badin |
Bug Description
During the commissioning of a node, the following exception got raised: http://
Related branches
lp:~rvb/maas/bug-1437388
- Blake Rouse (community): Approve
- Gavin Panella (community): Approve
-
Diff: 137 lines (+46/-15)2 files modifiedsrc/maasserver/websockets/protocol.py (+18/-5)
src/maasserver/websockets/tests/test_protocol.py (+28/-10)
Changed in maas: | |
milestone: | none → next |
Changed in maas: | |
milestone: | next → 1.8.0 |
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Strange the NodeHandler should not be created without setting the user. Which means the user for that websocket is most likely None as well.
Code that is at fault is most likely in src/maasserver/ websockets/ protocol. py
Was anything special done to make this occur? Any thing that could help reproduce this issue?