-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work! #2
Comments
Looks like you are using old glusterfs, let me fix the xml parsing of gluster cli output. Thanks for reporting. |
3.4.1 to be more specific. |
Nicely done, worked like a charm after the update. Best regards, |
Thats great :) Sure. I will add new features, as of now error handling is bad, working on it(handling ajax errors) |
The spinning wheel keeps ongoing...
[root@cluster01 ~]# GLUSTER_BIN_PATH=$(which gluster)
[root@cluster01 ~]# gdash --debug --gluster $GLUSTER_BIN_PATH
Restarting with reloader
172.31.10.203 - - [07/Jan/2015 15:07:17] "GET / HTTP/1.1" 200 -
172.31.10.203 - - [07/Jan/2015 15:07:17] "GET /data HTTP/1.1" 500 -
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/flask/app.py", line 1836, in call
return self.wsgi_app(environ, start_response)
File "/usr/lib/python2.6/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/lib/python2.6/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python2.6/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python2.6/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python2.6/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python2.6/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python2.6/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/lib/python2.6/site-packages/gdash/app.py", line 90, in get_data
result = json.dumps(parse(clusters, args))
File "/usr/lib/python2.6/site-packages/gdash/cliparser.py", line 218, in parse
volumes += get_volumes(cluster_name, hosts, args)
File "/usr/lib/python2.6/site-packages/gdash/cliparser.py", line 195, in get_volumes
vols = get_vol_info(cluster_name, hosts, args)
File "/usr/lib/python2.6/site-packages/gdash/cliparser.py", line 176, in get_vol_info
return get_vol_info_from_host(cluster_name, host, args)
File "/usr/lib/python2.6/site-packages/gdash/cliparser.py", line 146, in get_vol_info_from_host
raise GlusterBadXmlFormat(str(e))
GlusterBadXmlFormat: 'NoneType' object has no attribute 'text'
The text was updated successfully, but these errors were encountered: