Arnold detention crashes when switch reports SNMP agent error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Committed
|
Low
|
Morten Brekkevold | ||
4.6 |
Fix Released
|
Low
|
Morten Brekkevold |
Bug Description
As observed on a client installation, when attempting to run a manual detention operation against a switch, the the switch respons with an SNMP error - and Arnold crashes with a traceback as it attempts to handle the error.
The mailed traceback looks like this:
Internal Server Error: /arnold/
Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
error = process_
File "/usr/lib/
autoenables
File "/usr/lib/
change_
File "/usr/lib/
except nav.Snmp.
AttributeError: 'module' object has no attribute 'AgentError'
fix here: https:/ /nav.uninett. no/hg/nav/ rev/0bbb8094b4a f