+++ This bug was initially created as a clone of Bug #1012346 +++ Description of problem: The RHSC component needs a way of monitoring tasks using an inexpensive operation that can be consumed every 10 seconds to monitor all async tasks on all volumes in the cluster. Version-Release number of selected component (if applicable): N/A How reproducible: N/A Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: --- Additional comment from Anand Avati on 2013-09-26 07:00:48 EDT --- REVIEW: http://review.gluster.org/6006 (cli,glusterd: Implement 'volume status tasks') posted (#1) for review on master by Krutika Dhananjay (kdhananj) --- Additional comment from Anand Avati on 2013-09-27 03:15:48 EDT --- REVIEW: http://review.gluster.org/6006 (cli,glusterd: Implement 'volume status tasks') posted (#2) for review on master by Krutika Dhananjay (kdhananj) --- Additional comment from Anand Avati on 2013-09-27 03:16:20 EDT --- REVIEW: http://review.gluster.org/6006 (cli,glusterd: Implement 'volume status tasks') posted (#3) for review on master by Krutika Dhananjay (kdhananj) --- Additional comment from Anand Avati on 2013-10-03 01:42:27 EDT --- REVIEW: http://review.gluster.org/6006 (cli,glusterd: Implement 'volume status tasks') posted (#4) for review on master by Krutika Dhananjay (kdhananj) --- Additional comment from Anand Avati on 2013-10-07 02:28:46 EDT --- REVIEW: http://review.gluster.org/6006 (cli,glusterd: Implement 'volume status tasks') posted (#5) for review on master by Krutika Dhananjay (kdhananj) --- Additional comment from Anand Avati on 2013-10-09 02:13:22 EDT --- COMMIT: http://review.gluster.org/6006 committed in master by Anand Avati (avati) ------ commit e51ca3c1c991416895e1e8693f7c3e6332d57464 Author: Krutika Dhananjay <kdhananj> Date: Tue Sep 24 17:01:46 2013 +0530 cli,glusterd: Implement 'volume status tasks' oVirt's Gluster Integration needs an inexpensive command that can be executed every 10 seconds to monitor async tasks and their parameters, for all volumes. The solution involves adding a 'tasks' sub-command to 'volume status' to fetch only the async task IDs, type and other relevant parameters. Only the originator glusterd participates in this command as all the information needed is available on all the nodes. This is to make the command suitable for being executed every 10 seconds. Change-Id: I1edc607baf29b001a5585079dec681d7c641b3d1 BUG: 1012346 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/6006 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Kaushal M <kaushal>
Verified in glusterfs-3.4.0.49rhs -------------- # gluster volume help |grep tasks volume status [all | <VOLNAME> [nfs|shd|<BRICK>|quotad]] [detail|clients|mem|inode|fd|callpool|tasks] - display status of all or specified volume(s)/brick # gluster volume status disvol tasks Task Status of Volume disvol ------------------------------------------------------------------------------ Task : Rebalance ID : a484b698-d414-4084-b876-b597f705b950 Status : completed --------------
Can you please verify the doc text for technical accuracy?
LGTM.
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