Bug 1203086 - Dist-geo-rep: geo-rep create fails with slave not empty
Summary: Dist-geo-rep: geo-rep create fails with slave not empty
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-18 05:06 UTC by Kotresh HR
Modified: 2015-05-14 17:35 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.7.0beta1
Clone Of:
Environment:
Last Closed: 2015-05-14 17:26:53 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kotresh HR 2015-03-18 05:06:45 UTC
Description of problem:
Geo-replicatioon create fails with "Slave volume not empty" eventhoug slave
is empty.

e.g.
gluster vol geo-rep master fedora1::slave create push-pem

fedora1::slave is not empty. Please delete existing files in fedora1::slave and retry, or use force to continue without deleting the existing files.
geo-replication command failed

Version-Release number of selected component (if applicable):
mainline

How reproducible:
Always

Steps to Reproduce:
1. Create and start master and slave volume.
2. Create geo-replication session

Actual results:
geo-rep create fails with slave not empty when slave is actually empty.

Expected results:
geo-rep create should not fail when slave is actually empty.

Additional info:

Comment 1 Anand Avati 2015-03-18 05:16:47 UTC
REVIEW: http://review.gluster.org/9921 (geo-rep/gverify: Ignore .trashcan while checking slave is empty.) posted (#1) for review on master by Kotresh HR (khiremat)

Comment 2 Anand Avati 2015-03-18 10:11:30 UTC
REVIEW: http://review.gluster.org/9921 (geo-rep/gverify: Ignore .trashcan while checking slave is empty.) posted (#2) for review on master by Kotresh HR (khiremat)

Comment 3 Anand Avati 2015-03-20 17:27:10 UTC
COMMIT: http://review.gluster.org/9921 committed in master by Venky Shankar (vshankar) 
------
commit 8aa13c8e285ad496ed7c8511ae0b735eed73ebd4
Author: Kotresh HR <khiremat>
Date:   Wed Mar 18 10:37:00 2015 +0530

    geo-rep/gverify: Ignore .trashcan while checking slave is empty.
    
    With trash translator, '.trashcan' is created in gluster volume
    during init. So geo-rep create used to fail, with slave not
    being empty. The gverify script should ignore '.trashcan' while
    checking whether slave is empty.
    
    Change-Id: Ib7ee265c6aa99b63c7ccf103747d47a6f756ad35
    BUG: 1203086
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: http://review.gluster.org/9921
    Reviewed-by: Aravinda VK <avishwan>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Venky Shankar <vshankar>
    Tested-by: Venky Shankar <vshankar>

Comment 4 Niels de Vos 2015-05-14 17:26:53 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.0, please open a new bug report.

glusterfs-3.7.0 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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 5 Niels de Vos 2015-05-14 17:28:28 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.0, please open a new bug report.

glusterfs-3.7.0 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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 6 Niels de Vos 2015-05-14 17:35:17 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.0, please open a new bug report.

glusterfs-3.7.0 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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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