[ClusterLabs] Support for 'score' in rsc_order is deprecated...use 'kind' instead...

Jean-Francois Malouin Jean-Francois.Malouin at bic.mni.mcgill.ca
Mon Oct 28 13:00:59 EDT 2019


Building a new pacemaker cluster using corosync 3.0 and pacemaker 2.0.1 on Debian/Buster 10
I get this error when trying to insert a order constraint in the CIB to first promote drbd to primary
then start/scan LVM. It used to work in previous versions of pacemaker so
I'm looking at the doc right now but is there a simple answer using crm?

crm(live/node1)configure# order o_drbd_r0_before_lvm_vg0  inf: ms_drbd_r0:promote p_lvm_vg0:start
crm(live/node1)configure# verify
ERROR: (get_ordering_type)  warning: Support for 'score' in rsc_order is deprecated and will be removed in a future release (use 'kind' instead)
Warnings found during check: config may not be valid

The cluster config without the stonith primitives to shorten things a bit:

crm configure show:
node 1: node1 \
    attributes standby=off
node 2: node2
property cib-bootstrap-options: \
    have-watchdog=false \
    dc-version=2.0.1-9e909a5bdd \
    cluster-infrastructure=corosync \
    cluster-name=bicha \
    no-quorum-policy=ignore \
    stonith-enabled=true \
rsc_defaults rsc-options: \


More information about the Users mailing list