Does not work!
mailanetworks opened this issue · 4 comments
mailanetworks commented
The spinning wheel keeps ongoing...
[root@cluster01 ~]# GLUSTER_BIN_PATH=$(which gluster)
[root@cluster01 ~]# gdash --debug --gluster $GLUSTER_BIN_PATH
- Running on http://0.0.0.0:8080/
-
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'
aravindavk commented
Looks like you are using old glusterfs, let me fix the xml parsing of gluster cli output. Thanks for reporting.
mailanetworks commented
3.4.1 to be more specific.
I'll upgrade to 3.5.3 tonight and report back.
Thanks,
mailanetworks commented
Nicely done, worked like a charm after the update.
Many thanks for the nice product.
Do you plan to add new features?
Best regards,
aravindavk commented
Thats great :)
Sure. I will add new features, as of now error handling is bad, working on it(handling ajax errors)