Red Hat Bugzilla – Bug 864384
virsh list get error msg when connect ESXi5.0 server
Last modified: 2013-03-01 00:05:39 EST
Description of problem: when using virsh list on connecting esxi5.0 server,will get error msg:failed to list domains, internal error Could not get name of virtual machine Version-Release number of selected component (if applicable): libvirt-0.10.2-2.el6.x86_64 kernel-2.6.32-309.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. virsh -c esx://10.66.6.211/?no_verify=1 list --all Actual results: error:failed to list domains, error:internal error Could not get name of virtual machine Expected results: list all domains. Additional info: This works on libvirt-0.10.1-1.el6.x86_64.rpm, so it's a regression bug.
(In reply to comment #0) > Additional info: > This works on libvirt-0.10.1-1.el6.x86_64.rpm, so it's a regression bug. Does it work on the last released RHEL version?
Hi Dave Yes, it worked on RHEL6.3 released version,libvirt build is libvirt-0.9.10-21
The problem could be reproduced, and introduced by commit: commit 9e0ba44faf79af55fe502c9b72c7fc5998c46a9d CommitDate: Thu Sep 6 11:06:10 2012 +0200 Fixed by commit: commit 5fc663d8bedc082585941e1453229cdcf5fe2880 CommitDate: Sat Sep 29 21:06:19 2012 +0200 The fix commit is not in the latest RHEL build yet.
Hi Osier, The question hasn't been fixed on libvirt-0.10.2-3.el6, I still got previous error: # virsh -c esx://10.66.6.211/?no_verify=1 Enter username for 10.66.6.211 [root]: root Enter root's password for 10.66.6.211: 2012-10-16 01:48:59.899+0000: 8487: info : libvirt version: 0.10.2 2012-10-16 01:48:59.899+0000: 8487: warning : esxVI_Context_Connect:844 : Found untested VI API major/minor version '5.1' 2012-10-16 01:48:59.899+0000: 8487: warning : esxVI_Context_Connect:880 : Found untested ESX major/minor version '5.1.0' Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh # list error: Failed to list domains error: internal error Could not get name of virtual machine Regards, Alex
(In reply to comment #8) > Hi Osier, > The question hasn't been fixed on libvirt-0.10.2-3.el6, I still got previous > error: > I don't see the problem, please make sure your libvirt-client is 0.10.2-3.
(In reply to comment #9) > I don't see the problem, please make sure your libvirt-client is 0.10.2-3. Very weird, it works for me now, so move the bug to VERIFIED status. # virsh -c esx://10.66.6.211/?no_verify=1 list --all Enter username for 10.66.6.211 [root]: root Enter root's password for 10.66.6.211: 2012-10-16 09:10:28.610+0000: 16213: info : libvirt version: 0.10.2, package: 3.el6 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2012-10-15-06:44:29, x86-007.build.bos.redhat.com) 2012-10-16 09:10:28.610+0000: 16213: warning : esxVI_Context_Connect:844 : Found untested VI API major/minor version '5.1' 2012-10-16 09:10:28.610+0000: 16213: warning : esxVI_Context_Connect:880 : Found untested ESX major/minor version '5.1.0' Id Name State ---------------------------------------------------- - esx5.1-6.2#-i386 shut off - esx5.1-multidisks-test shut off - esx5.1-rhel3.9-i386 shut off - esx5.1-rhel3.9-x86_64 shut off - esx5.1-rhel3.9-x86_64-test shut off ...
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. http://rhn.redhat.com/errata/RHSA-2013-0276.html