[Pacemaker] crm_mon failed with upgrade failed message

Andrew Beekhof andrew at beekhof.net
Thu May 9 23:42:54 UTC 2013


On 10/05/2013, at 1:11 AM, Michal Fiala <fiala at mobil.cz> wrote:

> On 05/08/2013 01:17 AM, Andrew Beekhof wrote:
>> 
>> On 07/05/2013, at 11:42 PM, Michal Fiala <fiala at mobil.cz> wrote:
>> 
>>> Hallo,
>>> 
>>> I have updated corosync/pacemaker cluster, versions see bellow. Cluster
>>> is working fine, but when I change configuration via crm configure edit,
>>> crm_mon is exited with error message:
>>> 
>>> "Your current configuration could only be upgarded to <null>... the
>>> minimum requirement is pacemaker-1.0. Connection to the CIB terminated.
>>> Reconnecting...Upgrade failed: Update does not conform to the configured
>>> schema".
>>> Screenshot is in attachment, crm_mon.png.
>>> 
>>> I have done these steps, problem still exists.
>>> 
>>> drbd0 ~ # crm_verify -L || echo failed
>>> drbd0 ~ #
>>> 
>>> drbd0 ~ # cibadmin -u --force || echo failed
>>> drbd0 ~ #
>>> 
>>> My configuration see attachment cib.xml (cibadmin -Q).
>>> 
>>> Update from:
>>> sys-cluster/corosync-1.4.4
>>> sys-cluster/pacemaker-1.1.6.1
>>> to:
>>> sys-cluster/corosync-1.4.5
>>> sys-cluster/pacemaker-1.1.8-r2
>>> sys-cluster/crmsh-1.2.5
>>> 
>>> Please how to fix this problem?
>> 
>> You'll need to update I'm afraid.
>> 
>> You're hitting the condition addressed by https://github.com/beekhof/pacemaker/commit/70b292b
>> 
> 
> I have patched to 1.1.9-138556c (it is called
> sys-cluster/pacemaker-1.1.10_rc1 in gentoo) and this problem was fixed.
> But all my commnets in pacemaker configuration have gone.

You mean <!-- something here --> type comments?
They should still work

> I have tried
> to add new comments (crm configure edit + add comment), but after
> configuration commit, comments are cleaned. Comments are not supported now?
> 
> Thanks
> 
>> 
>> 
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at 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
>> 
> 





More information about the Pacemaker mailing list