]>
git.proxmox.com Git - mirror_corosync.git/log
Steven Dake [Fri, 14 May 2010 08:01:03 +0000 (08:01 +0000)]
Merge patch from Sato Yuki which fixes corosync-cfgtool -r
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2831
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 14 May 2010 02:08:30 +0000 (02:08 +0000)]
cov 10396: prevent a leak under error conditions (lib/sam.c)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2830
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 14 May 2010 02:08:02 +0000 (02:08 +0000)]
cov 10378: fix syntax error.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2829
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 14 May 2010 02:07:39 +0000 (02:07 +0000)]
cov 10385: assigning signed int to unsigned variable
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2828
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 14 May 2010 02:06:30 +0000 (02:06 +0000)]
cov 10384: better error handling from accept()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2827
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 14 May 2010 02:06:00 +0000 (02:06 +0000)]
cov 10383: impove the error handling after socket()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2826
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 14 May 2010 02:05:32 +0000 (02:05 +0000)]
cov 10382: improve error handling around open()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2825
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 14 May 2010 02:04:53 +0000 (02:04 +0000)]
cov 10381: check result of open()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2824
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Fri, 14 May 2010 02:03:49 +0000 (02:03 +0000)]
cov 10379 &10380: check result of open before calling ftruncate.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2823
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 13 May 2010 11:20:49 +0000 (11:20 +0000)]
SAM integration of quorum
Patch adds integration of SAM and quorum, so it's now possible to use
SAM_RECOVERY_POLICY_QUORUM_QUIT or SAM_RECOVERY_POLICY_QUORUM_RESTART
recovery policy. With these policies, sam_start will block until
corosync is quorate. If quorum is lost during health checking, recovery
action is taken.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2822
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 13 May 2010 11:19:52 +0000 (11:19 +0000)]
Allow call sam_warn_signal_set after sam_register
Patch fixes situation, when user want to change warn signal after
call of sam_register function. This was not possible, because parent
process never got new value from child.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2821
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 13 May 2010 04:42:06 +0000 (04:42 +0000)]
Bump version to 1.2.2.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2818
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 13 May 2010 04:36:42 +0000 (04:36 +0000)]
logsys rework to deal with memory corruption around debug:on configurations.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2816
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 12 May 2010 23:13:51 +0000 (23:13 +0000)]
autobuild: clean up the example config before installing
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2815
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 12 May 2010 09:25:58 +0000 (09:25 +0000)]
cpg: fix unitialized variable
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2814
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 12 May 2010 09:25:18 +0000 (09:25 +0000)]
CTS: fix test_agent start/stop errors
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2813
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 12 May 2010 09:24:43 +0000 (09:24 +0000)]
CTS: fix test service configuration
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2812
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 12 May 2010 09:24:03 +0000 (09:24 +0000)]
configure: minor change to get tab completion to work
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2811
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 5 May 2010 09:38:14 +0000 (09:38 +0000)]
autobuild: hard code mock path to /usr/bin/mock
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2808
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 5 May 2010 09:07:20 +0000 (09:07 +0000)]
set execute bit on autobuild.sh
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2807
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 5 May 2010 04:42:26 +0000 (04:42 +0000)]
spec: fix some errors from rpmbuild & rpmlint
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2806
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 5 May 2010 04:37:43 +0000 (04:37 +0000)]
testcpg: fix a format string compile warning.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2805
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 5 May 2010 04:36:56 +0000 (04:36 +0000)]
log: remove "Member left/join" log messages
No longer needed by CTS and likely to be very noisy
with large node numbers.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2804
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 4 May 2010 04:42:40 +0000 (04:42 +0000)]
cpg: fix sync'ing the downlist.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2801
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 4 May 2010 04:25:31 +0000 (04:25 +0000)]
check and discard unknown messages
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2800
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 4 May 2010 00:56:25 +0000 (00:56 +0000)]
diags: add a mechanism to trigger the writing the flight data
trigger the dumping of flight data using:
corosync-objctl -w runtime.blackbox.dump_flight_data=anything
trigger the dumping of state using:
corosync-objctl -w runtime.blackbox.dump_state=anything
then read the flight data as usual:
corosync-fplay
This patch includes a wrapper script called:
corosync-blackbox
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2799
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 4 May 2010 00:50:24 +0000 (00:50 +0000)]
Fix "mock --with testagents"
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2798
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Mon, 3 May 2010 10:59:00 +0000 (10:59 +0000)]
CTS: reproduce David's bug
This patch creates a test case the runs the following steps:
1: start all nodes
2: isolate node n1
3: Kill corosync on n1
4: unisolate node n1
5: start corosync on n1
6: start cpg on all nodes
7: isolate node n1
8: Kill corosync on n1
9: unisolate node n1
10: start corosync on n1
11: Waiting for config change on n2
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2797
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Sun, 2 May 2010 10:51:30 +0000 (10:51 +0000)]
Add autobuild.sh : for buildbot to run CTS
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2796
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 30 Apr 2010 05:18:02 +0000 (05:18 +0000)]
The retransmit token storage area is an improper type of an array of pointers
rather then a pointer to a buffer.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2795
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 30 Apr 2010 05:15:41 +0000 (05:15 +0000)]
When a message is retransmitted, a memmove operation is done to remove the
newly retransmitted entry from the list. It is possible this memmove operation
can buffer overflow because it has an invalid length calculation fixed by this
revision.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2794
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 30 Apr 2010 05:14:08 +0000 (05:14 +0000)]
Allow maximum entries in the retransmit queue when recovery takes place.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2793
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 30 Apr 2010 05:12:26 +0000 (05:12 +0000)]
Save the ring id and restore it properly when the recovery operation fails as
a result of a new gather or token loss.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2792
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Thu, 29 Apr 2010 15:39:06 +0000 (15:39 +0000)]
Fix name of fail_recv_const in corosync.conf man page
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2791
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Wed, 28 Apr 2010 16:00:55 +0000 (16:00 +0000)]
Fix parallel build of libs in lib directory
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2790
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 26 Apr 2010 16:16:20 +0000 (16:16 +0000)]
Handle POLLNVAL in coroipcc
Old code in coroipcc doesn't handle POLLNVAL. It can happen, that some
applications (for example fenced) will stuck forever.
Also poll result is now handled more correctly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2789
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Fri, 23 Apr 2010 08:03:05 +0000 (08:03 +0000)]
Handle some valgrind errors
- Memset for res_setup variable in coroipcs:req_setup_send
- Two memset in logsys for buffers
- Problem in corosync_totem_stats_updater where avg_token_holdtime has
size of avg_backlog_calc
- corosync_totem_stats_init where avg_backlog_calc is 32 bits (not 64)
- objdb problem if new_valie_len != object->value_len. In such case
newly allocated memory is not initialized and in some situations,
value_len is not updated.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2787
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 22 Apr 2010 22:20:09 +0000 (22:20 +0000)]
select a new sync member if the node with the lowest nodeid has left.
Problem:
Under certain circumstances cpg does not send group leave messages.
With a big token timeout (tested with token == 5min).
1 start all nodes
2 start ./test/testcpg on all nodes
2 go to the node with the lowest nodeid
3 ifconfig <int> down && killall -9 corosync && /etc/init.d/corosync restart && ./testcpg
4 the other nodes will not get the cpg leave event
5 testcpg reports an extra cpg group (basically one was not removed)
Solution:
If a member gets removed using the new trans_list and
that member is the node used for syncing (lowest nodeid)
then the next lowest node needs to be chosen for syncing.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2785
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 22 Apr 2010 22:18:09 +0000 (22:18 +0000)]
CTS: increase the token timeout on some tests
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2784
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 22 Apr 2010 22:16:18 +0000 (22:16 +0000)]
CTS: add CpgCfgChgOnNodeRestart
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2783
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Tue, 20 Apr 2010 12:40:48 +0000 (12:40 +0000)]
CPG model_initialize and ringid + members callback
Patch adds new function to initialize cpg, cpg_model_initialize. Model
is set of callbacks. With this function, future addions of models
should be possible without changing the ABI.
Patch also contains callback in CPG_MODEL_V1 for notification about
Totem membership changes.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2770
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Tue, 20 Apr 2010 10:32:07 +0000 (10:32 +0000)]
Support for store user data in SAM
Ability to in-memory storing of user data which survives between
instances of process.
Also ability needed ability for bi-directional communication between
child and parent is added.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2769
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Tue, 20 Apr 2010 10:08:15 +0000 (10:08 +0000)]
Fix confdb linking (add -ldl)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2768
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 20 Apr 2010 07:27:14 +0000 (07:27 +0000)]
Fix a crash in YKD
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2767
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 15 Apr 2010 23:19:23 +0000 (23:19 +0000)]
CTS: update the CTS README
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2766
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 15 Apr 2010 23:16:52 +0000 (23:16 +0000)]
CTS: make record events blocking
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2765
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 15 Apr 2010 23:15:59 +0000 (23:15 +0000)]
CTS: add context get/set tests.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2764
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 15 Apr 2010 23:05:59 +0000 (23:05 +0000)]
CTS: fix the test_agent start/stop/status mechanism.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2763
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 14 Apr 2010 23:09:57 +0000 (23:09 +0000)]
test for augtool before using it in "make check"
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2762
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 14 Apr 2010 01:43:52 +0000 (01:43 +0000)]
CTS: add quorum notifications to test agents.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2761
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 14 Apr 2010 01:43:06 +0000 (01:43 +0000)]
CTS: add simul start/stop to GenTestClasses
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2760
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 14 Apr 2010 01:42:21 +0000 (01:42 +0000)]
CTS: make the extra config tests named
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2759
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 14 Apr 2010 01:41:35 +0000 (01:41 +0000)]
CTS: add --rrp-bindaddr to enable rrp tests.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2758
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Mon, 12 Apr 2010 19:51:38 +0000 (19:51 +0000)]
When sync is aborted clear the "my_ring_id" variable.
This patch fixes crashes found by repeated pacemaker CTS SimluStart
tests. When you bring up the nodes together it can cause a lot of
configuration changes and sync gets started and aborted
lots of times.
When abort is called the ring_id is not changed which means that any
sync packet that arrive from that point on will be accepted as valid.
I have seen old barrier messages causing the processing index to increment
later causing an array out of bounds.
This patch memsets the ring_id to 0, thus causing the ring_id in the packet and
my_ring_id not to match.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2757
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 7 Apr 2010 05:04:15 +0000 (05:04 +0000)]
add comment to the man page explaining the use of port and port -1.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2756
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 2 Apr 2010 19:16:23 +0000 (19:16 +0000)]
Allow modifying POLLIN/POLLOUT state in another thread while the main thread
is blocked in poll system call.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2755
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 2 Apr 2010 00:10:43 +0000 (00:10 +0000)]
Remove problem where NULL dispatch handler functions would result in lockup
of the dispatch if they were sent by a service engine.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2754
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 1 Apr 2010 12:51:07 +0000 (12:51 +0000)]
Support for user configurable warning signal
Allow developer configure a signal to be send as a warning signal
before real SIGKILL.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2753
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 1 Apr 2010 12:35:31 +0000 (12:35 +0000)]
Support for specific libraries version
Patch adds support for changing version number of library simply by edit
lib$(LIB).verso file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2752
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 30 Mar 2010 21:38:38 +0000 (21:38 +0000)]
Add missing cts files.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2751
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 30 Mar 2010 08:23:10 +0000 (08:23 +0000)]
Fix barrier operation with syncv2 and compat:none or openais service engines.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2750
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 30 Mar 2010 07:25:38 +0000 (07:25 +0000)]
augeas: add uidgid and quorum options to lense
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2749
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jérôme Flesch [Tue, 30 Mar 2010 07:24:59 +0000 (07:24 +0000)]
Coroipcc: Make sure that coroipcc_service_connect() always return a valid cs_error_t
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2748
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 30 Mar 2010 07:20:57 +0000 (07:20 +0000)]
CTS: add votequorum test agent
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2747
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 30 Mar 2010 07:19:25 +0000 (07:19 +0000)]
objdb: fix key change notifications
1) don't send notifications if the key is the same.
2) Add key value change notifications to key_inc & key_dec
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2746
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 30 Mar 2010 07:18:10 +0000 (07:18 +0000)]
CTS: add some more confdb tests
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2745
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 30 Mar 2010 07:16:43 +0000 (07:16 +0000)]
CTS: add sam tests
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2744
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 30 Mar 2010 07:14:28 +0000 (07:14 +0000)]
CTS: add cpg_zcb tests
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2743
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 30 Mar 2010 07:11:56 +0000 (07:11 +0000)]
CTS: add a test for sync events
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2742
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 30 Mar 2010 07:09:55 +0000 (07:09 +0000)]
fix make distcheck (add corosync.aug to EXTRA_DIST
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2741
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jérôme Flesch [Fri, 26 Mar 2010 13:54:42 +0000 (13:54 +0000)]
Totemudp: Add debug logs when a call to sendmsg() fails
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2740
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 25 Mar 2010 00:58:14 +0000 (00:58 +0000)]
Make corosync exit with 0 normally and +1.. on error.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2739
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:42:09 +0000 (22:42 +0000)]
fix 'make distcheck'
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2738
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:22:40 +0000 (22:22 +0000)]
CTS: get some more code to execute.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2737
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:22:00 +0000 (22:22 +0000)]
CTS: Add a condb test agent and python tests.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2736
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:21:22 +0000 (22:21 +0000)]
CTS: Add a confdb test agent and python tests.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2735
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:20:24 +0000 (22:20 +0000)]
CTS: fix issues with new pacemaker cts
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2734
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:18:09 +0000 (22:18 +0000)]
CTS: restruct tests so we can run them with multiple configs
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2733
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:17:24 +0000 (22:17 +0000)]
Add quorum option to augeas lense
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2732
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:16:32 +0000 (22:16 +0000)]
Fix unloading of evs (service id == 0)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2731
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:15:45 +0000 (22:15 +0000)]
CTS: add service load/unload test
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2730
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:14:25 +0000 (22:14 +0000)]
Fix code coverage with lcrso's
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2729
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:13:45 +0000 (22:13 +0000)]
CTS: Add tests with more totem options.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2728
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:12:57 +0000 (22:12 +0000)]
Add crypto options to augeas lense & add make check
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2727
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 24 Mar 2010 22:12:09 +0000 (22:12 +0000)]
CTS: Add msg sha1 checking of the message body (like cpgverify)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2726
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 23 Mar 2010 21:49:46 +0000 (21:49 +0000)]
Bump version to 1.2.1.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2723
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 23 Mar 2010 17:16:39 +0000 (17:16 +0000)]
Tone down noisy logging from ipcs system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2721
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 22 Mar 2010 22:07:01 +0000 (22:07 +0000)]
Fix lockup that occurs rarely with pthread_join() is called in atexit()
handler.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2719
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 20 Mar 2010 20:08:38 +0000 (20:08 +0000)]
Fix problem where retransmissions don't occur resulting in failure to receive
condition.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2685
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 16 Mar 2010 09:53:18 +0000 (09:53 +0000)]
Fix a couple of small bugs that happen when the configuration is reloaded.
1. the reload callback was not sent to the library,
2. totem exponentially added new callbacks because the old ones were not
removed properly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2684
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 16 Mar 2010 09:51:30 +0000 (09:51 +0000)]
Add a reload callback to libconfdb.
This also increments the libconfdb version to 4.1.0
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2683
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 11 Mar 2010 00:27:04 +0000 (00:27 +0000)]
Remove warnings.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2682
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 10 Mar 2010 23:31:15 +0000 (23:31 +0000)]
add optional --with testagents to the spec file
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2681
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 10 Mar 2010 23:29:41 +0000 (23:29 +0000)]
CTS: fix buffer overrun in test agent.
Also to make debugging easier:
1) don't stop abrt
2) fix debug message
3) catch a failed mesage to the TA and fail the test.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2680
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 10 Mar 2010 23:28:06 +0000 (23:28 +0000)]
CTS: fix deletion of the tmp root for augeas
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2679
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 9 Mar 2010 22:04:06 +0000 (22:04 +0000)]
add a list of member nodes into the objdb runtime tree.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2678
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Tue, 9 Mar 2010 21:59:24 +0000 (21:59 +0000)]
tsafe: change fork() override to pthread_atfork() callbacks.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2677
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 4 Mar 2010 12:17:47 +0000 (12:17 +0000)]
Support for lib_cpg_finalize
Add support for MESSAGE_REQ_CPG_FINALIZE message. This will allow us
remove cpg_pd from list of active connections, and remove problem, when
cpg_finalize + cpg_initialize + cpg_join can result in CPG_ERR_EXIST
error.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2676
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 4 Mar 2010 12:12:24 +0000 (12:12 +0000)]
Cpg join with undelivered leave message
Patch handles situation, when on one node, one process:
- join cpg
- do same actions
- leave cpg
- join cpg again
Following sequence can (racy) end with broken process_info list.
To solve this problem, one more check is done in
message_handler_req_lib_cpg_join so if process_info with same pid and
group as new join request exists, CPG_ERR_TRY_AGAIN is returned.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2675
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 3 Mar 2010 21:52:08 +0000 (21:52 +0000)]
Fix some "make lint" problems
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2674
fd59a12c -fef9-0310-b244-
a6a79926bd2f