Skip to contentSkip to conversation

conga ./clustermon.spec.in.in luci/site/luci/E ...

Cluster-devel [email protected] 1 participant 1 message Oct 10, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL4
Changes by: rmccabe at sourceware.org 2007-10-10 18:10:38

Modified files:
. : clustermon.spec.in.in
luci/site/luci/Extensions: LuciClusterActions.py
make : version.in
ricci/modules/cluster/clumon/init.d: modclusterd ricci/modules/cluster/clumon/src/cim-provider: Makefile ricci/modules/cluster/clumon/src/common: Cluster.cpp
ClusterMonitor.cpp Node.cpp Service.cpp
ricci/modules/cluster/clumon/src/daemon: Communicator.cpp
Communicator.h Makefile Monitor.cpp Monitor.h Peer.cpp Peer.h main.cpp
ricci/modules/cluster/clumon/src/include: Cluster.h
ClusterMonitor.h clumond_globals.h
ricci/modules/cluster/clumon/src/snmp-agent: Makefile

Log message:
Fix bz326571: Conga displays quorum status incorrectly when qdisk is used

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/clustermon.spec.in.in.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.25.2.7&r2=1.25.2.8
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/LuciClusterActions.py.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.4.2.2&r2=1.4.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/make/version.in.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.28.2.6&r2=1.28.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/init.d/modclusterd.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.2&r2=1.2.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/cim-provider/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.4&r2=1.4.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/common/Cluster.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.6&r2=1.6.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/common/ClusterMonitor.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.2&r2=1.2.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/common/Node.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.4&r2=1.4.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/common/Service.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3&r2=1.3.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Communicator.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.4&r2=1.4.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Communicator.h.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3&r2=1.3.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.6&r2=1.6.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.13.2.1&r2=1.13.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Monitor.h.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.4.1&r2=1.5.4.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Peer.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3&r2=1.3.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Peer.h.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.2&r2=1.2.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/main.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.4&r2=1.4.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/include/Cluster.h.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.6&r2=1.6.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/include/ClusterMonitor.h.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.2&r2=1.2.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/include/clumond_globals.h.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1&r2=1.1.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/snmp-agent/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3.4.1&r2=1.3.4.2

clustermon.spec.in.in +6 -2
@@ -29,10 +29,11 @@
 Source0: %{name}-%{version}.tar.gz
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-ExcludeArch: ppc64
+ExcludeArch: ppc s390 s390x
 BuildRequires: glibc-devel gcc-c++ libxml2-devel
 BuildRequires: openssl-devel dbus-devel pam-devel pkgconfig
 BuildRequires: net-snmp-devel tog-pegasus-devel
+BuildRequires: cman-devel
 
 %description
 This package contains Red Hat Enterprise Linux Cluster Suite
@@ -193,8 +194,11 @@
 ###  changelog ###
 
 
-
 %changelog
+* Thu Oct 10 2007 Ryan McCabe <[email protected]> 0.11.0-2
+- Fix bz326571: Conga displays quorum status incorrectly when qdisk is used
+- Resolves: bz326571
+
 * Thu Aug 09 2007 Ryan McCabe <[email protected]> 0.11.0-1
 - Merge in fixes from the RHEL5 code base.
 - Fix bz241417 (Conga tries to configurage cluster snaps, though they are not available.)
luci/site/luci/Extensions/LuciClusterActions.py +3 -3
@@ -601,10 +601,10 @@
 	if rc is None:
 		if LUCI_DEBUG_MODE is True:
 			luci_log.debug_verbose('FNF0: no ricci to fence %s for cluster %s' \
-				% (nodename_resolved, clustername))
+				% (nodename, clustername))
 		return None
 			
-	batch_number, result = rq.nodeFence(rc, nodename_resolved)
+	batch_number, result = rq.nodeFence(rc, nodename)
 	if batch_number is None or result is None:
 		if LUCI_DEBUG_MODE is True:
 			luci_log.debug_verbose('FNF1: batch_number and/or result is None')
