On Thu, Jun 16, 2011 at 09:48:20AM +0200, Florian Haas wrote:
> On 2011-06-16 09:03, Lars Ellenberg wrote:
> > With the current "unique=true/false", you cannot express that.
> 
> Thanks. You learn something every day. :)

Sorry that I left off the "As you are well aware of,"
introductionary phrase. ;-)

I just summarized the "problem":

> > Depending on what we chose the meaning to be,
> > parameters marked "unique=true" would be required to
> >   either be all _independently_ unique,
> >   or be unique as a tuple.

And made a suggestion how to solve it:

> > If we want to be able to express both, we need a different markup.
> > 
> > Of course, we can move the markup out of the parameter description,
> > into an additional markup, that spells them out,
> > like <unique params="foo,bar" /><unique params="bla" />.
> > 
> > But using unique=0 as the current non-unique meaning, then
> > unique=<small-integer-or-even-named-label-who-cares>, would
> > name the scope for this uniqueness requirement,
> > where parameters marked with the same such label
> > would form a unique tuple.
> > Enables us to mark multiple tuples, and individual parameters,
> > at the same time.

If we really think it _is_ a problem.

> > Question is: do we really want or need that.
> 
> That is a discussion for the updated OCF RA spec discussion, really. And
> the driver of that discussion is currently submerged. :)

I guess this was @LMB?
Hey there ... do you read? :)

As to "stood the test of time",
well, no. Not these resource agent parameter hints.
Not yet.

Especially the unique and type hints have been mostly ignored until now,
the type hints are still wrong for some resource agents last
time I checked, and also mostly ignored, and the unique hint just starts
to throw a warning in crm shell now. So, because these hints have been
ignored so far, they have not been tested, not even by time...

These hints are also not enforced by the cib (which does not know about
them anyways), but only hints to "some frontend".
And because "some frontend" now started to at least "consider" these
hints, we are having this discussion now...

        Lars
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to