I'm using the Duo Security Splunk integration to provide 2FA on Splunk Web: https://www.duosecurity.com/docs/splunk
It was working previously in all 6.x versions, but now looks like something's busted in 6.3. Now, none of the login / logout templates will render, essentially breaking auth and splunk web:
tail -f ~/var/log/splunk/web_service.log
2015-10-13 00:12:18,233 INFO [561c4c623a7f939019ff50] decorators:362 - require_login - no splunkd sessionKey variable set; cherrypy_session=7d79b8aeb6a1e8ce114f34d410cf0552321b3a51 request_path=/en-US/
2015-10-13 00:12:18,233 INFO [561c4c623a7f939019ff50] decorators:383 - require_login - redirecting to login
2015-10-13 00:12:18,480 ERROR [561c4c62757f939019f7d0] __init__:340 - Mako failed to render:
Traceback (most recent call last):
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/__init__.py", line 336, in render_template
return templateInstance.render(**template_args)
File "/opt/splunk/lib/python2.7/site-packages/mako/template.py", line 443, in render
return runtime._render(self, self.callable_, args, data)
File "/opt/splunk/lib/python2.7/site-packages/mako/runtime.py", line 803, in _render
**_kwargs_for_callable(callable_, data))
File "/opt/splunk/lib/python2.7/site-packages/mako/runtime.py", line 835, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/opt/splunk/lib/python2.7/site-packages/mako/runtime.py", line 860, in _exec_template
callable_(context, *args, **kwargs)
File "/opt/splunk/share/splunk/search_mrsparkle/templates/layout/base.html", line 22, in render_body
<%self:render/>
File "/opt/splunk/share/splunk/search_mrsparkle/templates/layout/base.html", line 28, in render_render
<%self:pagedoc/>
File "/opt/splunk/share/splunk/search_mrsparkle/templates/layout/base.html", line 102, in render_pagedoc
<%next:body/>
File "/opt/splunk/share/splunk/search_mrsparkle/templates/account/login.html", line 11, in render_body
<%
KeyError: 'instance_type'
Any ideas / help? I've contacted Duo as well to raise a support ticket.
Side note - Duo gets "unpatched" during this upgrade... so watch out for that just as a general tip which you might not notice at first.
... View more