[libvirt-users] virsh esx return "error: internal error: Could not find Datacenter"

Andrea Buzzi (abuzzi) abuzzi at cisco.com
Wed Oct 30 14:42:06 UTC 2013


Hello,

I’m running virsh v1.1.3 compiled on a ubuntu system with the "--with-esx=yes” support.

root at kvm-189:/home/cisco# virsh --version
1.1.3

I also have a vcenter 5.5 environment that has following structure (couple of hosts at datacenter level, others part of cluster group):
MIC-VC-ADMIN
  MIC-DC-ADMIN
    10.58.6.110
    10.58.6.113
    MIC-CL-ADMIN
      10.58.6.109
      10.58.6.118
      10.58.6.126

I can succesfully connect to ESXi host 10.58.6.110:

root at kvm-189:/home/cisco# virsh -c esx://10.58.6.110?no_verify=1 list --all
Enter username for 10.58.6.110 [root]:
Enter root's password for 10.58.6.110:
 Id    Name                           State
----------------------------------------------------
 250   ssi-vepc1                      running
 -     SSI-Template                   shut off

root at kvm-189:/home/cisco#

However if I try to connect to vcenter, I get the following:

root at kvm-189:/home/cisco# virsh -c esx://10.58.6.110?no_verify=1\&vcenter=*
Enter username for 10.58.6.110 [root]:
Enter root's password for 10.58.6.110:
Enter username for 10.58.6.7 [administrator]: Administrator
Enter Administrator's password for 10.58.6.7:
error: failed to connect to the hypervisor
error: internal error: Could not find Datacenter
root at kvm-189:/home/cisco#

Any suggestion on how to isolate (and possibly fix) the issue ?

Thanks,
Andrea
--
[Description: Description: Description: http://www.cisco.com/swa/i/logo.gif]

Andrea Buzzi
TME @ MIBU

abuzzi at cisco.com<mailto:abuzzi at cisco.com>
Phone: +39 039.6295.319
Mobile: +39 348.711.9960

Cisco Systems Italy S.r.l
Via Torri Bianche, 8
20871 Vimercate (MB)
Italy
Cisco.com<http://www.cisco.com/global/IT/>



This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20131030/267a875d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 631DDF04-F4B6-41FD-BA5F-DFD7C81440DC[6].png
Type: image/png
Size: 1773 bytes
Desc: 631DDF04-F4B6-41FD-BA5F-DFD7C81440DC[6].png
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20131030/267a875d/attachment.png>


More information about the libvirt-users mailing list