Bug 711372 - Connecting to Citrix Xen with invalid SSL gives unhelpful error message
Summary: Connecting to Citrix Xen with invalid SSL gives unhelpful error message
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthew Booth
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-07 10:20 UTC by Matthew Booth
Modified: 2011-06-10 11:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-10 11:15:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Matthew Booth 2011-06-07 10:20:02 UTC
Description of problem:
Attempting to connect to a Citrix Xen server which has a self-signed certificate gives the following:

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

Note that:
1. There is no indication in the above that the failure relates to SSL. In fact, it specifically points at an authentication failure.
2. Citrix Xen installs with a self-signed certificate by default.

Version-Release number of selected component (if applicable):
492e493a1e6f31551583bb7de9500c312b716f42

Comment 1 Matthew Booth 2011-06-07 11:05:14 UTC
Patch posted upstream:
https://www.redhat.com/archives/libvir-list/2011-June/msg00314.html

This improves the output to:

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: TRANSPORT_FAULT
error: failed to connect to the hypervisor

Comment 2 Matthew Booth 2011-06-10 11:15:00 UTC
This has now been pushed.


Note You need to log in before you can comment on or make changes to this bug.