* [Cluster-devel] conga ./clustermon.spec.in.in ./ricci.spec.in. ...
@ 2008-02-20 17:07 rmccabe
0 siblings, 0 replies; 4+ messages in thread
From: rmccabe @ 2008-02-20 17:07 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2008-02-20 17:07:56
Modified files:
. : clustermon.spec.in.in ricci.spec.in.in
make : version.in
ricci : Makefile
ricci/docs : Makefile
ricci/init.d : ricci
ricci/modules/cluster/clumon/init.d: modclusterd
Log message:
- Install API docs in /usr/share/doc/
- Don't start services automatically
- More init script tweaks
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/clustermon.spec.in.in.diff?cvsroot=cluster&r1=1.35&r2=1.36
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci.spec.in.in.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/make/version.in.diff?cvsroot=cluster&r1=1.34&r2=1.35
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/Makefile.diff?cvsroot=cluster&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/docs/Makefile.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/init.d/ricci.diff?cvsroot=cluster&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/init.d/modclusterd.diff?cvsroot=cluster&r1=1.5&r2=1.6
--- conga/clustermon.spec.in.in 2008/01/15 04:41:41 1.35
+++ conga/clustermon.spec.in.in 2008/02/20 17:07:55 1.36
@@ -18,7 +18,7 @@
Name: clustermon
Version: @@VERS@@
Release: @@REL@@%{?dist}
-License: GPL
+License: GPLv2
URL: http://sources.redhat.com/cluster/conga
Group: System Environment/Base
@@ -186,61 +186,5 @@
%changelog
-* Wed Sep 19 2007 Ryan McCabe <rmccabe@redhat.com> 0.12.0-1
-- Fixed bz317541 (Conga displays quorum status incorrectly when qdisk is used)
-
-* Mon Aug 20 2007 Ryan McCabe <rmccabe@redhat.com> 0.10.0-5
-- Fixed bz253341 (failure to start cluster service which had been modifed for correction)
-- Fixed bz230451 (fence_xvm.key file is not automatically created. Should have a least a default)
-- Fixed bz249351 (conga reports that ricci agent is unresponsive even though it's running)
-- Fixed bz230454 (Unable to configure a virtual service)
-- Performance improvements.
-- Make the clustermon init script more LSB-compliant
-
-* Tue Mar 20 2007 Stanko Kupcevic <kupcevic@redhat.com> 0.9.3-2
-- Do not fail on i18n machines
-- Improved bz218941: Conga/luci - cannot add node to cluster via luci web app
-- Fixed bz225747 (Create/delete cluster - then access disk on node = Generic error on host: cluster tools: cman_tool errored)
-
-* Fri Nov 17 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.9.1-1
-- version bump
-
-* Wed Nov 01 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-23
-- version bump
-
-* Tue Oct 31 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-22
-- Version bump
-
-* Wed Oct 25 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-21
-- 211942: Xenvm moniker must be eradicated
-
-* Wed Oct 16 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-20
-- cluster module: mark services as being xenvms, in status report
-
-* Wed Oct 16 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-19
-- Fixed bz 206571 (clustat changed output)
-- modclusterd startup/shutdown improvements
-
-* Fri Oct 06 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-18
-- Add purge_conf argument to stop_node modcluster call (bz202314)
-
-* Wed Oct 04 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-17
-- Version bump
-
-* Fri Sep 25 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-16
-- Suppress msgs from init script (bz204235)
-
-* Fri Aug 21 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-14
-- Version bump
-
-* Fri Aug 18 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-13
-- Version bump
-
-* Wed Aug 16 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-12
-- Move modcluster from /usr/sbin to /usr/libexec
-- Implement support for Cluster Suite 5
-- Don't auto-start modclusterd after installation, do it manually
-
-* Wed Aug 09 2006 Stanko Kupcevic <kupcevic@redhat.com> 0.8-11
-- Spinoff: separate clustermon.srpm (modcluster, cluster-snmp and
- cluster-cim) from conga.srpm
+* Wed Feb 20 2008 Ryan McCabe <rmccabe@redhat.com> 0.13.0-1
+- Initial build.
--- conga/ricci.spec.in.in 2008/02/19 18:37:39 1.1
+++ conga/ricci.spec.in.in 2008/02/20 17:07:55 1.2
@@ -129,7 +129,6 @@
fi
exit 0
-
%changelog
-* Tue Jan 22 2008 Ryan McCabe <rmccabe@redhat.com> 0.12.0-0
-- Empty
+* Wed Feb 20 2008 Ryan McCabe <rmccabe@redhat.com> 0.13.0-1
+- Initial build.
--- conga/make/version.in 2007/10/09 20:24:42 1.34
+++ conga/make/version.in 2008/02/20 17:07:55 1.35
@@ -1,6 +1,2 @@
-VERSION=0.12.0
-RELEASE=1_UNRELEASED
-# Remove "_UNRELEASED" at release time.
-# Put release num at the beggining,
-# so that after it gets released, it has
-# seniority over UNRELEASED one
+VERSION=0.13.0
+RELEASE=1
--- conga/ricci/Makefile 2008/02/19 18:37:40 1.15
+++ conga/ricci/Makefile 2008/02/20 17:07:55 1.16
@@ -34,8 +34,8 @@
${MAKE} -C modules install
${MAKE} -C init.d install
${MAKE} -C pam.d install
- ${MAKE} -C docs install
${INSTALL_DIR} ${docdir}/ricci-${VERSION}/
+ ${MAKE} -C docs install
${INSTALL_FILE} COPYING ${docdir}/ricci-${VERSION}/
install_clustermon:
--- conga/ricci/docs/Makefile 2008/02/19 18:37:40 1.1
+++ conga/ricci/docs/Makefile 2008/02/20 17:07:55 1.2
@@ -1,3 +1,32 @@
+################################################################################
+##
+## Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.
+##
+## This copyrighted material is made available to anyone wishing to use,
+## modify, copy, or redistribute it subject to the terms and conditions
+## of the GNU General Public License v.2.
+##
+################################################################################
+
+include ../make/version.in
+include ../make/defines.mk
+
all:
install:
+ $(INSTALL_FILE) cluster_api.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) logging_api.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) modules_common.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) modules.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) reboot_api.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) ricci_api.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) rpm_api.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) service_api.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) storage_api.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) storage-bds.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) storage-bd_template.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) storage-content.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) storage-content_template.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) storage-mappers.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) storage-mapper_template.html ${docdir}/ricci-${VERSION}/
+ $(INSTALL_FILE) variables.html ${docdir}/ricci-${VERSION}/
--- conga/ricci/init.d/ricci 2008/02/19 22:49:30 1.14
+++ conga/ricci/init.d/ricci 2008/02/20 17:07:55 1.15
@@ -73,8 +73,13 @@
}
ricci_status() {
- status -p "$PIDFILE" "$RICCID"
- ricci_up=$?
+ if [ -f "$PIDFILE" ]; then
+ status -p "$PIDFILE" "$RICCID"
+ ricci_up=$?
+ else
+ status "$RICCID"
+ ricci_up=$?
+ fi
return $ricci_up
}
@@ -95,7 +100,7 @@
max_wait=10
cur_wait=0
- while [ $ret -eq 0 ] && [ $cur_wait -lt $max_wait ]; do
+ while [ "$ret" -eq 0 ] && [ $cur_wait -lt $max_wait ]; do
sleep 1
cur_wait=`expr $cur_wait + 1`
ricci_status >& /dev/null
@@ -107,21 +112,19 @@
if [ "$ret" -ne 0 ]; then
rm -f -- "$PIDFILE" "$LOCKFILE"
- /usr/bin/logger -t "$RICCID" -- "shutdown succeeded"
return 0
fi
- /usr/bin/logger -t "$RICCID" -- "shutdown failed"
return 1
}
case $1 in
start)
service messagebus status >&/dev/null
- if [ $? -ne 0 ]; then
+ if [ "$?" -ne 0 ]; then
service messagebus start
service messagebus status >&/dev/null
- if [ $? -ne 0 ]; then
+ if [ "$?" -ne 0 ]; then
/usr/bin/logger -t "$RICCID" -- "messagebus startup failed"
failure "not starting $RICCID"
exit 1
@@ -129,10 +132,10 @@
fi
service oddjobd status >&/dev/null
- if [ $? -ne 0 ]; then
+ if [ "$?" -ne 0 ]; then
service oddjobd start
service oddjobd status >&/dev/null
- if [ $? -ne 0 ]; then
+ if [ "$?" -ne 0 ]; then
/usr/bin/logger -t "$RICCID" -- "oddjob startup failed"
failure "not starting $RICCID"
exit 1
@@ -140,18 +143,20 @@
fi
service saslauthd start >&/dev/null
+
ssl_certs_ok
- if [ $? -ne 0 ] ; then
+ if [ "$?" -ne 0 ] ; then
generate_ssl_certs
fi
+
check_ricci_lockfiles
NewUID=`grep "^$RUNASUSER:" /etc/passwd | cut -d: -f3`
echo -n $"Starting $ID: "
daemon "$RICCID" -u "$NewUID"
echo
- rtrn=$?
+ ret=$?
- if [ $rtrn -eq 0 ]; then
+ if [ "$ret" -eq 0 ]; then
touch -- "$LOCKFILE"
/usr/bin/logger -t $RICCID -- "startup succeeded"
else
@@ -162,39 +167,45 @@
restart)
$0 stop
$0 start
- rtrn=$?
+ ret=$?
;;
status)
ricci_status
- rtrn=$?
+ ret=$?
;;
stop)
echo -n "Shutting down $ID: "
ricci_stop
+ ret=$?
+ if [ "$ret" -eq 0 ]; then
+ /usr/bin/logger -t "$RICCID" -- "shutdown succeeded"
+ else
+ /usr/bin/logger -t "$RICCID" -- "shutdown failed"
+ fi
echo
;;
condrestart)
- if [ -f ${PIDFILE} ] ; then
+ if [ -f "$PIDFILE" ]; then
$0 restart
- rtrn=$?
+ ret=$?
fi
;;
try-restart)
- rtrn=3
+ ret=3
;;
reload)
- rtrn=3
+ ret=3
;;
*)
echo "Usage: $0 {start|stop|status|restart|condrestart|reload}"
- rtrn=3
+ ret=3
;;
esac
-exit $rtrn
+exit $ret
--- conga/ricci/modules/cluster/clumon/init.d/modclusterd 2008/01/02 20:47:35 1.5
+++ conga/ricci/modules/cluster/clumon/init.d/modclusterd 2008/02/20 17:07:55 1.6
@@ -7,7 +7,7 @@
# any later version.
#
# description: Starts and stops Ricci Cluster Module - cluster monitor
-# chkconfig: 2345 99 01
+# chkconfig: - 99 01
#
# Source function library
@@ -37,66 +37,122 @@
# If we're not configured, then don't start anything.
#
[ "${NETWORKING}" = "yes" ] || exit 1
-#[ -f "$CFG_FILE" ] || exit 0
+modclusterd_status() {
+ if [ -f "$PIDFILE" ]; then
+ status -p "$PIDFILE" "$MODCLUSTERD"
+ ret=$?
+ else
+ status "$MODCLUSTERD"
+ ret=$?
+ fi
+ return $ret
+}
+
+check_modclusterd_lockfiles() {
+ modclusterd_status >& /dev/null
+ ret=$?
+ if [ "$ret" -eq 1 ] || [ "$ret" -eq 2 ]; then
+ # stale pid and/or lockfile
+ rm -f -- "$PIDFILE" "$LOCKFILE"
+ fi
+ return 0
+}
+
+modclusterd_stop() {
+ modclusterd_status >& /dev/null
+ ret=$?
+
+ if [ "$ret" -ne 0 ]; then
+ # already stopped - no error
+ check_modclusterd_lockfiles
+ return 0
+ fi
+
+ killproc "$MODCLUSTERD" SIGTERM
+
+ modclusterd_status >& /dev/null
+ ret=$?
+
+ max_wait=10
+ cur_wait=0
+ while [ "$ret" -eq 0 ] && [ $cur_wait -lt $max_wait ]; do
+ sleep 1
+ cur_wait=`expr $cur_wait + 1`
+ modclusterd_status >& /dev/null
+ ret=$?
+ done
+
+ modclusterd_status >& /dev/null
+ ret=$?
+
+ if [ "$ret" -ne 0 ]; then
+ rm -f -- "$PIDFILE" "$LOCKFILE"
+ return 0
+ fi
+
+ return 1
+}
case $1 in
start)
echo -n $"Starting $ID: "
- daemon $MODCLUSTERD
- rtrn=$?
- if [ $rtrn -eq 0 ]; then
- touch $LOCKFILE
- /usr/bin/logger -t $MODCLUSTERD "startup succeeded"
+ check_modclusterd_lockfiles
+ daemon "$MODCLUSTERD"
+ ret=$?
+ if [ "$ret" -eq 0 ]; then
+ touch -- "$LOCKFILE"
+ /usr/bin/logger -t "$MODCLUSTERD" -- "startup succeeded"
else
- /usr/bin/logger -t $MODCLUSTERD "startup failed"
- rtrn=1
+ /usr/bin/logger -t "$MODCLUSTERD" -- "startup failed"
+ ret=1
fi
echo
;;
restart)
$0 stop
- sleep 8
$0 start
- rtrn=$?
+ ret=$?
;;
status)
- status $MODCLUSTERD
- rtrn=$?
+ modclusterd_status
+ ret=$?
;;
stop)
echo -n "Shutting down $ID: "
- killproc $MODCLUSTERD SIGTERM
- rtrn=$?
- if [ $rtrn -eq 0 ]; then
- rm -f $PIDFILE
- rm -f $LOCKFILE
- /usr/bin/logger -t $MODCLUSTERD "shutdown succeeded"
+ modclusterd_stop
+ ret=$?
+ if [ "$ret" -eq 0 ]; then
+ /usr/bin/logger -t "$MODCLUSTERD" -- "shutdown succeeded"
else
- /usr/bin/logger -t $MODCLUSTERD "shutdown failed"
- rtrn=1
+ /usr/bin/logger -t "$MODCLUSTERD" -- "shutdown failed"
+ ret=1
fi
echo
;;
condrestart)
- if [ -f ${PIDFILE} ] ; then
+ if [ -f "$PIDFILE" ]; then
$0 restart
- rtrn=$?
+ ret=$?
fi
;;
+ try-restart)
+ ret=3
+ ;;
+
reload)
- rtrn=3
+ ret=3
;;
*)
echo $"Usage: $0 {start|stop|reload|restart|status}"
- rtrn=3
+ ret=3
;;
esac
-exit $rtrn
+exit $ret
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Cluster-devel] conga ./clustermon.spec.in.in ./ricci.spec.in. ...
@ 2008-03-14 21:15 rmccabe
0 siblings, 0 replies; 4+ messages in thread
From: rmccabe @ 2008-03-14 21:15 UTC (permalink / raw)
To: cluster-devel.redhat.com
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
--- conga/clustermon.spec.in.in 2008/02/20 17:23:54 1.37
+++ conga/clustermon.spec.in.in 2008/03/14 21:15:44 1.38
@@ -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
--- conga/ricci.spec.in.in 2008/03/14 20:21:16 1.4
+++ conga/ricci.spec.in.in 2008/03/14 21:15:44 1.5
@@ -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
--- conga/luci/site/luci/Extensions/LuciClusterActions.py 2008/03/05 23:08:58 1.10
+++ conga/luci/site/luci/Extensions/LuciClusterActions.py 2008/03/14 21:15:44 1.11
@@ -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:
--- conga/luci/site/luci/Extensions/ricci_communicator.py 2008/01/02 21:00:32 1.32
+++ conga/luci/site/luci/Extensions/ricci_communicator.py 2008/03/14 21:15:45 1.33
@@ -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:
--- conga/ricci/modules/cluster/clumon/src/common/Cluster.cpp 2008/01/02 20:47:36 1.10
+++ conga/ricci/modules/cluster/clumon/src/common/Cluster.cpp 2008/03/14 21:15:45 1.11
@@ -25,7 +25,8 @@
#include <stdio.h>
extern "C" {
-# include <libcman.h>
+ #include <limits.h>
+ #include <libcman.h>
}
using namespace std;
--- conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2008/01/02 20:47:36 1.22
+++ conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp 2008/03/14 21:15:45 1.23
@@ -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) {
--- conga/ricci/modules/storage/ContentFS.cpp 2007/09/11 02:45:28 1.6
+++ conga/ricci/modules/storage/ContentFS.cpp 2008/03/14 21:15:45 1.7
@@ -28,6 +28,7 @@
#include "BDFactory.h"
#include "defines.h"
#include "utils.h"
+#include <algorithm>
using namespace std;
--- conga/ricci/modules/storage/ExtendedFS.cpp 2007/09/11 02:45:28 1.9
+++ conga/ricci/modules/storage/ExtendedFS.cpp 2008/03/14 21:15:45 1.10
@@ -27,8 +27,9 @@
#include "UMountError.h"
#include "FileMagic.h"
-
+#include <algorithm>
#include <iostream>
+
using namespace std;
--- conga/ricci/modules/storage/Mapper.cpp 2007/09/11 02:45:28 1.4
+++ conga/ricci/modules/storage/Mapper.cpp 2008/03/14 21:15:45 1.5
@@ -26,6 +26,7 @@
#include "BDFactory.h"
#include "MapperFactory.h"
#include "MidAir.h"
+#include <algorithm>
using namespace std;
--- conga/ricci/modules/storage/MountHandler.cpp 2008/01/02 20:47:37 1.9
+++ conga/ricci/modules/storage/MountHandler.cpp 2008/03/14 21:15:45 1.10
@@ -37,8 +37,9 @@
#include <sys/file.h>
#include <errno.h>
-
+#include <algorithm>
#include <iostream>
+
using namespace std;
--- conga/ricci/modules/storage/PTSource.cpp 2007/09/11 02:45:28 1.3
+++ conga/ricci/modules/storage/PTSource.cpp 2008/03/14 21:15:45 1.4
@@ -25,6 +25,7 @@
#include "PartitionTable.h"
#include "parted_wrapper.h"
+#include <algorithm>
using namespace std;
--- conga/ricci/modules/storage/PV.cpp 2007/09/11 02:45:28 1.7
+++ conga/ricci/modules/storage/PV.cpp 2008/03/14 21:15:45 1.8
@@ -26,6 +26,7 @@
#include "MapperFactory.h"
#include "utils.h"
#include "LVMClusterLockingError.h"
+#include <algorithm>
using namespace std;
--- conga/ricci/modules/storage/Partition.cpp 2007/09/11 02:45:28 1.4
+++ conga/ricci/modules/storage/Partition.cpp 2008/03/14 21:15:45 1.5
@@ -30,6 +30,7 @@
#include "ContentExtendedPartition.h"
#include "PV.h"
+#include <algorithm>
using namespace std;
--- conga/ricci/modules/storage/PartitionTable.cpp 2007/09/11 02:45:28 1.6
+++ conga/ricci/modules/storage/PartitionTable.cpp 2008/03/14 21:15:45 1.7
@@ -28,7 +28,7 @@
#include "MapperFactory.h"
#include "utils.h"
-
+#include <algorithm>
#include <iostream>
--- conga/ricci/modules/storage/parted_wrapper.cpp 2008/01/30 17:58:05 1.13
+++ conga/ricci/modules/storage/parted_wrapper.cpp 2008/03/14 21:15:45 1.14
@@ -24,8 +24,9 @@
#include "parted_wrapper.h"
#include "utils.h"
-
+#include <algorithm>
#include <iostream>
+
using namespace std;
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Cluster-devel] conga ./clustermon.spec.in.in ./ricci.spec.in. ...
@ 2008-03-28 1:17 rmccabe
0 siblings, 0 replies; 4+ messages in thread
From: rmccabe @ 2008-03-28 1:17 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2008-03-28 01:17:12
Modified files:
. : clustermon.spec.in.in ricci.spec.in.in
make : version.in
Log message:
Fix bz433678
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/clustermon.spec.in.in.diff?cvsroot=cluster&r1=1.40&r2=1.41
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci.spec.in.in.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/make/version.in.diff?cvsroot=cluster&r1=1.35&r2=1.36
--- conga/clustermon.spec.in.in 2008/03/19 20:09:49 1.40
+++ conga/clustermon.spec.in.in 2008/03/28 01:17:11 1.41
@@ -64,7 +64,7 @@
Group: System Environment/Base
Summary: Red Hat Enterprise Linux Cluster Suite - remote management
-Requires: cman oddjob dbus openssl libxml2
+Requires: cman oddjob dbus openssl
Requires: initscripts util-linux
Requires(post): chkconfig initscripts util-linux
Requires(preun): chkconfig initscripts
--- conga/ricci.spec.in.in 2008/03/19 20:09:49 1.7
+++ conga/ricci.spec.in.in 2008/03/28 01:17:11 1.8
@@ -17,7 +17,7 @@
Summary: Remote Management System - Managed Station
Summary: Remote Cluster and Storage Management System
Source0: %{name}-%{version}.tar.gz
-Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel >= 2.4.1
BuildRequires: glibc-devel gcc-c++ libxml2-devel sed
@@ -27,7 +27,7 @@
Requires: initscripts
Requires: oddjob dbus openssl pam cyrus-sasl >= 2.1
-Requires: sed util-linux file libxml2 libcap
+Requires: sed util-linux file
Requires: modcluster >= 0.10.0
# modstorage
Requires: parted util-linux
@@ -127,4 +127,8 @@
%changelog
* Wed Feb 20 2008 Ryan McCabe <rmccabe@redhat.com> 0.13.0-1
-- Initial build.
+ - Initial build.
+
+* Wed Mar 26 2008 Chris Feist <cfeist@redhat.com> 0.13.0-2
+ - Don't require cap and xml libraries (RPM will find them)
+ - Fix buildroot to meet Fedora standard
--- conga/make/version.in 2008/02/20 17:07:55 1.35
+++ conga/make/version.in 2008/03/28 01:17:11 1.36
@@ -1,2 +1,2 @@
VERSION=0.13.0
-RELEASE=1
+RELEASE=2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Cluster-devel] conga ./clustermon.spec.in.in ./ricci.spec.in. ...
@ 2008-06-02 15:14 rmccabe
0 siblings, 0 replies; 4+ messages in thread
From: rmccabe @ 2008-06-02 15:14 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2008-06-02 15:14:04
Modified files:
. : clustermon.spec.in.in ricci.spec.in.in
make : version.in
ricci/modules/storage: Makefile
Log message:
Fix build for F10
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/clustermon.spec.in.in.diff?cvsroot=cluster&r1=1.43&r2=1.44
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci.spec.in.in.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/make/version.in.diff?cvsroot=cluster&r1=1.37&r2=1.38
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Makefile.diff?cvsroot=cluster&r1=1.16&r2=1.17
--- conga/clustermon.spec.in.in 2008/05/12 15:16:04 1.43
+++ conga/clustermon.spec.in.in 2008/06/02 15:14:03 1.44
@@ -182,5 +182,5 @@
%changelog
-* Wed Feb 20 2008 Ryan McCabe <rmccabe@redhat.com> 0.13.0-1
+* Tue May 20 2008 Ryan McCabe <rmccabe@redhat.com> 0.13.0-3
- Initial build.
--- conga/ricci.spec.in.in 2008/03/28 01:18:51 1.9
+++ conga/ricci.spec.in.in 2008/06/02 15:14:03 1.10
@@ -126,6 +126,12 @@
exit 0
%changelog
+* Mon Jun 02 2008 Ryan McCabe <rmccabe@redhat.com> 0.13.0-4
+ - No longer need -lgroup with the new cman packages.
+
+* Wed May 20 2008 Ryan McCabe <rmccabe@redhat.com> 0.13.0-3
+ - Initial build
+
* Wed Mar 26 2008 Chris Feist <cfeist@redhat.com> 0.13.0-2
- Don't require cap and xml libraries (RPM will find them)
- Fix buildroot to meet Fedora standard
--- conga/make/version.in 2008/04/28 03:56:50 1.37
+++ conga/make/version.in 2008/06/02 15:14:03 1.38
@@ -1,2 +1,2 @@
VERSION=0.13.0
-RELEASE=3
+RELEASE=4
--- conga/ricci/modules/storage/Makefile 2008/01/02 20:47:37 1.16
+++ conga/ricci/modules/storage/Makefile 2008/06/02 15:14:03 1.17
@@ -56,7 +56,7 @@
INCLUDE +=
CXXFLAGS += -DPARANOIA=$(PARANOID)
-LDFLAGS += -lgroup -lmagic
+LDFLAGS += -lmagic
ifeq ($(PARANOID), 1)
LDFLAGS += ${top_srcdir}/common/paranoid/*.o
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-02 15:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-14 21:15 [Cluster-devel] conga ./clustermon.spec.in.in ./ricci.spec.in. rmccabe
-- strict thread matches above, loose matches on Subject: below --
2008-06-02 15:14 rmccabe
2008-03-28 1:17 rmccabe
2008-02-20 17:07 rmccabe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).