-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Sometimes when SNAC is unable to obtain the flowmiss_rate for some switches, it goes into bad state and prints following in the syslog:
Aug 27 13:24:44 snac snac: 637771|principal_list_pages:ERR Unable to load switch list. : [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'flowmiss_rate'#12/usr/lib/python2.5/site-packages/twisted/internet/defer.py:285:unpause#012/usr/lib/python2.5/site-packages/twisted/internet/defer.py:328:_runCallbacks#012/usr/lib/python2.5/site-packages/twisted/internet/defer.py:289:_continue#012/usr/lib/python2.5/site-packages/twisted/internet/defer.py:285:unpause#012------#12/usr/lib/python2.5/site-packages/twisted/internet/defer.py:328:_runCallbacks#012./nox/ext/apps/snackui/principal_list_pages.py:95:write_to_html#012./nox/apps/coreui/monitorsui.py:127:render_tmpl#012./nox/apps/coreui/authui.py:590:render_tmpl#012/usr/lib/python2.5/site-packages/mako/template.py:133:render#012/usr/lib/python2.5/site-packages/mako/runtime.py:347:_render#012/usr/lib/python2.5/site-packages/mako/runtime.py:364:_render_context#012/usr/lib/python2.5/site-packages/mako/runtime.py:397:_exec_template#012/opt/nox/bin/nox/ext/apps/snackui/mako_modules/snackmonitors/en/base.mako.py:78:render_body#012/usr/lib/python2.5/site-packages/mako/runtime.py:255:#12/opt/nox/bin/nox/ext/apps/snackui/mako_modules/snackmonitors/en/principallist_base.mako.py:62:render_body#012/usr/lib/python2.5/site-packages/mako/runtime.py:255:#12/opt/nox/bin/nox/ext/apps/snackui/mako_modules/snackmonitors/en/switchlist.mako.py:105:render_body#012]