Bug 947398 - Unclear error message when connect vCenter server
Summary: Unclear error message when connect vCenter server
Keywords:
Status: CLOSED DUPLICATE of bug 819729
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On: 819729
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-02 10:32 UTC by tingting zheng
Modified: 2014-07-06 19:31 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 819729
Environment:
Last Closed: 2013-05-13 14:25:36 UTC
Embargoed:


Attachments (Terms of Use)

Description tingting zheng 2013-04-02 10:32:39 UTC
The bug can also be reproduced on rhel7,so clone the bug to rhel7.
version:
libvirt-1.0.3-1.el7.x86_64

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

Description of problem:
Unclear error message when connect vCenter server with virsh command "virsh -c esx://xxx.xxx.xxx.xxx/?no_verify=1", the error "internal error Could not find ComputeResource with name '(null)'" will be shown.

Version-Release number of selected component (if applicable):
# rpm -qa |grep libvirt
libvirt-client-0.9.10-16.el6.x86_64
libvirt-debuginfo-0.9.10-14.el6.x86_64
libvirt-0.9.10-16.el6.x86_64
libvirt-python-0.9.10-16.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.When connect ESXi server,pass the url of the Virtualcenter.

eg:virsh -c esx://<VirtualcenterIP>/?no_verify=1
Enter username for ip [root]:
Enter administrator's password for ip: 

  
Actual results:
[root@test ~]# virsh -c esx://10.66.6.123/?no_verify=1
Enter username for 10.66.6.123 [root]: administrator
Enter administrator's password for 10.66.6.123: 
error: internal error Could not find ComputeResource with name '(null)'
error: failed to connect to the hypervisor
[root@test ~]# 

Expected results:
There should be clear error messages given like:the host is neither an ESX 3.5, 4.x nor 5.x host

eg:# virsh -c esx://10.66.6.48/?no_verify=1
Enter username for 10.66.6.48 [root]: administrator
Enter administrator's password for 10.66.6.48:
error: internal error 10.66.6.48 is neither an ESX 3.5, 4.x nor 5.x host
error: failed to connect to the hypervisor

Additional info:

Comment 2 Dave Allan 2013-05-13 14:25:36 UTC

*** This bug has been marked as a duplicate of bug 819729 ***


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