[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Hello,

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

root 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 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 kvm-189:/home/cisco# 

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

root 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 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 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

 

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]