forked from chaos/cerebro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
3396 lines (2131 loc) · 97 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2015-01-08 Ryan Haasken <[email protected]>
* etc/cerebrod: Change end_priority to 100 - start_priority.
On a CentOS 6.5 system, the mysqld service is shut down before the
cerebrod service. However, cerebrod uses mysqld, so it should shut
down before mysqld.
This problem is due to an incorrect end_priority in the chkconfig
header in the cerebrod init script. According to
http://fedoraproject.org/wiki/Packaging:SysVInitScript#.23_chkconfig:_line
the chkconfig header in an init script should have the end_priority
equal to (100 - start_priority). The format of the chkconfig line is:
# chkconfig: <startlevellist> <startpriority> <endpriority>
The current start_priority of 95 is good because it means cerebrod
will start late. However, it should then be stopped early, so it's
end_priority should be (100 - 95) = 5.
2014-08-08 Ryan Haasken <[email protected]>
init script: Replace reload w/ force-reload for LSB compliance
The LSB says that reload should reload configuration if it's
possible to do so without restarting the service, and support for
the reload operation is optional. Previously, the init script
just restarted the service if given the "reload" argument. This
patch changes "reload" to an unsupported operation.
The LSB says that the force-reload operation must be supported,
and this operation can restart the service in order to reload
configuration. This patch adds the "force-reload" operation and
just calls Xrestart when that operation is requested.
Also added try-restart, which is the SLES equivalent of
condrestart (Red Hat). Updated the usage information to reflect
these changes.
2014-08-08 Ryan Haasken <[email protected]>
cerebrod init script: add Xrestart function and re-indent file
The cerebrod init script does not return the correct exit status
for the restart command on SLES systems. This is because the
restart case only sets RETVAL and doesn't call rc_status. This
patch fixes this issue by creating an Xrestart function which is
defined differently for RHEL vs. SLES, just like the other 'X'
functions.
Also made the two Xcondrestart functions consistent in that they
now both call "$0 restart" instead of the RHEL one calling "$0
stop; $0 start" and the SLES one calling "$0 restart".
Also updated the indentation in the file so that it consistently
uses 4 spaces instead of tab characters.
2014-08-07 Ryan Haasken <[email protected]>
* etc/cerebrod: Call Xexit at the end of the script
2014-05-23 Ryan Haasken <[email protected]>
* src/modules/metric/cerebro_metric_boottime.c (boottime_metric_setup):
Fix return on error path.
2014-05-20 Ryan Haasken <[email protected]>
* src/modules/metric/cerebro_metric_boottime.c (boottime_metric_setup):
Read entire /proc/stat when searching for btime. When searching
in /proc/stat for btime, read one line at a time, and continue
reading until the end of the file. This ensures that we will find
the line which contains the boot time of the machine. The buffer
size was left the same because some lines in /proc/stat can be
quite long.
2013-06-07 Albert Chu <[email protected]>
* tagged cerebro-1-18-1
* META, NEWS: update for release
2013-06-07 Albert Chu <[email protected]>
* src/libs/util/network_util.c (low_timeout_connect): Fix segfault
corner case.
2013-02-08 Albert Chu <[email protected]>
* tagged cerebro-1-17-1
2013-02-07 Albert Chu <[email protected]>
* Support new cerebrod_monitor_module_exclude and
cerebrod_event_module_exclude options to limit loading of specific
modules.
* META, NEWS: update for release
2013-01-31 Albert Chu <[email protected]>
* /etc/cerebro.conf: Add cerebrod_gettimeofday_workaround. Remove
cerebrod_alternate_hostname, latter which is only for debugging.
2013-01-30 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_speaker.c: Re-work gettimeofday workaround
into configuration option.
* src/libs/util/config_util.c,
src/libs/include/cerebro/cerebro_config.h,
src/cerebrod/cerebrod_config.c: Support new
cerebrod_gettimeofday_workaround configuration option.
* src/libs/wrappers/wrappers.h,
src/libs/wrappers/wrappers.c (Gettimeofday_workaround,
wrap_gettimeofday_workaround): Add new macro and function.
* man/cerebro.conf.5.in: Add cerebrod_gettimeofday_workaround
information.
* config/ac_gettimeofday_workaround.m4: Remove file.
* configure.ac, cerebro.spec.in: Update accordingly.
* Re autogen.
2013-01-10 Albert Chu <[email protected]>
* src/cerebrod_speaker.c (cerebrod_speaker): Re-work prior
gettimeofday workaround to deal with corner cases.
2012-12-11 Albert Chu <[email protected]>
* src/cerebrod_speaker.c (cerebrod_speaker): Add additional
workaround for gettimeofday problem.
* Rename --with-gettimeofday-retry to --with-gettimeofday-workaround.
2012-11-12 Albert Chu <[email protected]>
* src/libs/wrappers/wrappers.c (wrap_gettimeofday): Update log
message with more detail.
2012-11-09 Albert Chu <[email protected]>
Support gettimeofday retry configuration option to work around
issue on a number of Intel motherboards.
* config/ac_gettimeofday_retry.m4: New file
* src/libs/wrappers/wrappers.c (wrap_gettimeofday): Support
workaround.
2012-10-04 Albert Chu <[email protected]>
* META, NEWS: update for release
* tagged cerebro-1-16-1
2012-10-04 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_debug.h: New file.
* src/cerebrod/: Do not allow debug messages to output unless
running in foreground.
2012-09-26 Albert Chu <[email protected]>
* META, NEWS: update for release
* tagged cerebro-1-15-1
2012-09-25 Albert Chu <[email protected]>
* cerebrod/: Support -d and -c in production builds of cerebrod,
including useful debug flags in cerebro.conf.
* src/libs/debug/debug.h: Output more debugging information in
production builds.
2012-03-02 Albert Chu <[email protected]>
* src/libs/common/error.h, src/libs/common/error.c
(err_init_exit_value): New function.
2011-11-07 Albert Chu <[email protected]>
* META, NEWS: update for release
* tagged cerebro-1-14-1
2011-11-07 Albert Chu <[email protected]>
* Additional doc updates.
* man/cerebro.7: Removed and replaced with cerebro.7.in.
* configure.ac: Update appropriately for generated manpage.
2011-11-07 Albert Chu <[email protected]>
* META, NEWS: update for release
* tagged cerebro-1-13-1
2011-11-07 Albert Chu <[email protected]>
* Various manpage updates.
2011-10-21 Albert Chu <[email protected]>
* Update copyright years globally.
2011-07-08 Frederik Ferner <[email protected]>
* Replace literal string '/usr/lib64/cerebro' with
CEREBRO_MODULES_DIR.
2011-06-21 Albert Chu <[email protected]>
* Update for building on RHEL6. Add Makefile.in, configure,
config/, libltdl/, etc. for building straight out of the tree.
2011-05-02 Albert Chu <[email protected]>
* src/libs/modules/module_util.c: Remove accidental debug left in.
2010-12-03 Albert Chu <[email protected]>
* META, NEWS: update for release
* tagged cerebro-1-12-1
2010-12-03 Albert Chu <[email protected]>
* Update various CEREBRO_DBG error messages to CEREBRO_ERR.
2010-08-17 Albert Chu <[email protected]>
* man/cerebro.7: Fix typo.
2010-07-01 Albert Chu <[email protected]>
* META, NEWS: update for release
* tagged cerebro-1-11-1
2010-06-01 Albert Chu <[email protected]>
* /etc/cerebro.conf: New file.
* man/cerebro.conf.5.in: Minor fixes.
* Update build system appropriately for changes.
2010-04-07 Albert Chu <[email protected]>
* META, NEWS: update for release
* tagged cerebro-1-10-1
2010-04-06 Albert Chu <[email protected]>
* src/cerebrod/: Fix debug output race condition between event
server and listener threads.
2010-02-04 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_event_update.c
(cerebrod_event_modules_setup): Fix bug which did not allow
multiple events.
2010-02-04 Albert Chu <[email protected]>
* man/cerebro_module_devel.3.in: Fix typo.
2010-02-01 Albert Chu <[email protected]>
* Update copyrights globally.
2009-11-04 Albert Chu <[email protected]>
* Fix up comments/docs, i.e. != e.g.
2009-10-16 Albert Chu <[email protected]>
* src/libs/wrappers/wrappers_ltdl.c, src/libs/wrappers/wrappers.h:
Remove ltdl wrapper functions which are unused.
2009-10-16 Albert Chu <[email protected]>
* Fix RHEL6/FC11 build issues.
2009-08-11 Albert Chu <[email protected]>
* Include headers to fix portability.
2009-05-19 Albert Chu <[email protected]>
* src/libs/common/hash.h, src/libs/common/hash.c (hash_remove_if):
New function.
* src/cerebrod/cerebrod_util.c (cerebrod_rehash): Fix rehash
corner case.
2009-05-15 Albert Chu <[email protected]>
* Add comments for clarification.
2009-02-26 Albert Chu <[email protected]>
* etc/cerebrod: By default, do not have cerebrod on.
* META, NEWS: update for release
* tagged cerebro-1-9-1
2009-01-12 Albert Chu <[email protected]>
* META, NEWS: update for release
* tagged cerebro-1-8-1
2008-12-05 Albert Chu <[email protected]>
* cerebro.spec.in: Change default to not build with genders
support.
2008-09-15 Albert Chu <[email protected]>
* META, NEWS: update for release
* tagged cerebro-1-7-1
2008-09-10 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_monitor_update.h,
src/cerebrod/cerebrod_monitor_update.c: Fix list corruption race.
2008-07-11 Albert Chu <[email protected]>
* src/libs/common/hostlist.c: Update to newest lib.
2008-06-27 Albert Chu <[email protected]>
* man/Makefile.am: Fix make dist.
* META, NEWS: update for release
* tagged cerebro-1-6-1
2008-06-25 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_speaker.c (_speaker_initialize): Fix fd
race.
2008-06-24 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_config.c (_cerebrod_load_config): Make
error message output clearer.
2008-06-18 Albert Chu <[email protected]>
* etc/cerebrod: Adjust chkconfig start priority.
2008-05-16 Albert Chu <[email protected]>
* man/cerebro.conf.5.in: Fix port typos found by Py Watson
(watson30 at llnl dot gov).
2008-04-22 Albert Chu <[email protected]>
* src/libs/util/config_util.c (_cb_cerebrod_heartbeat_freq): Fix
parse issue. Found by Andrew Uselton (acuselton at lbl dot gov).
2008-04-18 Albert Chu <[email protected]>
* man/: Fix typos found by Andrew Uselton (acuselton at lbl dot gov).
2008-04-18 Albert Chu <[email protected]>
* man/cerebro.1: Rename to cerebro.7 so it is in the proper
manpage section.
* man/Makefile.am: Adjust appropriately.
2008-04-01 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_metric_controller.c (_update_metric): Fix
mem-corruption corner case.
* META, NEWS: update for release
* tagged cerebro-1-5-1
2008-03-26 Albert Chu <[email protected]>
* update copyrights in a lot of places
2008-03-28 Patrick Winnertz <[email protected]>
* man/: Tons of manpage nroff fixes.
* src/modules: debian compile fixes.
2008-03-26 Albert Chu <[email protected]>
* META, NEWS: update for release
* tagged cerebro-1-4-1
2008-01-29 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_speaker.c (_setup_metric_modules): Add
debug statement.
2008-01-29 Albert Chu <[email protected]>
* Various minor bug fixes based on code analyzer.
2008-01-25 Albert Chu <[email protected]>
* man/cerebro.conf.5.in, src/cerebrod/cerebrod_config.c,
src/cerebrod/cerebrod_speaker_data.c,
src/libs/include/cerebro/cerebro_config.h,
src/libs/include/cerebro/cerebro_constants.h,
src/libs/util/config_util.c: Support metric module exclude
options.
2008-01-04 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_speaker.c (_cerebrod_message_send): Fix
memleak.
2007-11-20 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_speaker.c (cerebrod_send_message): Remove
incorrect comment.
* src/cerebrod/cerebrod_speaker.c (_speaker_initialize): Fix
speaker initialization race.
2007-10-26 Albert Chu <[email protected]>
* src/libs/cerebro/cerebro_event.c (_setup_event_connection): Fix
default port bug.
2007-10-25 Albert Chu <[email protected]>
* man/Makefile.am: Install cerebro.1 manpage in man1 instead of
man3.
* man/cerebro.conf.5.in: Add forgotten new fields.
* man/cerebro_module_devel.3.in: Add forgotten module interface changes.
* src/libs/cerebro/cerebro.c: Fix error message corner case.
* src/libs/cerebro/cerebro_event.c (_event_value_unmarshall),
src/libs/cerebro/cerebro_metric_data.c (_metric_value_unmarshall),
src/libs/util/data_util.c (_unmarshall_data_value): Fix parsing
corner cases.
2007-10-24 Albert Chu <[email protected]>
* src/cerebro-stat/cerebro-stat.c (main): Fix minor output corner
case.
2007-10-23 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_speaker.c, src/libs/util/config_util.c:
Fix non-debug build compile bugs.
* configure.ac: Revert lib version change, since interfacea
actually didn't change.
* src/cerebrod/, src/modules/, src/libs/modules/,
src/include/cerebro/: Include module interface versioning.
* man/cerebro_module_devel.3.in: Update with new versioning
information.
* META, NEWS: update for release
* tagged cerebro-1-3-1
2007-10-22 Albert Chu <[email protected]>
* man/cerebro_module.3.in: Add event module information.
* man/cerebro.1: New manpage.
* man/cerebro.3: Removed file.
* man/Makefile.am: Update for new manpage.
* src/libs/util/config_util.c (_cb_cerebrod_alternate_hostname):
Fix corner case.
* src/libs/include/cerebro/cerebro_config.h,
src/libs/util/config_util.c (_cb_cerebrod_forward_message_config):
Accept longer strings for potential comma or hostrange inputs.
* src/libs/include/cerebro/cerebro_config.h,
src/libs/util/config_util.c, src/cerebrod/cerebrod_config.h,
src/cerebrod/cerebrod_config.c, src/cerebrod/cerebrod_listener.c:
Support of 'cerebrod_forward_host_accept' config option.
2007-10-18 Albert Chu <[email protected]>
* src/libs/modules/config_module_default.c: Removed file.
* src/libs/modules/config_module.h,
src/libs/modules/config_module.c (config_module_found): New
function.
* src/libs/util/config_util.c (_load_config_module): Do not load a
config module if one is not found.
* src/libs/modules/config_module.c (config_module_load): Do not
use a default config module.
* src/libs/modules/clusterlist_module_default.c: Removed file.
* src/libs/modules/clusterlist_module.h,
src/libs/modules/clusterlist_module.c (clusterlist_module_found):
New function.
* src/cerebrod/cerebrod_listener.c: Adjust for non-default
clusterlist module not being loaded.
* src/libs/cerebro/cerebro_clusterlist_util.h,
src/libs/cerebro/cerebro_clusterlist_util.c: Remove files.
* src/libs/cerebro/: Adjust for removal of clusterlist utility
files which were unneeded.
* src/libs/cerebro/Makefile.am, src/libs/modules/Makefile.am:
Adjust for removed files.
* src/cerebro-stat/cerebro-stat.c (_metric_value_str): Fix assert
corner case bug.
* man/cerebro_module.3.in: Tweak based on changes.
* man/cerebro.conf.5.in: Add note on shortened hostnames for
forwarding config.
* src/libs/include/cerebro/cerebro_config.h,
src/libs/util/config_util.c, src/cerebrod/cerebrod_config.c,
src/cerebrod/cerebrod_config.h, src/cerebrod/cerebrod_speaker.c:
Support cerebrod_alternate_hostname debug option.
* src/cerebrod/cerebrod_event_node_timeout_monitor.c
(cerebrod_event_node_timeout_monitor): Fix segfault corner case.
* man/cerebro.conf.5.in: Document new cerebrod_alternate_hostname
debug option.
2007-10-17 Albert Chu <[email protected]>
* DISCLAIMER.UC: New file.
* DISCALIMER: Updated with new disclaimer.
* Makefile.am, cerebro.spec.in: Add DISCLAIMER.UC.
* Fixed copyright and FSF address globally.
2007-10-16 Albert Chu <[email protected]>
* Fix typos in Copyright headers globally.
* config/Make-rpm.mk: Remove localism.
* Makefile.am: Remove use of Make-rpm.mk.
2007-10-15 Albert Chu <[email protected]>
* src/libs/include/cerebro/cerebro_config.h,
src/libs/util/config_util.c, src/cerebrod/cerebrod_config.c,
src/cerebrod/cerebrod_listener.c: Continue packet forwarding work.
* src/libs/wrappers/wrappers.h,
src/libs/wrappers/wrappers_hostlist.c: Add new hostlist wrappers.
* man/cerebro.conf.5.in: Update appropriately.
* src/cerebrod/cerebrod_speaker.c (_speaker_socket_create): Rename
to _speaker_setup_socket for consistency to other code.
2007-10-13 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_config.c,
src/cerebrod/cerebrod_listener.c: Continue packet forwarding work.
2007-10-12 Albert Chu <[email protected]>
* man/cerebro.conf.5.in, src/cerebrod/cerebrod_config.h,
src/cerebrod/cerebrod_config.c, src/cerebrod/cerebrod.c,
src/cerebrod/Makefile.am,
src/libs/include/cerebro/cerebro_config.h,
src/libs/util/config_util.c: Begin work to add cerebro packet
forwarding.
2007-10-12 Albert Chu <[email protected]>
* man/cerebro.conf.5.in, src/cerebrod/cerebrod_config.c: Support
ability for user to input hostnames for speaker and listen message
config instead of just ip addresses.
2007-10-11 Albert Chu <[email protected]>
* src/libs/include/cerebro/cerebro_config.h,
src/libs/util/config_util.c: Support new config file options
cerebro_metric_server, cerebro_event_server,
cerebrod_speak_message_config, and cerebrod_listen_message_config.
Remove support for cerebro_hostnames, cerebro_port,
cerebrod_listen_ips, cerebrod_listen_network_interfaces,
cerbrod_listen_ports, cerebrod_message_source_port,
cerebrod_message_destination_port,
cerebrod_message_destination_ip,
cerebrod_message_source_network_interface. Support multiple
speaker destinations.
* src/libs/cerebro/: Adjust lib for new config changes.
* src/cerebrod/cerebrod_config.h, src/cerebrod/cerebrod_config.c,
src/cerebrod_listener.c: Adjust appropriately for config changes.
* src/cerebrod/cerebrod_speaker.c: Support multiple speaker
destinations.
* man/cerebro.conf.5.in: Update appropriately.
* configure.ac: Update lib version.
2007-10-09 Albert Chu <[email protected]>
* tagged pre_config_file_format_change
2007-10-08 Albert Chu <[email protected]>
* src/libs/debug/debug.h (CEREBRO_ERR): New macro.
* src/: Use new macro throughout to provide better debugging when
cerebrod is running in non-debug mode.
* src/cerebrod/cerebrod_speaker.c (_cerebrod_message_create,
cerebrod_speaker), src/cerebrod/cerebrod_speaker_data.c
(cerebrod_speaker_data_get_heartbeat_metric_data,
cerebrod_speaker_data_get_module_metric_data): Re-work to force
multiple UDP packets to be sent immediately if all data cannot be
sent in a single packet.
2007-10-05 Albert Chu <[email protected]>
* man/cerebro.conf.5.in: Update documentation.
* config/ac_cerebro_metric_control_path.m4: Alter default metric
control path to /var.
* src/libs/include/cerebro/cerebro_constants.h: Up
CEREBRO_MAX_DATA_STRING_LEN to a reasonable size.
2007-10-01 Albert Chu <[email protected]>
* cerebro.spec.in: Replace /etc/init.d with %{initrddir}.
2007-09-18 Albert Chu <[email protected]>
Re-do numbering for release.
* META, NEWS: update for release
* tagged cerebro-1-2-1
2007-09-17 Albert Chu <[email protected]>
* man/cerebrod.8.in: Add restart information.
* src/cerebro-stat/cerebro-stat.c, man/cerebro-stat.8.in,
src/cerebro-admin/cerebro-admin.c, man/cerebro-admin.8.in: Re-do
usage output and documentation per Py Watson
(watson30 at llnl dot gov) suggestions.
* tagged cerebro-1-1-6
2007-09-14 Albert Chu <[email protected]>
* Fix compiler warnings.
2007-09-05 Albert Chu <[email protected]>
* Fix FSF address throughout.
2007-04-03 Albert Chu <[email protected]>
* tagged cerebro-1-1-5
* META: update for release
* cerebro.spec.in: Update.
2007-04-03 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_speaker.c (cerebrod_speaker): Fix
mem-leak.
* src/cerebrod/cerebrod_listener_data (metric_data_create): Add
assert.
* src/cerebrod/cerebrod_listener_data
(cerebrod_listener_data_update): Fix metric names hash corner
case.
* src/cerebrod/cerebrod_event_update.c
(_event_node_timeout_data_add, _event_node_timeout_data_callback):
Add pthread lock checks.
* src/cerebrod/cerebrod_event_server.c
(_event_server_service_connection): Fix potential race condition.
* src/cerebrod/cerebrod_event_server.c: Remove unused globals.
* src/cerebrod/cerebrod_event_update.h,
src/cerebrod/cerebrod_event_update.c
(cerebrod_event_modules_setup, cerebrod_event_modules_update): Fix
race condition.
* Makefile.am: Dist out cerebro spec files.
2007-04-02 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_listener_data.c: Fix race condition.
2007-03-01 Albert Chu <[email protected]>
* cerebro.spec.in: Fix default permissions issue.
2007-02-09 Albert Chu <[email protected]>
* src/libs/modules/metric_module.c (_metric_module_cb),
src/libs/modules/event_module.c (_event_module_cb),
src/libs/modules/monitor_module.c (_monitor_module_cb): Fix static
compile bug.
* src/cerebrod/cerebrod_speaker.c: Remove pthread use when
--with-cerebrod-no-threads is used.
* src/libs/modules/metric_module.c: Fix various static module
build issues.
* src/modules/event/Makefile.am: Fix static build bug.
2007-02-08 Albert Chu <[email protected]>
* cerebro.spec.in: Add cerebrod restart fix. Fix ppc64 packaging issue.
2007-02-06 Albert Chu <[email protected]>
* src/modules/clusterlist/cerebro_clusterlist_genders_util.h,
src/modules/clusterlist/cerebro_clusterlist_genders_util.c
(cerebro_clusterlist_genders_setup): Add filename parameter.
* src/modules/clusterlist/cerebro_clusterlist_genders.c: Adjust
for new function call appropriately.
2006-12-21 Albert Chu <[email protected]>
* src/libs/wrappers/wrappers.c (wrap_select): Fix bug then could
cause select() spinning.
* tagged cerebro-1-1-4
2006-12-20 Albert Chu <[email protected]>
* Fix various compiler warnings.
2006-12-20 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_event_server.c
(_send_event_names_end_response): Fix compiler warnings.
* tagged cerebro-1-1-3
2006-12-20 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_speaker.c (cerebrod_speaker): Fix bug that
could cause the loop to spin for small periods of time.
* tagged cerebro-1-1-2
2006-12-19 Albert Chu <[email protected]>
* NEWS updated.
* config/ac_updown_event.m4: Fix typo.
* config/ac_updown.m4: Renamed from ac_updown_event.m4 and
modified appropriately for name change.
* configure.ac, src/modules/event/Makefile.am: Updated
appropriately.
* cerebro.spec.in: Support updown event module.
* tagged cerebro-1-1-1
2006-12-04 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_listener.c (_listener_setup_socket),
src/cerebrod/cerebrod_speaker.c (_speaker_socket_create): Fix
SO_REUSEADDR corner case.
2006-11-16 Albert Chu <[email protected]>
* src/libs/common/vector.c (vector_set): Fix counting bug.
2006-11-14 Albert Chu <[email protected]>
* configure.ac: Up library version.
* Globally cleanup code so cerebrod "heartbeat" is now a cerebrod
"message". Heartbeats still exist, although they are now one type
of cerebrod message, rather than the only possible message.
2006-11-14 Albert Chu <[email protected]>
* src/libs/include/cerebro/cerebro_metric_module.h,
src/libs/modules/, src/modules/metric/: Support new
metric module flags.
* src/cerebrod/cerebrod_speaker_data.c,
src/libs/include/cerebro/cerebro_metric_module.h: Alter method by
which metric module threads are used. Metric module threads now
send heartbeats when data changes, they don't signal cerebro that
data is simply updated.
* src/modules/metric/cerebro_metric_slurm_state.c
(_send_heartbeat,
slurm_state_metric_send_heartbeat_function_pointer): New function.
* src/modules/metric/cerebro_metric_slurm_state.c
(slurm_state_metric_thread): Send heartbeat on state change.
* src/cerebrod/cerebrod_speaker_data.c,
src/cerebrod/cerebrod_speaker.h, src/cerebrod/cerebrod_speaker.c:
Support metric module flags and possibility metric modules may not
send data via heartbeats.
* man/cerebro_module_devel.3.in: Updated appropriately.
2006-11-13 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_event_server.c: Fix up some comments.
2006-11-11 Albert Chu <[email protected]>
* src/modules/metric/cerebro_metric_common.h,
src/modules/metric/cerebro_metric_common.c: New files.
* src/modules/metric/: Adjust to use new common functions.
2006-11-10 Albert Chu <[email protected]>
* src/cerebrod/, src/libs, src/cerbro-admin/,
man/cerebro-admin.8.in: Support new 'send-now' functionality for
updated metrics. Adjust code appropriately to support new feature
and make code cleaner.
2006-11-10 Albert Chu <[email protected]>
* src/libs/cerebro/cerebro_metric_util.c
(_cerebro_metric_get_data): Fix config parse bug.
2006-11-09 Albert Chu <[email protected]>
* src/cerebro-stat/cerebro-stat.c, man/cerebro-stat.8.in: Adjust
wording so "metric server" refers to a "metric server" or "event
server".
* src/cerebrod/cerebrod_event_server.h,
src/cerebrod/cerebrod_event.c, src/libs/include/cerebro.h,
src/libs/include/cerebro/cerebro_event_protocol.h,
src/libs/cerebro/cerebro_event.c, src/cerebro-stat/cerebro-stat.c:
Support 'event_names' retrieval. Includes modification to
metriclist structures to be used generically for metric names or
event names.
* man/cerebro_get_event_names.3,
src/libs/cerebro/cerebro_event_names.c: New files.
* src/cerebrod/cerebrod_metric_server.c: Various code cleanup.
* man/: Adjust manpages appropriately for new functions and
changes.
* man/: Various minor cleanup.
* src/cerebrod/: Fix bug fixes and code cleanup.
2006-11-08 Albert Chu <[email protected]>
* src/libs/include/Makefile.am: Add cerebro_event_protocol.h.
2006-11-07 Albert Chu <[email protected]>
Add Cerebro Event Monitoring Support (from branch
'cerebro_event_branch', tag 'cerebro_event_final')
* src/libs/include/cerebro_event_protocol.h,
src/libs/include/cerebro_event_module.h,
src/libs/modules/event_module.h, src/libs/modules/event_module.c,
src/libs/cerebro/cerebro_event.c: New files.
* src/libs/include/cerebro.h: Add event API functions.
* src/libs/cerebro_api.h: Add event API support into struct cerebro.
* src/libs/cerebro.c (cerebro_handle_create): Add event API support.
* src/libs/include/Makefile.am, src/libs/modules/Makefile.am,
src/cerebrod/Makefile.am: Adjust appropriately.
* src/cerebrod/cerebrod_config.h, src/cerebrod/cerebrod_config.c,
src/libs/util/config_util.c,
src/libs/include/cerebro/cerebro_config.h: Support event server
config variables.
* src/cerebrod/cerebrod_event_server.h,
src/cerebrod/cerebrod_event_server.c,
src/cerebrod/cerebrod_event_node_timeout_monitor.h,
src/cerebrod/cerebrod_event_node_timeout_monitor.c,
src/cerebrod/cerebrod_event_update.h,
src/cerebrod/cerebrod_event_update.c: New files.
* src/cerebro-stat/cerebro-stat.c: Add event monitoring support.
* man/cerebro-stat.8.in, man/cerebro.conf.5.in,
man/cerebro_module_devel.3.in: Update appropriately.
* man/cerebro_event.3, man/cerebro_event_register.3,
man/cerebro_event_unregister.3, man/cerebro_event_parse.3: New
files.
Add Updown Module Event support
* src/modules/event/cerebro_event_updown.c: New file.
Misc
* src/libs/wrappers/wrappers.h, src/libs/wrappers/wrappers_list.c:
Add list_peek wrapper.
* Globally rename "METRIC_VALUE_TYPE" to "DATA_VALUE_TYPE" for
consistency with event data types.
* src/libs/util/metric_util.h, src/libs/util/metric_util.c:
Renamed to data_util.h and data_util.c.
* src/: Globally readjust many variable/function/comments due to
change from "metric" to "data" in naming.
2006-11-07 Albert Chu <[email protected]>
* src/cerebro-stat/cerebro-stat.c (main): Fix seg-fault corner
case.
2006-11-06 Albert Chu <[email protected]>
* src/libs/cerebro/cerebro_metric_data.c
(_metric_value_unmarshall): Remove unnecessary code.
2006-11-05 Albert Chu <[email protected]>
* man/cerebro_nodelist_metric_name.3: Fix typos and add forgotten
value types.
* src/libs/cerebro/cerebro.c (cerebro_handle_create): Fix cleanup
corner case.
* src/libs/cerebro/cerebro_metric_util.c: Various code cleanup.
2006-11-01 Albert Chu <[email protected]>
* src/cerebrod/cerebrod_monitor_update.h,
src/cerebrod/cerebrod_monitor_update.c: New files.
* src/cerebrod/cerebrod_listener_data.h,
src/cerebrod/cerebrod_listener_data.c: Cleanup by moving monitor
module code to new files above.
* src/cerebrod/Makefile.am: Updated for new files.
2006-10-31 Albert Chu <[email protected]>