Why gstatus command fails with python error in Red Hat Gluster Storage 3.1 ?

Solution Verified - Updated -

Issue

  • Why gstatus command fails with python error in Red Hat Gluster Storage 3.1 ?

~snippet from terminal,

# gstatus -a
Malformed xml, try again later.ctions                                     
Traceback (most recent call last):
  File "/usr/bin/gstatus", line 221, in 
    main()
  File "/usr/bin/gstatus", line 135, in main
    cluster.update_state(self_heal_backlog)
  File "/usr/lib/python2.6/site-packages/gstatus/libgluster/cluster.py", line 639, in update_state
    self.calc_connections()
  File "/usr/lib/python2.6/site-packages/gstatus/libgluster/cluster.py", line 735, in calc_connections
    volumes = xml_root.findall('.//volume')
UnboundLocalError: local variable 'xml_root' referenced before assignment

Environment

  • Red Hat Gluster Storage 3.1
  • gstatus

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.