Bug 1235428

Summary: Mount broker user add command removes existing volume for a mountbroker user when second volume is attached to same user
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: geo-replicationAssignee: Kotresh HR <khiremat>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: avishwan, bugs, dnarayan, gluster-bugs, khiremat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1226223 Environment:
Last Closed: 2015-07-30 09:48:55 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: 1226223    
Bug Blocks: 1226233, 1233025, 1234869    

Description Kotresh HR 2015-06-24 19:12:46 UTC
+++ This bug was initially created as a clone of Bug #1226223 +++

Description of problem:
Mount broker user add command(gluster system:: execute mountbroker user geoaccount slavevol) removes existing volume for a mountbroker user when second volume is attached to the same mount broker user.

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


How reproducible:
Always

Steps to Reproduce:
1.Add a volume to a mount broker user using the above mentioned command.
2.Add another volume to same mount broker user using command.
3.

Actual results:
The volume added first is removed from the volfile

Expected results:
The volume added second must be appended to the existing list of volumes for a mount broker user.

Additional info:

--- Additional comment from Anand Avati on 2015-06-24 14:59:10 EDT ---

REVIEW: http://review.gluster.org/11385 (geo-rep: Fix add user in mountbroker user management) posted (#1) for review on master by Kotresh HR (khiremat)

Comment 1 Anand Avati 2015-06-24 19:14:14 UTC
REVIEW: http://review.gluster.org/11386 (geo-rep: Fix add user in mountbroker user management) posted (#1) for review on release-3.7 by Kotresh HR (khiremat)

Comment 2 Darshan 2015-06-25 06:03:37 UTC
*** Bug 1226233 has been marked as a duplicate of this bug. ***

Comment 3 Anand Avati 2015-06-25 08:36:40 UTC
REVIEW: http://review.gluster.org/11386 (geo-rep: Fix add user in mountbroker user management) posted (#2) for review on release-3.7 by Kotresh HR (khiremat)

Comment 4 Kaushal 2015-07-30 09:48:55 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.3, please open a new bug report.

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