Bug 1213348

Summary: Virsh support connect esxi 6.0 hypervisor.
Product: Red Hat Enterprise Linux 6 Reporter: tingting zheng <tzheng>
Component: libvirtAssignee: Michal Privoznik <mprivozn>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7CC: dyuan, jdenemar, juzhou, libvirt-maint, mzhan, rbalakri, tony, virt-bugs, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-0.10.2-56.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1213345 Environment:
Last Closed: 2016-05-10 19:23:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1213345    
Bug Blocks:    

Description tingting zheng 2015-04-20 11:04:37 UTC
The bug can be also reproduced on rhel6,so cloned it.

+++ This bug was initially created as a clone of Bug #1213345 +++

Description of problem:
Virsh support connect esxi 6.0 hypervisor.

Version-Release number of selected component (if applicable):
libvirt-1.2.8-16.el7.x86_64

How reproducible:
100%.

Steps to Reproduce:
1.Prepare esxi 6.0 server.
2.Use virsh to connect the server,error shows.
# virsh -c esx://root.72.49/?no_verify=1 
Enter root's password for 10.66.72.49: 
error: failed to connect to the hypervisor
error: internal error: Expecting VI API major/minor version '2.5', '4.x' or '5.x' but found '6.0'

Actual results:
As description.

Expected results:
Virsh support connect esxi 6.0 hypervisor.

Additional info:

Comment 4 tingting zheng 2016-01-21 07:58:52 UTC
Tested with:
libvirt-0.10.2-56.el6.x86_64

Steps:
1.Use virsh to connect esxi 6.0 server.

# virsh -c esx://10.66.144.40/?no_verify=1
Enter username for 10.66.144.40 [root]: 
Enter root's password for 10.66.144.40: 
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

virsh # list --all
 Id    Name                           State
----------------------------------------------------
 1     win2012R2-vcenter              running
 33    iscsi-test                     running
 43    VMware-vcenter-server-app      running
 -     app_vcenter600                 shut off
 -     Auto-esx6.0-win7-efi           shut off
 -     bug1260689-win2008R2-GPO-Macfee shut off
 -     esx6.0-rhel5.11-i386           shut off
 -     esx6.0-rhel5.11-x86_64         shut off
 -     esx6.0-rhel6.7-i386            shut off

2.Use virsh to connect esxi 6.0 server via vcenter 6.0:
# virsh -c vpx://root.145.47/data/10.66.144.40/?no_verify=1
Enter root's password for 10.66.145.47: 
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

virsh # list --all
 Id    Name                           State
----------------------------------------------------
 62    win2012R2-vcenter              running
 88    VMware-vcenter-server-app      running
 -     app_vcenter600                 shut off
 -     Auto-esx6.0-win7-efi           shut off
 -     bug1260689-win2008R2-GPO-Macfee shut off
 -     esx6.0-rhel5.11-i386           shut off
 -     esx6.0-rhel5.11-x86_64         shut off

Both of the above virsh command works fine,so move the bug to VERIFIED.

Comment 5 tony 2016-04-13 09:57:43 UTC
Any idea when this bugfix will be released?

Comment 7 errata-xmlrpc 2016-05-10 19:23:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0738.html