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

[Cluster-devel] Cluster Project branch, RHEL5, updated. cmirror_1_1_15-19-gfd9a026

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, RHEL5 has been updated
       via  fd9a026fe08393ef7f561bb28db1815cf160d15f (commit)
      from  0484ef93e8d09313f8f110d23c2a6a6b4aca2f60 (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 fd9a026fe08393ef7f561bb28db1815cf160d15f
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]