Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commi…
Commit: cc95f40eeb1e987ae7d6e3a348f2f3c0f5b98c0d
Parent: 894b0332d8058742151e92f3c1f4c9086e214638
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Fri Oct 2 16:01:23 2009 +0200
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Fri Oct 2 16:01:23 2009 +0200
fence_scsi: man page contains invalid "-s" option
Resolves: bz#515731
---
fence/man/fence_scsi.8 | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fence/man/fence_scsi.8 b/fence/man/fence_scsi.8
index 39843cd..eaab222 100644
--- a/fence/man/fence_scsi.8
+++ b/fence/man/fence_scsi.8
@@ -76,9 +76,6 @@ Name of the node to be fenced.
\fB-h\fP
Print out a help message describing available options, then exit.
.TP
-\fB-s\fP \fIself\fR
-Name of the node that will perform the fencing operation.
-.TP
\fB-v\fP
Verbose output.
.TP
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=1a…
Commit: 1ad72774e4139fbc7163ae35bbde3fbf41615dc7
Parent: 137c94155c81106ad1460ae55a22b1a898524167
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Fri Oct 2 13:11:27 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Fri Oct 2 13:11:27 2009 +0200
cman init: add options to drive config validation in cman_tool
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
cman/init.d/cman.in | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index aa8a585..055abda 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -154,6 +154,16 @@ fi
# openaisparser - use internal openais config file parser.
[ -n "$CONFIG_LOADER" ] && cman_join_opts+=" -C $CONFIG_LOADER"
+# CONFIG_VALIDATION -- select default config validation behaviour
+# This can be:
+# FAIL - Use a very strict checking. The config will not be loaded if there
+# for any kind of warnings/errors.
+# WARN - Same as FAIL, but will allow the config to load (this is temporary
+# the default behaviour)
+# NONE - Disable config validation. Highly discouraged.
+[ -z "$CONFIG_VALIDATION" ] && CONFIG_VALIDATION=WARN
+cman_join_opts+=" -D$CONFIG_VALIDATION"
+
# CMAN_LEAVE_OPTS -- allows extra options to be passed to cman_tool when leave
# operation is performed.
[ -n "$CMAN_LEAVE_OPTS" ] && cman_leave_opts="$CMAN_LEAVE_OPTS"
@@ -522,6 +532,9 @@ start_cman()
ret=1
else
ret=0
+ if [ "$CONFIG_VALIDATION" = "WARN" ] && [ -s $tmpfile ]; then
+ cat $tmpfile >&2
+ fi
fi
rm -f $tmpfile
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=df…
Commit: df5dc41a7eb1440f1f947785ebd86b1b464ee586
Parent: f1c1fa3445fe4646904a41d0f370697d25f8dc70
Author: Christine Caulfield <ccaulfie(a)redhat.com>
AuthorDate: Thu Oct 1 10:57:22 2009 +0100
Committer: Christine Caulfield <ccaulfie(a)redhat.com>
CommitterDate: Thu Oct 1 10:57:22 2009 +0100
cman: Allow <cman upgrading="yes"/>
I think "yes" is more prevalent than "on" to enable things like debug logging
so I've allowed "yes" as well as "on" in the upgrading key.
We should only document one of these of course. But this, at least, saves
me time.
Signed-off-by: Christine Caulfield <ccaulfie(a)redhat.com>
---
cman/daemon/cman-preconfig.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index aece9a5..b39ca4c 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -1272,7 +1272,7 @@ static int cmanpre_readconfig(struct objdb_iface_ver0 *objdb, const char **error
/* Set up STABLE2/RHEL5 compatibility modes */
objdb_get_string(objdb, object_handle, "upgrading", &str);
- if (str && strcasecmp(str, "on")==0) {
+ if (str && (strcasecmp(str, "on")==0 || strcasecmp(str, "yes")==0)) {
setup_old_compat(objdb, cluster_parent_handle);
}