Internal server error when attempting to perform an action when the cluster is down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Graham Binns |
Bug Description
When trying to deploy a node in the UI with the cluster service down, I get a "Internal server error page". I was expecting an error but the error I'm getting is not really helpful: a blank page with "Internal server error" (i.e. no indication of what the problem actually is). Also, the only error I can see is in /var/log/
/var/log/
File "/usr/lib/
for nodegroup in removal_mappings
File "/usr/lib/
for nodegroup in removal_mappings
File "/usr/lib/
return func_in_
File "/usr/lib/
result.
File "/usr/lib/
current.result = callback(
File "/usr/lib/
uuid)
NoConnectionsAv
Related branches
- Gavin Panella (community): Approve
-
Diff: 217 lines (+148/-2)4 files modifiedsrc/maas/settings.py (+1/-0)
src/maasserver/middleware.py (+41/-0)
src/maasserver/tests/test_middleware.py (+103/-0)
src/provisioningserver/rpc/power.py (+3/-2)
Changed in maas: | |
assignee: | nobody → Graham Binns (gmb) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | Fix Committed → Fix Released |
I haven't tested it, but I suspect the same kind of error happens when calling methods from the API. Here again, a 5XX is expected but the error message should contains an explanation about the failure's cause.