Bug 1133464 - xml output needed for geo-rep CLI commands
Summary: xml output needed for geo-rep CLI commands
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Darshan
QA Contact:
URL:
Whiteboard:
Depends On: 1090910 1121518
Blocks: glusterfs-3.6.0
TreeView+ depends on / blocked
 
Reported: 2014-08-25 08:32 UTC by Darshan
Modified: 2014-11-11 08:37 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.6.0beta1
Clone Of: 1121518
Environment:
Last Closed: 2014-11-11 08:37:33 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Darshan 2014-08-25 08:32:23 UTC
+++ This bug was initially created as a clone of Bug #1121518 +++

+++ This bug was initially created as a clone of Bug #1090910 +++

Description of problem:

Currently we are parsing the CLI output for gluster volume geo-replication status - to know if geo-replication sessions are faulty or not.

Need an XML output for the same so that we can parse this output reliably.

--- Additional comment from RHEL Product and Program Management on 2014-04-24 07:54:45 EDT ---

Since this issue was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from Darshan on 2014-07-21 02:48:14 EDT ---



--- Additional comment from Anand Avati on 2014-07-21 04:34:54 EDT ---

REVIEW: http://review.gluster.org/8270 (cli: Xml output for geo-replication config command.) posted (#3) for review on master by darshan n (dnarayan)

--- Additional comment from Anand Avati on 2014-07-21 04:42:09 EDT ---

REVIEW: http://review.gluster.org/8270 (cli: Xml output for geo-replication config command.) posted (#4) for review on master by darshan n (dnarayan)

--- Additional comment from Anand Avati on 2014-07-21 04:54:22 EDT ---

REVIEW: http://review.gluster.org/8270 (cli: Xml output for geo-replication config command) posted (#5) for review on master by darshan n (dnarayan)

--- Additional comment from Anand Avati on 2014-07-21 07:54:36 EDT ---

REVIEW: http://review.gluster.org/8089 (cli: Xml output for geo-replication status command.) posted (#8) for review on master by darshan n (dnarayan)

--- Additional comment from Anand Avati on 2014-07-21 08:05:20 EDT ---

REVIEW: http://review.gluster.org/8089 (cli: Xml output for geo-replication status command.) posted (#9) for review on master by darshan n (dnarayan)

--- Additional comment from Anand Avati on 2014-07-22 03:24:56 EDT ---

COMMIT: http://review.gluster.org/8270 committed in master by Kaushal M (kaushal) 
------
commit 5e1872c464f34295df136d4120110c3c53c5f599
Author: ndarshan <dnarayan>
Date:   Mon Jul 21 13:55:33 2014 +0530

    cli: Xml output for geo-replication config command
    
    This patch adds xml output for geo-replication config
    command.
    sample:
    ---------------------------------------------------------------------
    <cliOutput>
      <opRet>0</opRet>
      <opErrno>0</opErrno>
      <opErrstr/>
      <geoRep>
        <config>
          <parameter1_name>value</parameter1_name>
          <parameter2_name>value</parameter2_name>
          ...
          ...
          ...
        </config>
      </geoRep>
    </cliOutput>
    ---------------------------------------------------------------------
    
    Change-Id: Iac0451983ae5d0e65b95604eb1c29b968e1ee22f
    BUG: 1121518
    Signed-off-by: ndarshan <dnarayan>
    Reviewed-on: http://review.gluster.org/8270
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaushal M <kaushal>

--- Additional comment from Anand Avati on 2014-07-22 04:53:30 EDT ---

REVIEW: http://review.gluster.org/8089 (cli: Xml output for geo-replication status command.) posted (#10) for review on master by darshan n (dnarayan)

--- Additional comment from Anand Avati on 2014-07-22 05:01:05 EDT ---

REVIEW: http://review.gluster.org/8089 (cli: Xml output for geo-replication status command.) posted (#11) for review on master by darshan n (dnarayan)

--- Additional comment from Anand Avati on 2014-07-22 06:46:12 EDT ---

REVIEW: http://review.gluster.org/8089 (cli: Xml output for geo-replication status command.) posted (#12) for review on master by darshan n (dnarayan)

--- Additional comment from Anand Avati on 2014-07-23 02:18:12 EDT ---

REVIEW: http://review.gluster.org/8089 (cli: Xml output for geo-replication status command.) posted (#13) for review on master by darshan n (dnarayan)

--- Additional comment from Anand Avati on 2014-07-24 08:05:59 EDT ---

