Hi Dian, I had the same issue in the past. At the moment my etc/vmwarerc has the following values:
# Libvirt congfiguration :libvirt_uri: "'esx://@HOST@/?no_verify=1&auto_answer=1'" # Username and password of the VMware hypervisor :username: "oneadmin" :password: "mypassword" check that you have the same parameters, and it (should) must work :P c. Il 02 aprile 2012 19:46, Dian Djaelani <[email protected]> ha scritto: > this error > > Tue Apr 3 00:37:28 2012 [ReM][D]: HostInfo method invoked > Tue Apr 3 00:37:41 2012 [InM][I]: Monitoring host vmware (9) > Tue Apr 3 00:37:43 2012 [InM][I]: Command execution fail: > /var/lib/one/remotes/im/run_probes vmware 9 vmware > Tue Apr 3 00:37:43 2012 [InM][E]: vmware.rb: Error executing: virsh -c > --readonly nodeinfo err: ExitCode: 1 > Tue Apr 3 00:37:43 2012 [InM][I]: out: failed to connect to the hypervisor > Tue Apr 3 00:37:43 2012 [InM][I]: ./vmware.rb:109: undefined local variable > or method `info' for #<Object:0x7f8d7bdf12a8> (NameError) > Tue Apr 3 00:37:43 2012 [InM][E]: Error executing vmware.rb > Tue Apr 3 00:37:43 2012 [InM][I]: ExitCode: 1 > Tue Apr 3 00:37:43 2012 [InM][E]: Error monitoring host 9 : MONITOR FAILURE > 9 Error executing vmware.rb > > > On 4/2/2012 11:59 PM, Tino Vazquez wrote: >> >> Hi >> >> Please send oyur query to the users mailing list, attaching >> /var/lib/one/oned.log >> >> Regards, >> >> -Tino >> >> -- >> Constantino Vázquez Blanco, MSc >> Project Engineer >> OpenNebula - The Open-Source Solution for Data Center Virtualization >> www.OpenNebula.org | @tinova79 | @OpenNebula >> >> >> >> On Mon, Apr 2, 2012 at 6:47 PM, Dian Djaelani<[email protected]> >> wrote: >>> >>> Hallo Tino, >>> >>> can you give me advice how to configure opennebula with hosts vmware >>> esxi? >>> i always error when add hosts >>> >>> opennebula version 3.3 >>> vmware esxi 5 >>> >>> my config >>> # Libvirt congfiguration >>> :libvirt_uri: "esx://175.103.xx.x/?no_verify=1" >>> >>> # Username and password of the VMware hypervisor >>> :username: "oneadmin" >>> :password: >>> >>> # VMotion configuration attributes >>> :datacenter: "ha-datacenter" >>> :vcenter: >>> >>> please help >>> >>> -- >>> Regards, >>> >>> Dian Djaelani >>> [email protected] >>> > > > -- > Regards, > > Dian Djaelani > [email protected] > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > -- Carlo Bongiovanni Liberologico S.r.l. web: www.liberologico.com Address: Sardegna Ricerche, Edificio 2 Località Piscinamanna 09010 Pula (CA) - Italia Tel. +39 070 9243.2647 callto://pacman81 gtalk: carlo.bongiovanni _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
