[Pacemaker] Disconnected from CIB?

Lars Marowsky-Bree lmb at suse.com
Tue Jul 2 09:54:00 UTC 2013


On 2013-07-02T08:25:18, Andrew Beekhof <andrew at 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.

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 :-/

(And enabling trace logging for PCMK_trace_functions=cli_config_update
didn't appear to produce any additional logging.)


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





More information about the Pacemaker mailing list