[libvirt] [PATCH] esx: Improve error reporting for failed tasks

Eric Blake eblake at redhat.com
Thu Dec 9 23:55:16 UTC 2010


On 12/06/2010 06:45 AM, Matthias Bolte wrote:
> Instead of just reporting that a task failed get the
> localized message from the TaskInfo error and include
> it in the reported error message.
> 
> Implement minimal deserialization support for the
> MethodFault type in order to obtain the actual fault
> type.
> 
> For example, this changes the reported error message
> when trying to create a volume with zero size from
> 
>   Could not create volume
> 
> to
> 
>   Could not create volume: InvalidArgument - A specified parameter was not correct.
> 
> Not perfect yet, but better than before.

Certainly an improvement.

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101209/c9784268/attachment-0001.sig>


More information about the libvir-list mailing list