'gluster volume status all --xml' outputs task status as number. We would need the status as string like STARTED, RUNNING, STOPPED, COMPLETED etc gluster version: glusterfs-3.4.0.1rhs-1.el6rhs.x86_64
Upstream patch sent for review. http://review.gluster.org/#/c/5739
Downstream patch sent to rhs-2.1 branch https://code.engineering.redhat.com/gerrit/#/c/13114/
The fix is available is glusterfs-3.4.0.35.1u2rhs.
Tested with glusterfs-3.4.0.51rhs.el6rhs gluster volume status all --xml contains "status" with number ans "statusStr" under "tasks" xml tag <task> <type>Remove brick</type> <id>6d526131-239b-4511-b77a-921e1d82e751</id> <status>3</status> <statusStr>completed</statusStr> <params> <brick>10.70.37.86:/rhs/brick1/d3</brick> </params> </task> <task> <type>Rebalance</type> <id>3b784847-db13-464a-bcc1-7512b5eac888</id> <status>3</status> <statusStr>completed</statusStr> </task> Marking this bug as VERIFIED.
Hi Kaushal, Can you please verify the technical accuracy of the doc text?
The doc text looks good.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0208.html