[ClusterLabs] Antw: Re: crm shell 2.1.2 manual bug?
Ulrich.Windl at rz.uni-regensburg.de
Wed Mar 28 08:12:49 EDT 2018
>>> Andrei Borzenkov <arvidjaar at gmail.com> schrieb am 28.03.2018 um 12:39 in
Nachricht <d8897863-37f5-01fb-a984-6494683d6a8f at gmail.com>:
> 28.03.2018 13:25, Ulrich Windl пишет:
>> For crmsh-2.1.2+git132.gbc9fde0-18.2 I think there's a bug in the manual
> describing resource sets:
>> If true, the resources in the set do not depend on each other
> internally. Setting sequential to true implies a strict order of dependency
> within the set.
>> Obviously "true" cannot mean both: "do not depend" and "depend". My guess
> that the first true has to be false.
>> In addition, isn't the syntax with resource sets missing something (despite
> from the description)?:
>> colocation <id> <score>: resource_sets
>> comparing to
>> colocation <id> <score>: <rsc>[:<role>] <with-rsc>[:<role>]
>> I expected the with-rsc to be at the end also when using resource sets...
> No, colocating sets works indeed differently, syntax is correct (for XML
> examples in pacemaker explained that is ...)
>> I came across this when trying to add a colocation like this:
>> colocation col_LV inf:( cln_LV cln_LV-L1 cln_LV-L2 cln_ML cln_ML-L1
> cln_ML-L2 ) cln_VMs
>> crm complained about this:
>> ERROR: 1: syntax in role: Unmatched opening bracket near <cln_ML-L1>
> 'colocation ...'
>> ERROR: 2: syntax: Unknown command near <cln_ml-l2> parsing 'cln_ml-l2 )
>> (note the lower case)
> You need to create set consisting of single resource. I do not know if
> it possible to colocate set and single resource - none of examples show it.
I was hoping "colocation ... ( B C D ) A" to be a shortcut of "colocation ...
B A", "colocation ... C A", "colocation ... D A"...
> See also
> Users mailing list: Users at clusterlabs.org
> 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 Users