On 2007-07-06T10:27:30, HIDEO YAMAUCHI <[EMAIL PROTECTED]> wrote:

> I performed the following pattern.
>   1)cibadmin -U -X '<op id=".." ... on_fail="" />
>     ->I forget contents.
> 
>   2)cibadmin -U -X '<op id=".." ... on_fail="aaa" />
>     ->I set an English character by mistake.
> 
> The result became it next.
>   1)A command succeeds.
>     An attribute of on_fail is deleted.
>   
>   2)failed in the command.
>     And error message is displayed.
>     [Call cib_modify failed (-23): Activation Failed]
> 
> I hope the next results.
>   1)Appropriate error message is displayed.
>     Furthermore, the onfail attribute should not be
> deleted.

1) is not a mistake. Setting an attribute to an empty value is the way
to delete it. So, the command did exactly what you asked it to. This
isn't a bug.

>   2)The message which it is easy to understand more..

There should be a more readable message in the CIB logs; on_fail="aaa"
is not a valid value, and so the DTD check failed. It would indeed be
nice if that error message was relayed to the cibadmin client and
displayed, instead of just logged.

Please, file an enhancement request for this one.


In general, all suspected bug reports or enhancement suggestions should
be filed in bugzilla, with one entry per bugzilla. It makes it a lot
easier to track than mailing lists, and it will prevent them from
getting lost.



Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to