Cleanup the Active/Passive logging code which is redundant. With new status infra implmented, this is redundant as every status switch is logged by status infra. fixes: bz#1619027 Change-Id: I0a6644cb998f3520e62a5189f21e4d66acc0e7c5 Signed-off-by: Kotresh HR <khiremat@redhat.com>
32 lines
778 B
Python
32 lines
778 B
Python
#
|
|
# Copyright (c) 2011-2014 Red Hat, Inc. <http://www.redhat.com>
|
|
# This file is part of GlusterFS.
|
|
|
|
# This file is licensed to you under your choice of the GNU Lesser
|
|
# General Public License, version 3 or any later version (LGPLv3 or
|
|
# later), or the GNU General Public License, version 2 (GPLv2), in all
|
|
# cases as published by the Free Software Foundation.
|
|
#
|
|
|
|
|
|
class RConf(object):
|
|
|
|
"""singleton class to store runtime globals
|
|
shared between gsyncd modules"""
|
|
|
|
ssh_ctl_dir = None
|
|
ssh_ctl_args = None
|
|
cpid = None
|
|
pid_file_owned = False
|
|
log_exit = False
|
|
permanent_handles = []
|
|
log_metadata = {}
|
|
mgmt_lock_fd = None
|
|
args = None
|
|
turns = 0
|
|
mountbroker = False
|
|
mount_point = None
|
|
mbr_umount_cmd = []
|
|
|
|
rconf = RConf()
|