conga ./clustermon.spec.in.in ./ricci.spec.in. ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2008-03-14 21:15:45
Modified files:
. : clustermon.spec.in.in ricci.spec.in.in
luci/site/luci/Extensions: LuciClusterActions.py
ricci_communicator.py
ricci/modules/cluster/clumon/src/common: Cluster.cpp ricci/modules/cluster/clumon/src/daemon: Monitor.cpp ricci/modules/storage: ContentFS.cpp ExtendedFS.cpp Mapper.cpp
MountHandler.cpp PTSource.cpp PV.cpp Partition.cpp PartitionTable.cpp parted_wrapper.cpp
Log message:
More gcc 3.4.0 build fixes
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/clustermon.spec.in.in.diff?cvsroot=cluster&r1=1.37&r2=1.38
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci.spec.in.in.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/LuciClusterActions.py.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ricci_communicator.py.diff?cvsroot=cluster&r1=1.32&r2=1.33
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/common/Cluster.cpp.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp.diff?cvsroot=cluster&r1=1.22&r2=1.23
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentFS.cpp.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ExtendedFS.cpp.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Mapper.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MountHandler.cpp.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/PTSource.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/PV.cpp.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Partition.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/PartitionTable.cpp.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/parted_wrapper.cpp.diff?cvsroot=cluster&r1=1.13&r2=1.14
clustermon.spec.in.in +1 -1
@@ -64,7 +64,7 @@ Group: System Environment/Base Summary: Red Hat Enterprise Linux Cluster Suite - remote management -Requires: oddjob dbus openssl +Requires: cman oddjob dbus openssl libxml2 Requires: initscripts util-linux Requires(post): chkconfig initscripts util-linux Requires(preun): chkconfig initscripts
ricci.spec.in.in +3 -3
@@ -21,13 +21,13 @@ BuildRequires: python-devel >= 2.4.1 BuildRequires: glibc-devel gcc-c++ libxml2-devel sed -BuildRequires: cman-devel +BuildRequires: cman-devel libcap-devel BuildRequires: cyrus-sasl-devel >= 2.1 -BuildRequires: openssl-devel dbus-devel pkgconfig file-devel +BuildRequires: openssl-devel dbus-devel pkgconfig file-devel libvirt-devel Requires: initscripts Requires: oddjob dbus openssl pam cyrus-sasl >= 2.1 -Requires: sed util-linux +Requires: sed util-linux libvirt file libxml2 libcap Requires: modcluster >= 0.10.0 # modstorage Requires: parted util-linux
luci/site/luci/Extensions/LuciClusterActions.py +4 -4
@@ -338,7 +338,7 @@ # We need to get a node name other than the node # to be deleted, then delete the node from the cluster.conf - # and propogate it. We will need two ricci agents for this task, + # and propagate it. We will need two ricci agents for this task, # unless we are deleting the cluster itself. if delete_cluster is False:
@@ -368,7 +368,7 @@ # Unless we're deleting the whole cluster, it is not worth # flagging this node in DB, as we are going to delete it - # anyway. Now, we need to delete node from model and send out + # anyway. Now, we need to the delete node from model and send out # new cluster.conf if delete_cluster is True:
@@ -449,7 +449,7 @@ nodename_resolved = resolve_nodename(self, clustername, nodename) try: - # XXX - do this in parallel + # XXX - do this in parallel on all nodes rc = RicciCommunicator(nodename_resolved) except Exception, e: if LUCI_DEBUG_MODE is True:
@@ -481,7 +481,7 @@ nodename_resolved = resolve_nodename(self, clustername, nodename) try: - # XXX - do this in parallel + # XXX - do this in parallel on all nodes rc = RicciCommunicator(nodename_resolved) except Exception, e: if LUCI_DEBUG_MODE is True:
luci/site/luci/Extensions/ricci_communicator.py +3 -3
@@ -169,7 +169,7 @@ luci_log.debug_net('RC:UNAUTH0: unauthenticate %s for %s:%d' \ % (ret, self.__hostname, self.__port)) if ret != '0': - raise Exception, 'Invalid response' + raise Exception, 'Invalid response: %s' % ret try: self.ss.untrust()
@@ -494,7 +494,7 @@ % batch_xml.toxml()) except: pass - raise RicciError, 'Not an XML batch node' + raise RicciError, 'Not an XML batch node: %s' % batch_xml.nodeName total = 0 last = 0
@@ -544,7 +544,7 @@ if LUCI_DEBUG_NET is True: luci_log.debug_net_priv('RC:EMS0: Expecting "batch" got "%s"' \ % batch_xml.toxml()) - raise RicciError, 'Invalid XML node; expecting a batch node' + raise RicciError, 'Invalid XML node; expecting a batch node: %s' % batch_xml.nodeName c = 0 for node in batch_xml.childNodes:
ricci/modules/cluster/clumon/src/common/Cluster.cpp +2 -1
@@ -25,7 +25,8 @@ #include <stdio.h> extern "C" { -# include <libcman.h> + #include <limits.h> + #include <libcman.h> } using namespace std;
ricci/modules/cluster/clumon/src/daemon/Monitor.cpp +1 -1
@@ -845,7 +845,7 @@ if (ch != NULL) { int ret; cman_version_t cman_version; - char *clu_version = ""; + String clu_version = ""; ret = cman_get_version(ch, &cman_version); if (ret >= 0) {
ricci/modules/storage/ContentFS.cpp +1 -0
@@ -28,6 +28,7 @@ #include "BDFactory.h" #include "defines.h" #include "utils.h" +#include <algorithm> using namespace std;
ricci/modules/storage/ExtendedFS.cpp +2 -1
@@ -27,8 +27,9 @@ #include "UMountError.h" #include "FileMagic.h" - +#include <algorithm> #include <iostream> + using namespace std;
ricci/modules/storage/Mapper.cpp +1 -0
@@ -26,6 +26,7 @@ #include "BDFactory.h" #include "MapperFactory.h" #include "MidAir.h" +#include <algorithm> using namespace std;
ricci/modules/storage/MountHandler.cpp +2 -1
@@ -37,8 +37,9 @@ #include <sys/file.h> #include <errno.h> - +#include <algorithm> #include <iostream> + using namespace std;
ricci/modules/storage/PTSource.cpp +1 -0
@@ -25,6 +25,7 @@ #include "PartitionTable.h" #include "parted_wrapper.h" +#include <algorithm> using namespace std;
ricci/modules/storage/PV.cpp +1 -0
@@ -26,6 +26,7 @@ #include "MapperFactory.h" #include "utils.h" #include "LVMClusterLockingError.h" +#include <algorithm> using namespace std;
ricci/modules/storage/Partition.cpp +1 -0
@@ -30,6 +30,7 @@ #include "ContentExtendedPartition.h" #include "PV.h" +#include <algorithm> using namespace std;
ricci/modules/storage/PartitionTable.cpp +1 -1
@@ -28,7 +28,7 @@ #include "MapperFactory.h" #include "utils.h" - +#include <algorithm> #include <iostream>
ricci/modules/storage/parted_wrapper.cpp +2 -1
@@ -24,8 +24,9 @@ #include "parted_wrapper.h" #include "utils.h" - +#include <algorithm> #include <iostream> + using namespace std;