@@ -614,7 +614,7 @@
 		set_node_flag(self, clustername, rc.hostname(),
 			str(batch_number), NODE_FENCE,
 			'Node "%s" is being fenced by node "%s"' \
-				% (nodename_resolved, rc.hostname()))
+				% (nodename, rc.hostname()))
 	except Exception, e:
 		if LUCI_DEBUG_MODE is True:
 			luci_log.debug_verbose('FNF2: failed to set flags: %r %s' \
make/version.in +1 -1
@@ -1,5 +1,5 @@
 VERSION=0.11.0
-RELEASE=1
+RELEASE=2
 # Remove "_UNRELEASED" at release time.
 # Put release num at the beggining, 
 # so that after it gets released, it has 
ricci/modules/cluster/clumon/init.d/modclusterd +30 -30

107 lines not on this page · raw message

ricci/modules/cluster/clumon/src/cim-provider/Makefile +3 -3
@@ -54,7 +54,7 @@
 
 INCLUDE      += -I ../include 
 CXXFLAGS     += $(PEGASUS_CXXFLAGS)
-LDFLAGS      += -shared -ldl -lcrypt ../common/*.o
+LDFLAGS      += -shared ../common/*.o -ldl -lcrypt -lcman
 
 
 OBJECTS = ClusterProviderMain.o ClusterProvider.o
@@ -82,7 +82,7 @@
 
 
 $(TARGET): $(OBJECTS)
-	$(CXX) $(LDFLAGS) -o $@ $(OBJECTS)
+	$(CXX) -o $@ $(OBJECTS) $(LDFLAGS)
 
 $(TARGET_TEST): clusterCIM_test.*
-	$(CXX) $(CXXFLAGS) -lpegcommon -lpegclient -lpthread -lcrypt -o $@ [email protected] 
+	$(CXX) $(CXXFLAGS) -lpegcommon -lpegclient -lpthread -lcrypt -lcman -o $@ [email protected] 
ricci/modules/cluster/clumon/src/common/Cluster.cpp +405 -307

793 lines not on this page · raw message

ricci/modules/cluster/clumon/src/common/ClusterMonitor.cpp +63 -61

147 lines not on this page · raw message

ricci/modules/cluster/clumon/src/common/Node.cpp +57 -56

163 lines not on this page · raw message

ricci/modules/cluster/clumon/src/common/Service.cpp +33 -37

122 lines not on this page · raw message

ricci/modules/cluster/clumon/src/daemon/Communicator.cpp +232 -201

482 lines not on this page · raw message

ricci/modules/cluster/clumon/src/daemon/Communicator.h +53 -61

141 lines not on this page · raw message

ricci/modules/cluster/clumon/src/daemon/Makefile +2 -2
@@ -21,7 +21,7 @@
 
 INCLUDE     += -I ../include 
 CXXFLAGS    += 
-LDFLAGS     += ../common/*.o
+LDFLAGS     += ../common/*.o -lcman
 
 
 all: ${TARGET}
@@ -43,4 +43,4 @@
 *.o: *.h
 
 $(TARGET): $(OBJECTS)
-	$(CXX) -o $@ $(LDFLAGS) $(OBJECTS)
+	$(CXX) -o $@ $(OBJECTS) $(LDFLAGS)
ricci/modules/cluster/clumon/src/daemon/Monitor.cpp +862 -725

965 lines not on this page · raw message

ricci/modules/cluster/clumon/src/daemon/Monitor.h +70 -72

142 lines not on this page · raw message

ricci/modules/cluster/clumon/src/daemon/Peer.cpp +60 -60

120 lines not on this page · raw message

ricci/modules/cluster/clumon/src/daemon/Peer.h +45 -49

94 lines not on this page · raw message

ricci/modules/cluster/clumon/src/daemon/main.cpp +207 -175

382 lines not on this page · raw message

ricci/modules/cluster/clumon/src/include/Cluster.h +116 -127

243 lines not on this page · raw message

ricci/modules/cluster/clumon/src/include/ClusterMonitor.h +29 -34

63 lines not on this page · raw message

ricci/modules/cluster/clumon/src/include/clumond_globals.h +21 -25

46 lines not on this page · raw message

ricci/modules/cluster/clumon/src/snmp-agent/Makefile +2 -2

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.