Bug 955611 - missing status as string in volume status and rebalance/remove-brick status commands
Summary: missing status as string in volume status and rebalance/remove-brick status c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: RHGS 2.1.2
Assignee: Kaushal
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1003521
TreeView+ depends on / blocked
 
Reported: 2013-04-23 12:02 UTC by Bala.FA
Modified: 2015-11-23 02:57 UTC (History)
10 users (show)

Fixed In Version: glusterfs-3.4.0.35.1u2rhs
Doc Type: Bug Fix
Doc Text:
Previously, the status of the remove-brick and Rebalance operations was not present as a string in the XML output. The status could not be easily identified in the XML output. With this fix, a new element <statusStr> is added to the XML output containing a string that indicates the status of the task.
Clone Of:
: 1003521 (view as bug list)
Environment:
Last Closed: 2014-02-25 07:28:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 964164 0 high CLOSED gluster volume status output shows rebalance as running, though the rebalance status output shows the tasks as completed 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC

Internal Links: 964164

Description Bala.FA 2013-04-23 12:02:03 UTC
'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

Comment 2 Aravinda VK 2013-08-30 09:34:01 UTC
Upstream patch sent for review.
http://review.gluster.org/#/c/5739

Comment 3 Aravinda VK 2013-09-20 06:56:20 UTC
Downstream patch sent to rhs-2.1 branch
https://code.engineering.redhat.com/gerrit/#/c/13114/

Comment 4 Kaushal 2013-10-22 10:32:05 UTC
The fix is available is glusterfs-3.4.0.35.1u2rhs.

Comment 5 SATHEESARAN 2013-12-20 05:23:00 UTC
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.

Comment 6 Pavithra 2014-01-15 04:17:58 UTC
Hi Kaushal,

Can you please verify the technical accuracy of the doc text?

Comment 7 Kaushal 2014-01-15 05:39:32 UTC
The doc text looks good.

Comment 9 errata-xmlrpc 2014-02-25 07:28:31 UTC
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


Note You need to log in before you can comment on or make changes to this bug.