Change in vdsm[master]: gluster: adds a verb to check if a gluster volume is empty

danken at redhat.com danken at redhat.com
Mon Apr 20 08:42:56 UTC 2015


Dan Kenigsberg has submitted this change and it was merged.

Change subject: gluster: adds a verb to check if a gluster volume is empty
......................................................................


gluster: adds a verb to check if a gluster volume is empty

This patch adds a verb volumeEmptyCheck which checks if a
gluster volume is empty or not. This verb takes gluster
volume name as an argument and returns a flag
volumeEmptyCheck. This check is needed during geo-replication
create, as it is recomemded to have the remote volume
to be empty. So while creating a geo-rep session engine
has to check if slave volume is empty.

Change-Id: I278d326faad6798e6e3404a94813d6145b1d8c4b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1207960
Signed-off-by: Darshan N <dnarayan at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/39393
Reviewed-by: Bala.FA <barumuga at redhat.com>
Reviewed-by: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M client/vdsClientGluster.py
M vdsm/gluster/api.py
M vdsm/gluster/apiwrapper.py
M vdsm/gluster/exception.py
M vdsm/gluster/gfapi.py
M vdsm/rpc/vdsmapi-gluster-schema.json
6 files changed, 159 insertions(+), 13 deletions(-)

Approvals:
  Piotr Kliczewski: Looks good to me, but someone else must approve
  Bala.FA: Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved
  Darshan N: Verified



-- 
To view, visit https://gerrit.ovirt.org/39393
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I278d326faad6798e6e3404a94813d6145b1d8c4b
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Darshan N <dnarayan at redhat.com>
Gerrit-Reviewer: Bala.FA <barumuga at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Darshan N <dnarayan at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: Timothy Asir <tjeyasin at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list