Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
317 changes: 0 additions & 317 deletions crmsh/crash_test/check.py

This file was deleted.

1 change: 0 additions & 1 deletion crmsh/crash_test/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
REMOVE_PORT = "firewall-cmd --zone=public --remove-port={port}/udp"
ADD_PORT = "firewall-cmd --zone=public --add-port={port}/udp"
SBD_CONF = "/etc/sysconfig/sbd"
SBD_CHECK_CMD = "sbd -d {dev} dump"
8 changes: 0 additions & 8 deletions crmsh/crash_test/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import argparse
from argparse import RawDescriptionHelpFormatter

from . import check
from . import utils
from . import task
from crmsh import utils as crmshutils
Expand All @@ -30,8 +29,6 @@ def __init__(self):
self.current_case = None

# set by argparse(functions)
self.check_conf = None
self.cluster_check = None
self.sbd = None
self.corosync = None
self.pacemakerd = None
Expand Down Expand Up @@ -142,9 +139,6 @@ def parse_argument(context):
context.jsonfile,
context.report_path))

#parser.add_argument('-c', '--check-conf', dest='check_conf', action='store_true',
# help='Validate the configurations')

group_mutual = parser.add_mutually_exclusive_group()
group_mutual.add_argument('--kill-sbd', dest='sbd', action='store_true',
help='Kill sbd daemon')
Expand Down Expand Up @@ -198,8 +192,6 @@ def run(context):
os.makedirs(context.var_dir, exist_ok=True)

try:
check.fix(context)
check.check(context)
kill_process(context)
fence_node(context)
split_brain(context)
Expand Down
Loading