Change in vdsm[master]: gluster: new verb to remove host using host UUID

dnarayan at redhat.com dnarayan at redhat.com
Mon Nov 18 06:41:15 UTC 2013


Darshan N has posted comments on this change.

Change subject: gluster: new verb to remove host using host UUID
......................................................................


Patch Set 5:

(2 comments)

....................................................
Commit Message
Line 9: This patch adds a new verb glusterHostRemoveByUuid which
Line 10: retrives the host name based on uuid passed and uses it to
Line 11: remove the host.
Line 12: 
Line 13: new verb: HostRemoveByUuid
Done
Line 14: return type: bool (success or failure)
Line 15: possible Exception: GlusterHostNotFoundException /
Line 16:                     GlusterHostRemoveFailedException.
Line 17: 


....................................................
File vdsm/gluster/cli.py
Line 840:             hostName = hostInfo['hostname']
Line 841:             break
Line 842:     else:
Line 843:         raise ge.GlusterHostNotFoundException()
Line 844:     return peerDetach(hostName, force)
Done
Line 845: 
Line 846: 
Line 847: def _parsePeerStatus(tree, gHostName, gUuid, gStatus):
Line 848:     hostList = [{'hostname': gHostName,


-- 
To view, visit http://gerrit.ovirt.org/20648
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Idfff258ccc43c276ca7b9c0472dacac2fefce64a
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Darshan N <dnarayan at redhat.com>
Gerrit-Reviewer: Aravinda VK <avishwan 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: Timothy Asir <tjeyasin at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list