[Linux-HA] crm_resource -f strange behavior

Andrew Beekhof beekhof at gmail.com
Mon Feb 26 02:43:05 MST 2007


On 2/23/07, Yan Fitterer <yfitterer at novell.com> wrote:
> crm_resource -f seems broken on 2.0.7-1.2
>
> In a cluster without quorum:
>
> idm04:~ # crm_resource -M -H idm01 -r group_meta_rw -t group
> crm_resource[7436]: 2007/02/23_14:11:02 ERROR: cib_native_perform_op:cib_native.c Call failed: Write requires quorum
> Error performing operation: Write requires quorum
> Try using -f
> idm04:~ #

that log message is wrong.  in cibadmin, one can use -f to force the
CIB to accept a change even if the cluster does not have quorum.

apparently i had the same intention in crm_resource but never got a
chance to implement it (-f does something slightly different, see the
builtin help)

i'll go about adding this ability shortly, but in most clusters there
wont be many resources running if there is no quorum.

>
> But if I try with -f:
>
> idm04:~ # crm_resource -f -M -H idm01 -r group_meta_rw -t group
> WARNING: Creating rsc_location constraint 'cli-standby-group_meta_rw' with a score of -INFINITY for resource
> group_meta_rw on idm04.
>         This will prevent group_meta_rw from running on idm04 until the constraint is removed using the 'crm_resource
> -U' command or manually with cibadmin
>         This will be the case even if idm04 is the last node in the cluster
>         This messgae can be disabled with -Q
> crm_resource[7510]: 2007/02/23_14:12:04 ERROR: cib_native_perform_op:cib_native.c Call failed: Write requires quorum
> Error performing operation: Write requires quorum
> Try using -f
> idm04:~ #
>
> looks broken to me. Maybe that's a known problem ....
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


More information about the Linux-HA mailing list