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

[Cluster-devel] Cluster Project branch, STABLE2, updated. cluster-2.02.00-29-g1ab4aee

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, STABLE2 has been updated
       via  1ab4aee93103fde81451e3a435944615e36093de (commit)
      from  759c998c8c9f851da69aa38d84a3fc6d382af47f (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 1ab4aee93103fde81451e3a435944615e36093de
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]