Bug 1231213

Summary: [geo-rep]: rsync should be made dependent package for geo-replication
Product: [Community] GlusterFS Reporter: Aravinda VK <avishwan>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.7.1CC: aavati, asrivast, bugs, cbuissar, csaba, gluster-bugs, nlevinki, nsathyan, rcyriac, rhinduja, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1231205 Environment:
Last Closed: 2015-06-20 09:51:06 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: 1231205    
Bug Blocks: 1223636, 1230607    

Description Aravinda VK 2015-06-12 11:59:38 UTC
+++ This bug was initially created as a clone of Bug #1231205 +++

+++ This bug was initially created as a clone of Bug #1230607 +++

Description of problem:
=======================

With the installation of RHEL7.1 (Maipo) (3.10.0-229.el7.x86_64), rsync package is not installed by-default. geo-rep is dependent on rsync package for syncing and hence fails with exception as:


[2015-06-11 14:17:55.360109] E [syncdutils(/rhs/brick1/b1):247:log_raise_exception] <top>: execution of "rsync" failed with ENOENT (No such file or directory)
[2015-06-11 14:17:55.361197] I [syncdutils(/rhs/brick1/b1):220:finalize] <top>: exiting.
[2015-06-11 14:17:55.371893] I [repce(agent):92:service_loop] RepceServer: terminating on reaching EOF.
[2015-06-11 14:17:55.372690] I [syncdutils(agent):220:finalize] <top>: exiting.
[2015-06-11 14:17:55.821278] I [monitor(monitor):282:monitor] Monitor: worker(/rhs/brick1/b1) died in startup phase
[2015-06-11 14:17:56.17366] I [master(/rhs/brick2/b2):1084:crawl] _GMaster: slave's time: (1434012471, 0)
[2015-06-11 14:17:56.361943] E [syncdutils(/rhs/brick2/b2):247:log_raise_exception] <top>: execution of "rsync" failed with ENOENT (No such file or directory)
[2015-06-11 14:17:56.362849] I [syncdutils(/rhs/brick2/b2):220:finalize] <top>: exiting.
[2015-06-11 14:17:56.374238] I [repce(agent):92:service_loop] RepceServer: terminating on reaching EOF.
[2015-06-11 14:17:56.374922] I [syncdutils(agent):220:finalize] <top>: exiting.
[2015-06-11 14:17:56.822371] I [monitor(monitor):282:monitor] Monitor: worker(/rhs/brick2/b2) died in startup phase
[2015-06-11 14:18:06.105169] I [monitor(monitor):221:monitor] Monitor: ------------------------------------------------------------
[2015-06-11 14:18:06.105815] I [monitor(monitor):222:monitor] Monitor: starting gsyncd worker
[2015-06-11 14:18:06.287671] I [changelogagent(agent):75:__init__] ChangelogAgent: Agent listining...
[2015-06-11 14:18:06.288149] I [gsyncd(/rhs/brick1/b1):649:main_i] <top>: syncing: gluster://localhost:master -> ssh://root.eng.blr.redhat.com:gluster://localhost:slave
[2015-06-11 14:18:07.80266] I [monitor(monitor):221:monitor] Monitor: ------------------------------------------------------------
[2015-06-11 14:18:07.80811] I [monitor(monitor):222:monitor] Monitor: starting gsyncd worker



[root@rhsqe-vm01 ~]# rpm -qa | grep rsync
[root@rhsqe-vm01 ~]# yum search rsync
Loaded plugins: product-id, subscription-manager
============================================================================================== N/S matched: rsync ==============================================================================================
libguestfs-rsync.x86_64 : rsync support for libguestfs
rsync-debuginfo.x86_64 : Debug information for package rsync
rsync.x86_64 : A program for synchronizing files over a network

  Name and summary matches only, use "search all" for everything.
[root@rhsqe-vm01 ~]#

--- Additional comment from Anand Avati on 2015-06-12 07:54:30 EDT ---

REVIEW: http://review.gluster.org/11201 (spec/geo-rep: Add rsync as dependency for georeplication rpm) posted (#1) for review on master by Aravinda VK (avishwan)

Comment 1 Anand Avati 2015-06-12 12:04:53 UTC
REVIEW: http://review.gluster.org/11203 (spec/geo-rep: Add rsync as dependency for georeplication rpm) posted (#1) for review on release-3.7 by Aravinda VK (avishwan)

Comment 2 Anand Avati 2015-06-12 12:17:07 UTC
REVIEW: http://review.gluster.org/11203 (spec/geo-rep: Add rsync as dependency for georeplication rpm) posted (#2) for review on release-3.7 by Niels de Vos (ndevos)

Comment 3 Anand Avati 2015-06-12 19:24:07 UTC
REVIEW: http://review.gluster.org/11203 (spec/geo-rep: Add rsync as dependency for georeplication rpm) posted (#3) for review on release-3.7 by Aravinda VK (avishwan)

Comment 4 Anand Avati 2015-06-13 06:21:52 UTC
COMMIT: http://review.gluster.org/11203 committed in release-3.7 by Vijay Bellur (vbellur) 
------
commit c8f920dcfd4c9467022516f3b9b0493a5e7314fb
Author: Aravinda VK <avishwan>
Date:   Fri Jun 12 17:30:20 2015 +0530

    spec/geo-rep: Add rsync as dependency for georeplication rpm
    
    If rsync is not installed, Geo-rep will go faulty on started.
    Added rsync as dependency for georep rpm
    
    Change-Id: I49614957ccde47645185a65191d6d7baf1cc826c
    Signed-off-by: Aravinda VK <avishwan>
    BUG: 1231213
    Reviewed-on: http://review.gluster.org/11201
    Reviewed-on: http://review.gluster.org/11203
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 5 Niels de Vos 2015-06-20 09:51:06 UTC
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-3.7.2, please reopen this bug report.

glusterfs-3.7.2 has been announced on the Gluster Packaging mailinglist [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://www.gluster.org/pipermail/packaging/2015-June/000006.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user