On 02/07/2013, at 12:12 AM, Lars Marowsky-Bree <l...@suse.com> wrote:
> On 2013-07-01T14:15:01, Lars Marowsky-Bree <l...@suse.com> wrote: > >> Reproducible on the non-DC node during full start-up of a cluster, yes. > > And it turns out to be a CIB problem afterall. Or I'm doing something > else wrong: > > I'm doing, basically straight from crm_mon.c: > > xmlNode *cib_copy = copy_xml(current_cib); > [...] > if (cli_config_update(&cib_copy, NULL, FALSE) == FALSE) { > if (cib) { > cib->cmds->signoff(cib); > } > > (See the two functions following > https://github.com/l-mb/sbd/blob/master/src/sbd-pacemaker.c#L446) There was a bug in the version you copied. It is now: switch (rc) { case -pcmk_err_diff_resync: case -pcmk_err_diff_failed: crm_notice("[%s] Patch aborted: %s (%d)", event, pcmk_strerror(rc), rc); case pcmk_ok: break; default: crm_notice("[%s] ABORTED: %s (%d)", event, pcmk_strerror(rc), rc); } > > write(2, "Your current configuration could only be upgraded to <null>... the > minimum requirement is pacemaker-1.0.\n", 105) = 105 > > I have seen crm_mon exit with this error message in the past too, but > not been able to reproduce it reliably enough to file a bug. So, I > guess, this is progress. ;-) > > What could cause cli_config_update() to fail in this way? Is that > expected? > > > Best, > 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