zookeeper_dashboard
zookeeper_dashboard copied to clipboard
zk dashboard unavailable during zookeeper restarts
AttributeError at /
'NoneType' object has no attribute 'group'
Request Method: GET
Request URL: http://zk_dash:8080/
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'group'
Exception Location: /home/tomcat/zookeeper_dashboard/../zookeeper_dashboard/zkadmin/models.py in init, line 35
Python Executable: /usr/bin/python26
Python Version: 2.6.5
Python Path: ['/home/tomcat/zookeeper_dashboard', '/home/tomcat/zookeeper_dashboard/lib.linux-i686-2.6', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages']
Server time: Sun, 25 Sep 2011 10:07:36 -0500
Environment:
Request Method: GET Request URL: http://zk_dash.outbrain.com:8080/ Django Version: 1.1 Python Version: 2.6.5 Installed Applications: ['django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'zookeeper_dashboard.zkadmin', 'zookeeper_dashboard.zktree'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware')
Traceback: File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response
-
File "/home/tomcat/zookeeper_dashboard/../zookeeper_dashboard/zkadmin/views.py" in indexresponse = callback(request, _callback_args, *_callback_kwargs) -
File "/home/tomcat/zookeeper_dashboard/../zookeeper_dashboard/zkadmin/models.py" in initzkserver = ZKServer(server) -
self.version = m.group(1)
Exception Type: AttributeError at / Exception Value: 'NoneType' object has no attribute 'group'