[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 14:59:49 EDT 2019
Hi,
* Strahil <hunter86_bg at yahoo.com> [20191028 14:35]:
> Hi,
>
> Have you tried with 'crm(live/node1)configure# order o_drbd_r0_before_lvm_vg0 Mandatory: ms_drbd_r0:promote p_lvm_vg0:start' ?
Yes, that has been suggested earlier and is the answer to my query.
thanks,
jf
>
> Best Regards,
> Strahil NikolovOn Oct 28, 2019 19:00, Jean-Francois Malouin <Jean-Francois.Malouin at bic.mni.mcgill.ca> wrote:
> >
> > Hi,
> >
> > 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 \
> > stonith-action=off
> > rsc_defaults rsc-options: \
> > resource-stickiness=100
> >
> >
> > thanks,
> > jf
> > _______________________________________________
> > Manage your subscription:
> > https://lists.clusterlabs.org/mailman/listinfo/users
> >
> > ClusterLabs home: https://www.clusterlabs.org/
More information about the Users
mailing list