[Bugs] [Bug 1226223] Mount broker user add command removes existing volume for a mountbroker user when second volume is attached to same user
bugzilla at redhat.com
bugzilla at redhat.com
Fri Jun 26 12:42:11 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1226223
--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11385 committed in master by Venky Shankar
(vshankar at redhat.com)
------
commit 3925f5cf33df85807db812211552fc16c7850d0d
Author: Kotresh HR <khiremat at redhat.com>
Date: Thu Jun 25 00:18:01 2015 +0530
geo-rep: Fix add user in mountbroker user management
The CLI 'gluster system:: execute mountbroker user <USERNAME> <VOLUMES>'
to set volumes associated with a user replaces existing user and associated
volumes upon setting with existing user. This patch fixes it by appending
the volumes if the user already exists.
It also introduces following CLI to remove volume for a corresponding user.
'gluster system:: execute mountbroker volumedel <USERNAME> <VOLUME>'
<USERNAME>: username
<VOLUME>: comman separated list of volumes to delete
If it is the last volume to be deleted associated with the user,
it will delete the user as well as it doesn't make sense to keep
only user without volumes associated.
Change-Id: I49f4b9279954d9f5d34aca2dd8a69c6f4b87fd19
BUG: 1226223
Signed-off-by: Kotresh HR <khiremat at redhat.com>
Reviewed-on: http://review.gluster.org/11385
Reviewed-by: darshan n <dnarayan at redhat.com>
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Aravinda VK <avishwan at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=9zIexorSlt&a=cc_unsubscribe
More information about the Bugs
mailing list