Bug 1219442

Summary: [Snapshot] Do not run scheduler if ovirt scheduler is running
Product: [Community] GlusterFS Reporter: Avra Sengupta <asengupt>
Component: snapshotAssignee: Avra Sengupta <asengupt>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, gluster-bugs, sasundar
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Scheduler
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1223209 1226120 (view as bug list) Environment:
Last Closed: 2016-06-16 12:59:05 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:    
Bug Blocks: 1186580, 1223209, 1226120    

Description Avra Sengupta 2015-05-07 11:21:43 UTC
Description of problem:
Do not run scheduler if ovirt scheduler is running

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2015-05-07 12:54:05 UTC
REVIEW: http://review.gluster.org/10641 (snapshot/scheduler: Do not enable scheduler if another scheduler is running) posted (#1) for review on master by Avra Sengupta (asengupt)

Comment 2 Anand Avati 2015-05-12 06:24:45 UTC
REVIEW: http://review.gluster.org/10641 (snapshot/scheduler: Do not enable scheduler if another scheduler is running) posted (#3) for review on master by Avra Sengupta (asengupt)

Comment 3 Anand Avati 2015-05-12 07:34:31 UTC
REVIEW: http://review.gluster.org/10641 (snapshot/scheduler: Do not enable scheduler if another scheduler is running) posted (#4) for review on master by Avra Sengupta (asengupt)

Comment 4 Anand Avati 2015-05-28 04:55:39 UTC
REVIEW: http://review.gluster.org/10641 (snapshot/scheduler: Do not enable scheduler if another scheduler is running) posted (#5) for review on master by Atin Mukherjee (amukherj)

Comment 5 Anand Avati 2015-05-29 02:25:42 UTC
COMMIT: http://review.gluster.org/10641 committed in master by Kaushal M (kaushal) 
------
commit d67eb34b2a5b5e3cb926ff4c86a163148743829c
Author: Avra Sengupta <asengupt>
Date:   Thu May 7 17:50:25 2015 +0530

    snapshot/scheduler: Do not enable scheduler if another scheduler is running
    
    Check if another snapshot scheduler is running before
    enabling the scheduler.
    
    Also introducing a hidden option, disable_force
    
    "snapshot_scheduler.py disable_force" will disable the
    cli snapshot scheduler from any node, even though the node
    has not been initialised for the scheduler, as long as the
    shared storage is mounted
    
    This option is hidden, because we don't want to encourage
    users to use all commands from nodes that are not initialised.
    
    Change-Id: I7ad941fbbab834225a36e740c61f8e740813e7c8
    BUG: 1219442
    Signed-off-by: Avra Sengupta <asengupt>
    Reviewed-on: http://review.gluster.org/10641
    Reviewed-by: Rajesh Joseph <rjoseph>
    Tested-by: NetBSD Build System
    Reviewed-by: Kaushal M <kaushal>

Comment 6 Nagaprasad Sathyanarayana 2015-10-25 15:08:20 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 7 Niels de Vos 2016-06-16 12:59:05 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.8.0, please open a new bug report.

glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user