Skip to content
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

Closed
mailanetworks opened this issue Jan 7, 2015 · 4 comments
Closed

Does not work! #2

mailanetworks opened this issue Jan 7, 2015 · 4 comments

Comments

@mailanetworks
Copy link

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
Copy link
Member

Looks like you are using old glusterfs, let me fix the xml parsing of gluster cli output. Thanks for reporting.

@mailanetworks
Copy link
Author

3.4.1 to be more specific.
I'll upgrade to 3.5.3 tonight and report back.
Thanks,

@mailanetworks
Copy link
Author

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
Copy link
Member

Thats great :)

Sure. I will add new features, as of now error handling is bad, working on it(handling ajax errors)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants