Bug 1362144 - Python library to send Events
Summary: Python library to send Events
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: eventsapi
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Aravinda VK
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1351589
TreeView+ depends on / blocked
 
Reported: 2016-08-01 11:36 UTC by Aravinda VK
Modified: 2017-03-27 18:18 UTC (History)
0 users

Fixed In Version: glusterfs-3.9.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-27 18:18:00 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Aravinda VK 2016-08-01 11:36:54 UTC
Description of problem:
To emit events from Geo-replication or other Python applications running in Storage nodes, Python library is required.

Comment 1 Vijay Bellur 2016-08-01 11:51:41 UTC
REVIEW: http://review.gluster.org/15063 (eventsapi: Python library for gf_event) posted (#1) for review on master by Aravinda VK (avishwan)

Comment 2 Vijay Bellur 2016-08-02 07:14:45 UTC
REVIEW: http://review.gluster.org/15063 (eventsapi: Python library for gf_event) posted (#2) for review on master by Aravinda VK (avishwan)

Comment 3 Vijay Bellur 2016-08-09 07:24:35 UTC
COMMIT: http://review.gluster.org/15063 committed in master by Aravinda VK (avishwan) 
------
commit f5fbf46d82e4ea5325e89459c5ad9f753f1ca66b
Author: Aravinda VK <avishwan>
Date:   Mon Aug 1 17:16:50 2016 +0530

    eventsapi: Python library for gf_event
    
    Python library to emit Events from Geo-replication or any other Python apps
    running in storage nodes.
    
    Add $LIBEXEC/glusterfs/events to Python path to use gf_event
    
    gf_event(event_type, **kwargs)
    
    For example,
    
        sys.path.insert(1, "LIBEXECDIR/glusterfs")
        from events.gf_event import gf_event
        from events import eventtypes
    
        gf_event(eventtypes.GEOREP_FAULTY,
                 volname="gv1",
                 slaveuser="root",
                 slavehost="node1",
                 slavevol="gv2")
    
    Errors will be logged in $LOGDIR/glusterfs/events.log
    
    BUG: 1362144
    Change-Id: I2af2bd77f9961975e4387006b9e99e4543e12b57
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/15063
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Samikshan Bairagya <samikshan>
    Reviewed-by: Prashanth Pai <ppai>

Comment 4 Shyamsundar 2017-03-27 18:18:00 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.9.0, please open a new bug report.

glusterfs-3.9.0 has been announced on the Gluster mailinglists [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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/


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