Cluster Project branch, STABLE2, updated. cluster-2.03.04-38-g272fe5f
Subsystems (2)
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 272fe5f76ecc45a452ccf06631778520706786a4 (commit)
via 2a54f044b684d068dd6250f259d1e3e4d13ec94d (commit)
via 746418c142992700afff7810ad6219c233414df0 (commit)
via 0440edaaa4cb14bd5b94c0ee3863cce9d8ba8310 (commit)
via cc76b979138565f07feb5af69da93cfffa931889 (commit)
via 0ef4c7671685637371f6da22de5315aa3426edfd (commit)
via de78c677c218a369bf1c5332d2b5dc88883c5899 (commit)
from f632dfc8c99199fb0b6acc77fd3697c8c82bf33b (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 272fe5f76ecc45a452ccf06631778520706786a4
Author: Fabio M. Di Nitto <[email protected]> Date: Thu Jul 3 05:46:11 2008 +0200
[BUILD] Fix install of telnet_ssl
commit 2a54f044b684d068dd6250f259d1e3e4d13ec94d
Author: Marek 'marx' Grac <[email protected]> Date: Wed Jul 2 15:55:48 2008 +0200
[FENCE] Bug #448822: fence_ilo doesn't work with iLO
New fencing agent for iLO used ssh/telnet to connect, but unfortutely there is a problem with power off. This is why we need to use SSL connection and RIBCL commands. As there is no (?) telnet with ssl connection in RHEL we need one to be able to use same infrastructure as in other agents. This agent was not tested with RIBCL version < 2.0 (these part where just ported from the old perl fencing agent)
@todo: we have to put telnet_ssl.py somewhere, I'm not sure where
commit 746418c142992700afff7810ad6219c233414df0
Author: Fabio M. Di Nitto <[email protected]> Date: Tue Jul 1 10:07:02 2008 +0200
[MISC] Documentation cleanup
Move all licence and copyright bits into doc/
Add doc/Makefile and use DOCS= infrastructure to install all documentation.
commit 0440edaaa4cb14bd5b94c0ee3863cce9d8ba8310
Author: Fabio M. Di Nitto <[email protected]> Date: Tue Jul 1 09:58:35 2008 +0200
[BUILD] Fix docdir default path
commit cc76b979138565f07feb5af69da93cfffa931889
Author: Fabio M. Di Nitto <[email protected]> Date: Tue Jul 1 09:47:05 2008 +0200
[BUILD] Allow configuration of docdir
commit 0ef4c7671685637371f6da22de5315aa3426edfd
Author: Fabio M. Di Nitto <[email protected]> Date: Wed Jun 25 09:09:41 2008 +0200
[CCS] Remove duplicate header
commit de78c677c218a369bf1c5332d2b5dc88883c5899
Author: Fabio M. Di Nitto <[email protected]> Date: Wed Jun 25 07:09:25 2008 +0200
[GFS2] hexedit does not need syslog
-----------------------------------------------------------------------
Summary of changes:
Makefile | 3 +- ccs/daemon/misc.c | 1 - configure | 7 ++ COPYING.applications => doc/COPYING.applications | 0 COPYING.libraries => doc/COPYING.libraries | 0 COPYRIGHT => doc/COPYRIGHT | 0 doc/Makefile | 17 ++++ README.licence => doc/README.licence | 0 fence/agents/ilo/fence_ilo.py | 99 ++++++++++++++-------- fence/agents/lib/Makefile | 2 +- fence/agents/lib/fencing.py.py | 10 ++- fence/agents/lib/telnet_ssl.py | 66 ++++++++++++++ gfs2/edit/hexedit.c | 2 - make/defines.mk.input | 1 + 14 files changed, 165 insertions(+), 43 deletions(-) rename COPYING.applications => doc/COPYING.applications (100%) rename COPYING.libraries => doc/COPYING.libraries (100%) rename COPYRIGHT => doc/COPYRIGHT (100%) create mode 100644 doc/Makefile rename README.licence => doc/README.licence (100%) create mode 100644 fence/agents/lib/telnet_ssl.py
Makefile +2 -1
@@ -1,7 +1,8 @@ include make/defines.mk REALSUBDIRS = gnbd-kernel/src gfs-kernel/src/gfs \ - cman/lib ccs cman dlm group fence gfs gfs2 gnbd rgmanager + cman/lib ccs cman dlm group fence gfs gfs2 gnbd rgmanager \ + doc SUBDIRS = $(filter-out \ $(if ${without_gnbd-kernel/src},gnbd-kernel/src) \
ccs/daemon/misc.c +0 -1
@@ -11,7 +11,6 @@#include <sys/socket.h> #include <sys/ioctl.h> #include <errno.h> -#include <libxml/parser.h> #include <errno.h> #include <libxml/parser.h> #include <libxml/tree.h>
configure +7 -0
@@ -64,6 +64,7 @@ my %options = ( sbindir => \$sbindir, initddir => \$initddir, sharedir => \$sharedir, + docdir => \$docdir, mibdir => \$mibdir, snmpbin => \$snmpbin, confdir => \$confdir,
@@ -135,6 +136,7 @@ my $err = &GetOptions (\%options, 'sbindir=s', 'initddir=s', 'sharedir=s', + 'docdir=s', 'mibdir=s', 'snmpbin=s', 'confdir=s',
@@ -175,6 +177,7 @@ if ($help || !$err) { print "--libdir=\tthe base directory for libraries. (Default: {prefix}/lib)\n"; print "--libexecdir=\tthe base directory for executable components. (Default: {prefix}/libexec)\n"; print "--sharedir=\tthe base directory for misc cluster files. (Default: {prefix}/share/cluster)\n"; + print "--docdir=\tthe base directory for misc cluster documentation files. (Default: {prefix}/share/doc/cluster)\n"; print "--mibdir=\tthe base directory for snmp mibs. (Default: {prefix}/share/snmp/mibs)\n"; print "--snmpbin=\tthe base directory for snmp binaries (Ex: /usr/bin/snmpwalk). (Default: {prefix}/bin)\n"; print "--confdir=\tthe cluster config directory. (Default: /etc/cluster)\n";
@@ -482,6 +485,9 @@ if (!$initddir) { if (!$sharedir) { $sharedir="${prefix}/share/cluster"; } +if (!$docdir) { + $docdir="${prefix}/share/doc/cluster"; +} if (!$mibdir) { $mibdir="${prefix}/share/snmp/mibs"; }
@@ -621,6 +627,7 @@ while (<IFILE>) { $_ =~ s/\@SBINDIR\@/$sbindir/; $_ =~ s/\@INITDDIR\@/$initddir/; $_ =~ s/\@SHAREDIR\@/$sharedir/; + $_ =~ s/\@DOCDIR\@/$docdir/; $_ =~ s/\@MIBDIR\@/$mibdir/; $_ =~ s/\@SNMPBIN\@/$snmpbin/; $_ =~ s/\@CONFDIR\@/$confdir/;
doc/COPYING.applications renamed from COPYING.applications +0 -0
doc/COPYING.libraries renamed from COPYING.libraries +0 -0
doc/COPYRIGHT renamed from COPYRIGHT +0 -0
doc/Makefile new file +17 -0
@@ -0,0 +1,17 @@ +DOCS = gfs2.txt \ + journaling.txt \ + min-gfs.txt \ + usage.txt \ + COPYING.applications \ + COPYING.libraries \ + COPYRIGHT \ + README.licence + +all: + +include ../make/defines.mk +include $(OBJDIR)/make/install.mk +include $(OBJDIR)/make/uninstall.mk +include $(OBJDIR)/make/clean.mk + +clean: generalclean
doc/README.licence renamed from README.licence +0 -0
fence/agents/ilo/fence_ilo.py +62 -37
133 lines not on this page · raw message
fence/agents/lib/Makefile +1 -1
@@ -1,6 +1,6 @@ include ../../../make/defines.mk -TARGET= fencing.py +TARGET= fencing.py telnet_ssl FENCEAGENTSLIB= $(TARGET)
fence/agents/lib/fencing.py.py +9 -1
@@ -27,6 +27,7 @@ EC_WAITING_OFF = 7 TELNET_PATH = "/usr/bin/telnet" SSH_PATH = "/usr/bin/ssh" +SSL_PATH = "@FENCEAGENTSLIBDIR@/telnet_ssl" all_opt = { "help" : {
@@ -101,6 +102,10 @@ all_opt = { "getopt" : "x", "help" : "-x Use ssh connection", "order" : 1 }, + "ssl" : { + "getopt" : "z", + "help" : "-z Use ssl connection", + "order" : 1 }, "port" : { "getopt" : "n:", "help" : "-n <id> Physical plug number on device",
@@ -342,7 +347,10 @@ def fence_login(options): re_login = re.compile("(login: )|(Login Name: )|(username: )|(User Name :)", re.IGNORECASE) re_pass = re.compile("password", re.IGNORECASE) - if options.has_key("-x") and 0 == options.has_key("-k"): + if options.has_key("-z"): + command = '%s %s %s' % (SSL_PATH, options["-a"], "443") + conn = fspawn(command) + elif options.has_key("-x") and 0 == options.has_key("-k"): command = '%s %s@%s' % (SSH_PATH, options["-l"], options["-a"]) if options.has_key("ssh_options"): command += ' ' + options["ssh_options"]
fence/agents/lib/telnet_ssl.py new file +66 -0
66 lines not on this page · raw message
gfs2/edit/hexedit.c +0 -2
@@ -27,8 +27,6 @@#include "libgfs2.h" #include "gfs2hex.h" -#include <syslog.h> -#define RGLIST_DUMMY_BLOCK -2int display (int identify_only);
make/defines.mk.input +1 -0
@@ -4,6 +4,7 @@ initddir ?= ${DESTDIR}@INITDDIR@ libdir ?= ${DESTDIR}@LIBDIR@ libexecdir ?= ${DESTDIR}@LIBEXECDIR@ sharedir ?= ${DESTDIR}@SHAREDIR@ +docdir ?= ${DESTDIR}@DOCDIR@ mandir ?= ${DESTDIR}@MANDIR@ module_dir ?= @MODULE_DIR@ incdir ?= ${DESTDIR}@INCDIR@
hooks/post-receive
--
Cluster Project