[Bugs] [Bug 1386178] New: eventsapi/georep: Events are not available for Checkpoint and Status Change

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 18 10:56:46 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1386178

            Bug ID: 1386178
           Summary: eventsapi/georep: Events are not available for
                    Checkpoint and Status Change
           Product: GlusterFS
           Version: 3.9
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: avishwan at redhat.com
                CC: bugs at gluster.org
        Depends On: 1379330
            Blocks: 1380257



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

Description of problem:
Events are not available on checkpoint completion and on Worker status change.

Following events are required from Geo-replication

GEOREP_CHECKPOINT_COMPLETION => Completion Time and other details
GEOREP_STATUS_CHANGE  => Active to Passive or vise versa

--- Additional comment from Worker Ant on 2016-10-12 14:05:06 EDT ---

REVIEW: http://review.gluster.org/15630 (geo-rep/eventsapi: Additional Events)
posted (#1) for review on master by Aravinda VK (avishwan at redhat.com)

--- Additional comment from Worker Ant on 2016-10-17 06:51:03 EDT ---

REVIEW: http://review.gluster.org/15630 (geo-rep/eventsapi: Additional Events)
posted (#2) for review on master by Aravinda VK (avishwan at redhat.com)

--- Additional comment from Worker Ant on 2016-10-18 06:56:10 EDT ---

COMMIT: http://review.gluster.org/15630 committed in master by Aravinda VK
(avishwan at redhat.com) 
------
commit 3830b48b6a46854d6597a36b6f2089ac1e486eb5
Author: Aravinda VK <avishwan at redhat.com>
Date:   Wed Oct 12 23:32:39 2016 +0530

    geo-rep/eventsapi: Additional Events

    Added following events
    EVENT_GEOREP_ACTIVE
        {
            "nodeid": NODEID,
            "ts": TIMESTAMP,
            "event": "GEOREP_ACTIVE",
            "message": {
                "master_volume": MASTER_VOLUME_NAME,
                "slave_host": SLAVE_HOST,
                "slave_volume": SLAVE_VOLUME,
                "brick_path": BRICK_PATH
            }
        }

    EVENT_GEOREP_PASSIVE
        {
            "nodeid": NODEID,
            "ts": TIMESTAMP,
            "event": "GEOREP_PASSIVE",
            "message": {
                "master_volume": MASTER_VOLUME_NAME,
                "slave_host": SLAVE_HOST,
                "slave_volume": SLAVE_VOLUME,
                "brick_path": BRICK_PATH
            }
        }
    EVENT_GEOREP_CHECKPOINT_COMPLETED
        {
            "nodeid": NODEID,
            "ts": TIMESTAMP,
            "event": "GEOREP_ACTIVE",
            "message": {
                "master_volume": MASTER_VOLUME_NAME,
                "slave_host": SLAVE_HOST,
                "slave_volume": SLAVE_VOLUME,
                "brick_path": BRICK_PATH,
                "checkpoint_time": CHECKPOINT_TIME,
                "checkpoint_completion_time": CHECKPOINT_COMPLETION_TIME
            }
        }

    BUG: 1379330
    Change-Id: I90716175868c59dd65c8d202e73e0ede90347b6a
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-on: http://review.gluster.org/15630
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Kotresh HR <khiremat at redhat.com>
    Tested-by: Kotresh HR <khiremat at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1379330
[Bug 1379330] eventsapi/georep: Events are not available for Checkpoint and
Status Change
https://bugzilla.redhat.com/show_bug.cgi?id=1380257
[Bug 1380257] [RFE] eventsapi/georep: Events are not available for
Checkpoint and Status Change
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list