
It leads to AIO duplex deploy failure. It is caused by resource-agents upgrade. The new srpm changed parameter "vgchange_options" to "vgchange_activate_options", so patch need be updated to use the new parameter. Story: 2004522 Task: 29025 Change-Id: I0832d93d726e8791c29395121000e0ef4dbb07f2 Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
49 lines
1.0 KiB
Diff
49 lines
1.0 KiB
Diff
From f658722ec239a258cd3ec2e828ca3f37ba2fe536 Mon Sep 17 00:00:00 2001
|
|
From: Don Penney <don.penney@windriver.com>
|
|
Date: Fri, 17 Jun 2016 00:31:20 -0400
|
|
Subject: [PATCH 1/1] Notify rmon of shutdown before shutting down LVM and
|
|
Filesystem
|
|
|
|
---
|
|
heartbeat/Filesystem | 5 +++--
|
|
heartbeat/LVM | 5 +++--
|
|
2 files changed, 6 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/heartbeat/Filesystem b/heartbeat/Filesystem
|
|
index 05e4097..d5f3417 100755
|
|
--- a/heartbeat/Filesystem
|
|
+++ b/heartbeat/Filesystem
|
|
@@ -883,9 +883,10 @@ case $OP in
|
|
validate-all) Filesystem_validate_all
|
|
exit $?
|
|
;;
|
|
- stop) Filesystem_stop
|
|
- rc=$?
|
|
+ stop)
|
|
rmon_notify "disabled" 300
|
|
+ Filesystem_stop
|
|
+ rc=$?
|
|
exit $rc
|
|
;;
|
|
esac
|
|
diff --git a/heartbeat/LVM b/heartbeat/LVM
|
|
index 38092f9..893ece8 100755
|
|
--- a/heartbeat/LVM
|
|
+++ b/heartbeat/LVM
|
|
@@ -601,9 +601,10 @@ case "$1" in
|
|
fi
|
|
exit $rc;;
|
|
|
|
- stop) LVM_stop $VOLUME
|
|
- rc=$?
|
|
+ stop)
|
|
rmon_notify "disabled" 300
|
|
+ LVM_stop $VOLUME
|
|
+ rc=$?
|
|
exit $rc;;
|
|
|
|
status) LVM_status $VOLUME $1
|
|
--
|
|
2.7.4
|
|
|