Darshan N has posted comments on this change.
Change subject: gluster: geo replication status and status detail
......................................................................
Patch Set 6:
(3 comments)
http://gerrit.ovirt.org/#/c/18414/6/vdsm/gluster/cli.py
File vdsm/gluster/cli.py:
Line 1149: }
Line 1150: """
Line 1151: status = {}
Line 1152: status['volumeName'] =
tree.find('geoRep/volume/name').text
Line 1153: status['sessionSalve'] = tree.find(
sessionSlave?
Done
Line 1154: 'geoRep/volume/sessions/session/session_slave').text
Line 1155: pairs = []
Line 1156: for pair in tree.findall('geoRep/volume/sessions/session/pair'):
Line 1157: pairDetail = {}
Line 1179: sessions: [{sessionSlave: 'session slave/uuid of session',
Line 1180: pairs: [{masterNode: 'master node',
Line 1181: masterNodeUuid: 'uuid of brick host',
Line 1182: masterBrick: 'master brick',
Line 1183: slave: 'slave',
Is it possible to return the slave host uuid as well, in addition to
the sl
As of now gluster cli is not providing the host uuid of the slave, So its not
possible to return.
Line 1184: status: 'status'
Line 1185: checkpointStatus: 'checkpoint status'
Line 1186: crawlStatus: 'crawlStatus'}]....
Line 1187: ]....
http://gerrit.ovirt.org/#/c/18414/6/vdsm/gluster/vdsmapi-gluster-schema.json
File vdsm/gluster/vdsmapi-gluster-schema.json:
Line 1404: # @status: status of geo replication
Line 1405: #
Line 1406: # @checkpointStatus: Status of checkpoint
Line 1407: #
Line 1408: # @craelStatus: Crawl status
crawlStatus
Done
Line 1409: #
Line 1410: # Since: 4.16.0
Line 1411: ##
Line 1412: {'type': 'geoRepPairInfo',
--
To view, visit
http://gerrit.ovirt.org/18414
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I4f37f35a5480fbe049a67758e122d4a0c2eba513
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Darshan N <dnarayan(a)redhat.com>
Gerrit-Reviewer: Aravinda VK <avishwan(a)redhat.com>
Gerrit-Reviewer: Bala.FA <barumuga(a)redhat.com>
Gerrit-Reviewer: Better Saggi <bettersaggi(a)gmail.com>
Gerrit-Reviewer: Darshan N <dnarayan(a)redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi(a)redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose(a)redhat.com>
Gerrit-Reviewer: Timothy Asir <tjeyasin(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes