Bug 593934

Summary: virsh can't connect to esx server with the no_verify option setted
Product: Red Hat Enterprise Linux 5 Reporter: Wayne Sun <gsun>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.7CC: mbooth, nzhang, tyan, virt-maint, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-20 08:31:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wayne Sun 2010-05-20 04:35:34 UTC
Description of problem:
virsh -c can't connect to esx hypervisor. The no_verify option was used and set to 1, but error still poped out for not find CA certificate.
 
The error msg:
#virsh -c esx://10.66.65.108/?no_verify=1 dumpxml ESX4.0-RHEL5.4-x86_64
error: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
error: failed to connect to the hypervisor

I've set the .netrc file to store the user and pwd info and can direct log in to esx server.

Version-Release number of selected component (if applicable):
libvirt-0.6.3-33.el5

How reproducible:
always

Steps to Reproduce:
1.virsh -c esx://10.66.65.108/?no_verify=1
2.
3.
  
Actual results:
Failed to connect.

Expected results:
Connect to esx hypervisor successfully.

Additional info:

Comment 1 Matthew Booth 2010-05-20 08:31:20 UTC
Wayne,

I gave you a bum steer on this one. virsh in RHEL 5 isn't linked against v2v-libvirt, so it's too old to have ESX support. You can't get the information I requested from a RHEL 5 box. I'll close this, and we can move back to the virt-v2v bug.