COMMIT: http://review.gluster.org/8089 committed in master by Kaushal M (kaushal) 
------
commit 54cfb7dab45105e5f9a123503c4f524b99c633ce
Author: ndarshan <dnarayan>
Date:   Tue Jul 22 14:19:19 2014 +0530

    cli: Xml output for geo-replication status command.
    
    This patch adds xml output for geo-replication status
    and status detail command.
    sample:
    --------------------------------------------------------------
      <geoRep>
        <volume>
          <name>master</name>
          <sessions>
            <session>
            <session_slave>:2a301d66-b9d2-44b4-b827-d680d67123eb:ssh://XXXXXXXXXX::slave</session_slave>
              <pair>
                <master_node>localhost.localdomain</master_node>
                <master_node_uuid>2a301d66-b9d2-44b4-b827-d680d67123eb</master_node_uuid>
                <master_brick>/root/master_b1</master_brick>
                <slave>ssh://XXXXXXXXXXX::slave</slave>
                <status>faulty</status>
                <checkpoint_status>N/A</checkpoint_status>
                <crawl_status>N/A</crawl_status>
              </pair>
            </session>
          </sessions>
        </volume>
      </geoRep>
    -------------------------------------------------------------
    
    Change-Id: Ia19dbe751c3ab1ec7cb8923cdd6c8b99c374072f
    BUG: 1121518
    Signed-off-by: ndarshan <dnarayan>
    Reviewed-on: http://review.gluster.org/8089
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaushal M <kaushal>

Comment 1 Anand Avati 2014-08-25 09:12:40 UTC
REVIEW: http://review.gluster.org/8527 (cli: Xml output for geo-replication config command) posted (#1) for review on release-3.6 by darshan n (dnarayan)

Comment 2 Anand Avati 2014-08-25 09:43:15 UTC
REVIEW: http://review.gluster.org/8527 (cli: Xml output for geo-replication config command.) posted (#2) for review on release-3.6 by darshan n (dnarayan)

Comment 3 Anand Avati 2014-08-25 09:43:19 UTC
REVIEW: http://review.gluster.org/8532 (cli: Xml output for geo-replication status command) posted (#1) for review on release-3.6 by darshan n (dnarayan)

Comment 4 Anand Avati 2014-08-28 16:52:11 UTC
COMMIT: http://review.gluster.org/8527 committed in release-3.6 by Vijay Bellur (vbellur) 
------
commit a6ec32fda6a6266071b8f9eaae9fdcd4cdbe860e
Author: ndarshan <dnarayan>
Date:   Mon Jul 21 13:55:33 2014 +0530

    cli: Xml output for geo-replication config command.
    
    This patch adds xml output for geo-replication config
    command.
    sample:
    ---------------------------------------------------------------------
    <cliOutput>
      <opRet>0</opRet>
      <opErrno>0</opErrno>
      <opErrstr/>
      <geoRep>
        <config>
          <parameter1_name>value</parameter1_name>
          <parameter2_name>value</parameter2_name>
          ...
          ...
          ...
        </config>
      </geoRep>
    </cliOutput>
    ---------------------------------------------------------------------
    
    Change-Id: Iac0451983ae5d0e65b95604eb1c29b968e1ee22f
    BUG: 1133464
    Signed-off-by: ndarshan <dnarayan>
    Reviewed-on: http://review.gluster.org/8270
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaushal M <kaushal>
    Signed-off-by: ndarshan <dnarayan>
    Reviewed-on: http://review.gluster.org/8527
    Reviewed-by: Sachin Pandit <spandit>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 5 Anand Avati 2014-08-28 16:52:29 UTC
COMMIT: http://review.gluster.org/8532 committed in release-3.6 by Vijay Bellur (vbellur) 
------
commit 845d6c76701a3de6a11b76b004176971411c714e
Author: ndarshan <dnarayan>
Date:   Tue Jul 22 14:19:19 2014 +0530

    cli: Xml output for geo-replication status command
    
    This patch adds xml output for geo-replication status
    and status detail command.
    sample:
    --------------------------------------------------------------
      <geoRep>
        <volume>
          <name>master</name>
          <sessions>
            <session>
            <session_slave>:2a301d66-b9d2-44b4-b827-d680d67123eb:ssh://XXXXXXXXXX::slave</session_slave>
              <pair>
                <master_node>localhost.localdomain</master_node>
                <master_node_uuid>2a301d66-b9d2-44b4-b827-d680d67123eb</master_node_uuid>
                <master_brick>/root/master_b1</master_brick>
                <slave>ssh://XXXXXXXXXXX::slave</slave>
                <status>faulty</status>
                <checkpoint_status>N/A</checkpoint_status>
                <crawl_status>N/A</crawl_status>
              </pair>
            </session>
          </sessions>
        </volume>
      </geoRep>
    -------------------------------------------------------------
    
    Change-Id: Ia19dbe751c3ab1ec7cb8923cdd6c8b99c374072f
    BUG: 1133464
    Signed-off-by: ndarshan <dnarayan>
    Reviewed-on: http://review.gluster.org/8089
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaushal M <kaushal>
    Signed-off-by: ndarshan <dnarayan>
    Reviewed-on: http://review.gluster.org/8532
    Reviewed-by: Sachin Pandit <spandit>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 6 Niels de Vos 2014-09-22 12:45:12 UTC
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED.

Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html
[2] http://supercolony.gluster.org/pipermail/gluster-users/

Comment 7 Niels de Vos 2014-11-11 08:37:33 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.6.1, please reopen this bug report.

glusterfs-3.6.1 has been announced [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://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html
[2] http://supercolony.gluster.org/mailman/listinfo/gluster-users


Note You need to log in before you can comment on or make changes to this bug.