CIB not supported: validator ‘pacemaker-2.4’, release ‘3.0.10’

[root@a2 ~]# crm configure show
ERROR: CIB not supported: validator ‘pacemaker-2.4’, release ‘3.0.10’
ERROR: You may try the upgrade command
ERROR: configure: Missing requirements

If you look at the first line/tag in your Pacemaker configuration (# cibadmin –query > /tmp/cib.xml) you should see something like the following:
<cib crm_feature_set=”3.0.10″ validate-with=”pacemaker-2.4″ epoch=”6″ num_updates=”8″ …>
This tells Pacemaker how to validate configurations in environments that might have mixed versions.

Without seeing the configuration you’re trying to push, or knowing more about your environment, I’m not certain what the correct setting for “validate-with” would be. However, running the following command might be what you want to bring it up to something more recent:
# cibadmin –modify –xml-text ‘<cib validate-with=”pacemaker-2.1″/>’

If you’re trying with some older configuration, maybe you want this instead:
# cibadmin –modify –xml-text ‘<cib validate-with=”pacemaker-1.0″/>’

Either way, I think this is the setting you’ll want to tweak.

Example:
[root@a1 corosync]# crm configure show
ERROR: CIB not supported: validator ‘pacemaker-2.4’, release ‘3.0.10’
ERROR: You may try the upgrade command
ERROR: configure: Missing requirements
[root@a1 corosync]# cibadmin –query > /tmp/cib.xml
[root@a1 corosync]# cat /tmp/cib.xml
<cib crm_feature_set=”3.0.10″ validate-with=”pacemaker-2.4″ epoch=”6″ num_updates=”8″ admin_epoch=”0″ cib-last-written=”Mon Mar  6 18:23:26 2017″ update-origin=”a1.zzyops.com” update-client=”crmd” update-user=”hacluster” have-quorum=”1″ dc-uuid=”a1.zzyops.com”>
<configuration>

[root@a1 corosync]# cibadmin –modify –xml-text ‘<cib validate-with=”pacemaker-2.1″/>’
[root@a1 corosync]# crm status
Last updated: Tue Mar  7 09:41:51 2017          Last change: Mon Mar  6 18:23:26 2017 by hacluster via crmd on a1.zzyops.com
Stack: classic openais (with plugin)
Current DC: a1.zzyops.com (version 1.1.14-8.el6_8.2-70404b0) – partition with quorum
2 nodes and 0 resources configured, 2 expected votes

Online: [ a1.zzyops.com a2.zzyops.com ]
[root@a1 corosync]# crm configure show
node a1.zzyops.com
node a2.zzyops.com
property cib-bootstrap-options: \
have-watchdog=false \
dc-version=1.1.14-8.el6_8.2-70404b0 \
cluster-infrastructure=”classic openais (with plugin)” \
expected-quorum-votes=2

[root@a1 ~]# cibadmin –query |more
<cib crm_feature_set=”3.0.10″ validate-with=”pacemaker-2.1″ epoch=”6″ num_updates=”9″ admin_epoch=”0″ cib-last-written=”Mon Mar  6 1
8:23:26 2017″ update-origin=”a1.zzyops.com” update-client=”crmd” update-user=”hacluster” have-quorum=”1″ dc-uuid=”a1.zzyops.com”>
<configuration>

发表评论