cluster: RHEL6 - Revert "halvm: Fix bug 506587: lvm agent incorrectly reports vg is in volume_list"

Fabio M. Di Nitto fabbione at fedoraproject.org
Sat May 15 05:55:54 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=72c3cd7f4550dcce1988cb012ea32a8a9e092cdb
Commit:        72c3cd7f4550dcce1988cb012ea32a8a9e092cdb
Parent:        cecf7f219af89600d06e8b5cb7627ae77aca3c4d
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Sat May 15 07:55:34 2010 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Sat May 15 07:55:34 2010 +0200

Revert "halvm: Fix bug 506587: lvm agent incorrectly reports vg is in volume_list"

This reverts commit cecf7f219af89600d06e8b5cb7627ae77aca3c4d.
---
 rgmanager/src/resources/lvm.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rgmanager/src/resources/lvm.sh b/rgmanager/src/resources/lvm.sh
index 7f174ca..4b7155c 100644
--- a/rgmanager/src/resources/lvm.sh
+++ b/rgmanager/src/resources/lvm.sh
@@ -47,7 +47,7 @@ function ha_lvm_proper_setup_check
 	# lvm.conf:activation/volume_list; otherwise, machines
 	# will be able to activate the VG regardless of the tags
 	##
-	if lvm dumpconfig activation/volume_list | grep "\"$OCF_RESKEY_vg_name\""; then
+	if lvm dumpconfig activation/volume_list | grep $OCF_RESKEY_vg_name; then
 		ocf_log err "HA LVM:  Improper setup detected"
 		ocf_log err "- $OCF_RESKEY_vg_name found in \"volume_list\" in lvm.conf"
 		return $OCF_ERR_GENERIC


More information about the cluster-commits mailing list