+++ This bug was initially created as a clone of Bug #1495436 +++ Description of problem: ----------------------- Currently the description of --no-color in the help of schedule_georep is "Use Color in CLI output". Whereas the default is with color, and if user provides this option, that means no color will be seen in the output and hence the description should be: --no-color Do not Use Color in CLI output Output: ------- [root@dhcp42-79 MASTER]# python /usr/share/glusterfs/scripts/schedule_georep.py --h usage: schedule_georep.py [-h] [--interval INTERVAL] [--timeout TIMEOUT] [--no-color] mastervol SLAVE slavevol Schedule Geo-replication ------------------------ A tool to run Geo-replication when required. This can be used to schedule the Geo-replication to run once in a day using # Run daily at 08:30pm 30 20 * * * root python /usr/share/glusterfs/scripts/schedule_georep.py \ --no-color gv1 fvm1 gv2 >> /var/log/glusterfs/schedule_georep.log 2>&1 This tool does the following, 1. Stop Geo-replication if Started 2. Start Geo-replication 3. Set Checkpoint 4. Check the Status and see Checkpoint is Complete.(LOOP) 5. If checkpoint complete, Stop Geo-replication Usage: python /usr/share/glusterfs/scripts/schedule_georep.py <MASTERVOL> \ <SLAVEHOST> <SLAVEVOL> For example, python /usr/share/glusterfs/scripts/schedule_georep.py gv1 fvm1 gv2 positional arguments: mastervol Master Volume Name SLAVE SLAVEHOST or root@SLAVEHOST or user@SLAVEHOST slavevol Slave Volume Name optional arguments: -h, --help show this help message and exit --interval INTERVAL Interval in Seconds. Wait time before each status check --timeout TIMEOUT Timeout in minutes. Script will stop Geo-replication if Checkpoint is not complete in the specified timeout time --no-color Use Color in CLI output [root@dhcp42-79 MASTER]# Version-Release number of selected component (if applicable): ============================================================= mainline --- Additional comment from Worker Ant on 2017-09-25 23:56:09 EDT --- REVIEW: https://review.gluster.org/18388 (geo-rep/scheduler: Fix '--no-color' help msg) posted (#1) for review on master by Kotresh HR (khiremat) --- Additional comment from Worker Ant on 2017-09-26 05:28:49 EDT --- COMMIT: https://review.gluster.org/18388 committed in master by Aravinda VK (avishwan) ------ commit 8855ebcfecde2a21e0a9ba725e9738708e03904a Author: Kotresh HR <khiremat> Date: Mon Sep 25 23:34:55 2017 -0400 geo-rep/scheduler: Fix '--no-color' help msg Change-Id: I0f51558083e0b11a6563b8a2ef62ec07fe2a9ca9 BUG: 1495436 Signed-off-by: Kotresh HR <khiremat>
REVIEW: https://review.gluster.org/18398 (geo-rep/scheduler: Fix '--no-color' help msg) posted (#1) for review on release-3.12 by Kotresh HR (khiremat)
COMMIT: https://review.gluster.org/18398 committed in release-3.12 by jiffin tony Thottan (jthottan) ------ commit 0a1792901df2b9804e5ac20102a2c2e4a28bdfc0 Author: Kotresh HR <khiremat> Date: Mon Sep 25 23:34:55 2017 -0400 geo-rep/scheduler: Fix '--no-color' help msg > Change-Id: I0f51558083e0b11a6563b8a2ef62ec07fe2a9ca9 > BUG: 1495436 > Signed-off-by: Kotresh HR <khiremat> (cherry picked from commit 8855ebcfecde2a21e0a9ba725e9738708e03904a) Change-Id: I0f51558083e0b11a6563b8a2ef62ec07fe2a9ca9 BUG: 1496238 Signed-off-by: Kotresh HR <khiremat>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-glusterfs-3.12.2, please open a new bug report. glusterfs-glusterfs-3.12.2 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/gluster-users/2017-October/032684.html [2] https://www.gluster.org/pipermail/gluster-users/