Bug 1396364

Summary: Scheduler : Scheduler should not depend on glusterfs-events package
Product: [Community] GlusterFS Reporter: Avra Sengupta <asengupt>
Component: snapshotAssignee: Avra Sengupta <asengupt>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: mainlineCC: ashah, bugs, rhs-bugs, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.10.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1396361
: 1396901 (view as bug list) Environment:
Last Closed: 2017-03-06 17:35:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1396361    
Bug Blocks: 1396901    

Description Avra Sengupta 2016-11-18 07:50:01 UTC
+++ This bug was initially created as a clone of Bug #1396361 +++

Description of problem:

When initializing snapshot scheduler , it gives dependency error.
  

Version-Release number of selected component (if applicable):

glusterfs-3.8.4-5.el6rhs.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create 2*2 distribute volume
2. Enable shared storage
3. initialize snapshot scheduler 

Actual results:

[root@dhcp47-158 ~]# snap_scheduler.py init
Traceback (most recent call last):
  File "/usr/sbin/snap_scheduler.py", line 24, in <module>
    from events.gf_event import gf_event



Expected results:

Scheduler should not depend on glusterfs-events package


Additional info:

--- Additional comment from Red Hat Bugzilla Rules Engine on 2016-11-18 02:32:46 EST ---

This bug is automatically being proposed for the current release of Red Hat Gluster Storage 3 under active development, by setting the release flag 'rhgs‑3.2.0' to '?'. 

If this bug should be proposed for a different release, please manually change the proposed release flag.

Comment 1 Worker Ant 2016-11-18 08:09:37 UTC
REVIEW: http://review.gluster.org/15876 (snapshot/scheduler: Removing dependency of scheduler on eventing) posted (#1) for review on master by Avra Sengupta (asengupt)

Comment 2 Worker Ant 2016-11-21 06:18:17 UTC
COMMIT: http://review.gluster.org/15876 committed in master by Rajesh Joseph (rjoseph) 
------
commit 6b2c40d337bd30eea3ce56a71db8864e61a9a411
Author: Avra Sengupta <asengupt>
Date:   Fri Nov 18 13:13:21 2016 +0530

    snapshot/scheduler: Removing dependency of scheduler on eventing
    
    Change-Id: I7de156d8186c32092ec5e9d174d023f4782947c0
    BUG: 1396364
    Signed-off-by: Avra Sengupta <asengupt>
    Reviewed-on: http://review.gluster.org/15876
    Reviewed-by: Aravinda VK <avishwan>
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Rajesh Joseph <rjoseph>

Comment 3 Shyamsundar 2017-03-06 17:35:27 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.10.0, please open a new bug report.

glusterfs-3.10.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/2017-February/030119.html
[2] https://www.gluster.org/pipermail/gluster-users/