Bug 1331376
Summary: | [geo-rep]: schedule_georep.py doesn't work when invoked using cron | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
Component: | geo-replication | Assignee: | Aravinda VK <avishwan> | |
Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.1 | CC: | asrivast, avishwan, chrisw, csaba, nlevinki | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | RHGS 3.1.3 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.9-3 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1331658 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-23 05:20:32 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1311817, 1331658, 1331924 |
Description
Rahul Hinduja
2016-04-28 12:04:46 UTC
Upstream patch sent http://review.gluster.org/#/c/14111 Downstream Patch: https://code.engineering.redhat.com/gerrit/#/c/73379/ Verified with the build: glusterfs-3.7.9-3.el7rhgs.x86_64 glusterfs-geo-replication-3.7.9-3.el7rhgs.x86_64 Ran the script using cron and didn't observe the crash. Crontab entry: ============== 45 14 * * * python /usr/share/glusterfs/scripts/schedule_georep.py --no-color Tom 10.70.37.122 Jerry >> /var/log/glusterfs/schedule_georep.log 2>&1 Script logs: ============ [root@dhcp37-182 scripts]# tailf /var/log/glusterfs/schedule_georep.log [ OK] Stopped Geo-replication [ OK] Set Checkpoint [ OK] Started Geo-replication and watching Status for Checkpoint completion [ OK] All Checkpoints NOT COMPLETE, All status OK (Turns 1) [ OK] All Checkpoints COMPLETE, All status OK (Turns 2) [ OK] Stopping Geo-replication session now ^C [root@dhcp37-182 scripts]# Date: ===== [root@dhcp37-182 scripts]# date Mon May 2 14:48:46 UTC 2016 [root@dhcp37-182 scripts]# Arequalchecksum match: ====================== Master ++++++ [root@dj ~]# /usr/local/bin/arequal-checksum -p /mnt/master/ Entry counts Regular files : 930 Directories : 202 Symbolic links : 96 Other : 0 Total : 1228 Metadata checksums Regular files : 7430 Directories : 1a41 Symbolic links : 3e9 Other : 3e9 Checksums Regular files : 590d350acf726008400852adf2facbbc Directories : 31b4e334d6f5775 Symbolic links : 4612693534791c16 Other : 0 Total : 5c0c40a1449ee0d7 [root@dj ~]# Slave +++++ [root@dj ~]# /usr/local/bin/arequal-checksum -p /mnt/slave/ Entry counts Regular files : 930 Directories : 202 Symbolic links : 96 Other : 0 Total : 1228 Metadata checksums Regular files : 7430 Directories : 1a41 Symbolic links : 3e9 Other : 3e9 Checksums Regular files : 590d350acf726008400852adf2facbbc Directories : 31b4e334d6f5775 Symbolic links : 4612693534791c16 Other : 0 Total : 5c0c40a1449ee0d7 [root@dj ~]# Moving the bug to verified state 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. https://access.redhat.com/errata/RHBA-2016:1240 |