Re: [PATCH] xenapi: Improve error message on session failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/07/2011 05:01 AM, Matthew Booth wrote:
> XenAPI session login can fail for a number of reasons, but currently no specific
> reason is displayed to the user, e.g.:
> 
> virsh -c XenAPI://citrix-xen.example.com/
> Enter username for citrix-xen.example.com: root
> Enter root's password for citrix-xen.example.com:
> error: authentication failed: (null)
> error: failed to connect to the hypervisor
> 
> This patch displays the session error description on failure.
> ---
>  src/xenapi/xenapi_driver.c |   20 ++++++++++++++++++--
>  1 files changed, 18 insertions(+), 2 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]