[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] Cluster Project branch, master, updated. gfs-kernel_0_1_22-99-gb08be99

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".


The branch, master has been updated
       via  b08be99c3a37ff4aeeb309d0c03ecce9f04904ab (commit)
      from  abf5d4d8a61b28ee786b94436c6f82ee484f7fc7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b08be99c3a37ff4aeeb309d0c03ecce9f04904ab
Author: Jonathan Brassow <jbrassow redhat com>
Date:   Wed Mar 26 09:05:43 2008 -0500

    rgmanager/lvm.sh: Fix bug 438816
    Missing VG name parameter to 'vgchange --deltag' call
    caused tag to be remove from all VGs, not just the
    intended one.
    Thanks to Simone Gotti for the patch.


Summary of changes:
 rgmanager/src/resources/lvm_by_vg.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/rgmanager/src/resources/lvm_by_vg.sh b/rgmanager/src/resources/lvm_by_vg.sh
index e97f9b9..b1840a1 100755
--- a/rgmanager/src/resources/lvm_by_vg.sh
+++ b/rgmanager/src/resources/lvm_by_vg.sh
@@ -56,7 +56,7 @@ function strip_tags
 	for i in `vgs --noheadings -o tags $OCF_RESKEY_vg_name | sed s/","/" "/g`; do
 		ocf_log info "Stripping tag, $i"
-		vgchange --deltag $i
+		vgchange --deltag $i $OCF_RESKEY_vg_name
 	if [ ! -z `vgs -o tags --noheadings $OCF_RESKEY_vg_name` ]; then
@@ -93,6 +93,7 @@ function vg_status
 	local i
 	local dev
 	local readdev
+	local my_name=$(local_node_name)
 	# Check that all LVs are active

Cluster Project

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]