>>> Dejan Muhamedagic <[email protected]> schrieb am 21.09.2011 um 15:46 in Nachricht <20110921134644.GC3991@squib>: > On Wed, Sep 21, 2011 at 03:40:39PM +0200, Dejan Muhamedagic wrote: > > Hi Ulrich, > > > > On Wed, Sep 21, 2011 at 12:05:48PM +0200, Ulrich Windl wrote: > > > Hi! > > > > > > I had made a mistake in crm shell: Instaed of writing a score like > > > "-inf:" > I wrote "-INF:". Amazingly this gave no warning, and even "verify" did not > complain about anything. The value ended up in XML CIB literally. I noticed > as the rule never actually worked. > > > > > > I guess this should be fixed. > > > > I guess so too :) > > Hmm, turns out that, at least according to the shell > documentation, only "inf", "infinity", and "INFINITY" are > supported. Obviously, you meant the same thing, but specified > INF, which was than not converted to INFINITY (which the crmd/PE > understand) and treated as just another attribute. Interesting > that so far nobody complained about it.
Actually there are only three cases for the score: -INF, INF, or a number. shouldn't be that hard to check or verify (^-?(INF|\d+)$) Ulrich > > Thanks, > > Dejan > > > Thanks for reporting. > > > > Dejan > > > > > Regards, > > > Ulrich > > > > > > > > > _______________________________________________ > > > Linux-HA mailing list > > > [email protected] > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > > See also: http://linux-ha.org/ReportingProblems > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
