This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cluster Project branch, RHEL52, updated. cmirror_1_1_15-16-g5646af6


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".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=5646af65c370043448f7b7f7574e9a053c2bb31e

The branch, RHEL52 has been updated
       via  5646af65c370043448f7b7f7574e9a053c2bb31e (commit)
      from  c1f442a049bc5f7369ff5c88a834dab2e9b09251 (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 5646af65c370043448f7b7f7574e9a053c2bb31e
Author: Jonathan Brassow <jbrassow@redhat.com>
Date:   Wed Mar 26 09:09:08 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
 	done
 
 	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


hooks/post-receive
--
Cluster Project


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]