resource-agents/RHEL-76007-Filesystem-dont-report-warnings-when-creating-resource.patch
Oyvind Albrigtsen 8765ef2c32 - openstack-cinder-volume: wait for volume to be available
- All agents: use grep -E/-F
- Filesystem: dont report warnings when creating resource
- storage-mon: fix daemon mode bug that caused delayed initial score

  Resolves: RHEL-72954, RHEL-75574, RHEL-76007, RHEL-76037
2025-01-23 15:15:26 +01:00

24 lines
781 B
Diff

From 2ba4b0c05902da4520a8931b9417b74c5659b5d1 Mon Sep 17 00:00:00 2001
From: Satomi OSAWA <satomi.t.osawa@gmail.com>
Date: Thu, 23 Jan 2025 10:55:28 +0900
Subject: [PATCH] To avoid the Warning when executing the pcs resource create
command, the INFO log message in validate-all operation will be suppressed.
---
heartbeat/Filesystem | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/heartbeat/Filesystem b/heartbeat/Filesystem
index b48bee142..0c43220df 100755
--- a/heartbeat/Filesystem
+++ b/heartbeat/Filesystem
@@ -1145,7 +1145,7 @@ check_binary $FSCK
check_binary $MOUNT
check_binary $UMOUNT
-if [ "$OP" != "monitor" ]; then
+if [ "$OP" != "monitor" ] && [ "$OP" != "validate-all" ]; then
ocf_log info "Running $OP for $DEVICE on $MOUNTPOINT"
fi