On 02/07/2013, at 7:54 PM, Lars Marowsky-Bree <l...@suse.com> wrote:
> On 2013-07-02T08:25:18, Andrew Beekhof <and...@beekhof.net> wrote: > >>> if (cli_config_update(&cib_copy, NULL, FALSE) == FALSE) { >> Also, change FALSE -> TRUE here so that you see the validation errors. > > OK. > >>> What could cause cli_config_update() to fail in this way? >> Beats me. Can you log the xml before the connection gets dropped? > > OK. Will do that. > > It seems related to the number of times I poll the CIB, too; I seem to > hit a transient window there, maybe. Since I dropped the number of polls > (instead of requesting the full CIB once per second) it hasn't > reproduced. But I'll reinstate that in the debug patch. Why not ask for updates instead? > > I also tried to get the CIB to write a blackbox. But for some reason, it > logs that the blackbox logging has begun, but the file doesn't seem to > be created :-/ Did you send SIGTRAP and look in syslog for the file name like the blog says to? > > (And enabling trace logging for PCMK_trace_functions=cli_config_update > didn't appear to produce any additional logging.) Not to syslog, only to files. If you don't have one configured in corosync already they'll be in /var/log/pacemaker.log (and syslog will mention this) > > > Regards, > Lars > > -- > Architect Storage/HA > SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, > HRB 21284 (AG Nürnberg) > "Experience is the name everyone gives to their mistakes." -- Oscar Wilde > > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org