Blame SOURCES/bz2157873-2-Filesystem-CTDB-validate-all-improvements.patch

ecb290
From 21666c5c842b8a6028699ee78db75a1d7134fad0 Mon Sep 17 00:00:00 2001
ecb290
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
ecb290
Date: Wed, 4 Jan 2023 10:39:16 +0100
ecb290
Subject: [PATCH 1/2] Filesystem: remove validate-all mountpoint warning as it
ecb290
 is auto-created during start-action if it doesnt exist
ecb290
ecb290
---
ecb290
 heartbeat/Filesystem | 4 ----
ecb290
 1 file changed, 4 deletions(-)
ecb290
ecb290
diff --git a/heartbeat/Filesystem b/heartbeat/Filesystem
ecb290
index 44270ad98..65088029e 100755
ecb290
--- a/heartbeat/Filesystem
ecb290
+++ b/heartbeat/Filesystem
ecb290
@@ -851,10 +851,6 @@ Filesystem_monitor()
ecb290
 #
ecb290
 Filesystem_validate_all()
ecb290
 {
ecb290
-	if [ -n "$MOUNTPOINT" ] && [ ! -d "$MOUNTPOINT" ]; then
ecb290
-		ocf_log warn "Mountpoint $MOUNTPOINT does not exist"
ecb290
-	fi
ecb290
-
ecb290
 	# Check if the $FSTYPE is workable
ecb290
 	# NOTE: Without inserting the $FSTYPE module, this step may be imprecise
ecb290
 	# TODO: This is Linux specific crap.
ecb290
ecb290
From 8a7f40b6ab93d8d39230d864ab06a57ff48d6f1f Mon Sep 17 00:00:00 2001
ecb290
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
ecb290
Date: Thu, 5 Jan 2023 13:09:48 +0100
ecb290
Subject: [PATCH 2/2] CTDB: change public_addresses validate-all warning to
ecb290
 info
ecb290
ecb290
---
ecb290
 heartbeat/CTDB.in | 2 +-
ecb290
 1 file changed, 1 insertion(+), 1 deletion(-)
ecb290
ecb290
diff --git a/heartbeat/CTDB.in b/heartbeat/CTDB.in
ecb290
index 46f56cfac..b4af66bc1 100755
ecb290
--- a/heartbeat/CTDB.in
ecb290
+++ b/heartbeat/CTDB.in
ecb290
@@ -940,7 +940,7 @@ ctdb_validate() {
ecb290
 	fi
ecb290
 
ecb290
 	if [ -f "${OCF_RESKEY_ctdb_config_dir}/public_addresses" ]; then
ecb290
-		ocf_log warn "CTDB file '${OCF_RESKEY_ctdb_config_dir}/public_addresses' exists - CTDB will try to manage IP failover!"
ecb290
+		ocf_log info "CTDB file '${OCF_RESKEY_ctdb_config_dir}/public_addresses' exists - CTDB will try to manage IP failover!"
ecb290
 	fi
ecb290
 
ecb290
 	if [ ! -f "$OCF_RESKEY_ctdb_config_dir/nodes" ]; then