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

Daniel Veillard veillard at redhat.com
Fri Jun 10 09:35:15 UTC 2011


On Tue, Jun 07, 2011 at 06:35:55AM -0600, Eric Blake wrote:
> 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.

pushed, thanks ! BTW the following line is for testing purposes

  COMMITED

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list