[RHGS] gstatus command fails with ParseError exception

Solution In Progress - Updated -

Issue

I am using the gstatus command to check the status of my Red Hat Gluster Storage cluster. The command fails with the traceback below:

# gstatus -a
Traceback (most recent call last):ons                                     
  File "/usr/bin/gstatus", line 221, in <module>
  main()
  File "/usr/bin/gstatus", line 135, in main
  cluster.update_state(self_heal_backlog)
  File "/usr/lib/python2.7/site-packages/gstatus/libgluster/cluster.py", line 638, in update_state
  self.calc_connections()
  File "/usr/lib/python2.7/site-packages/gstatus/libgluster/cluster.py", line 730, in calc_connections
  xml_root = ETree.fromstring(xml_string)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1301, in XML
  return parser.close()
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1654, in close
  self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
  raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0

Environment

  • RHGS 3.2
  • RHGS 3.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content