Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-28 Thread antoni artigues
Message- From: Tino Vazquez [mailto:tinov...@gmail.com] Sent: Wednesday, April 27, 2011 5:49 AM To: Tim Dunlevy Cc: users@lists.opennebula.org Subject: Re: [one-users] Asking about VMWARE ESX and OpenNebula Hi Tim, This looks like a bug. Could you change line 116

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-28 Thread Tino Vazquez
Subject: Re: [one-users] Asking about VMWARE ESX and OpenNebula Hi Tim, This looks like a bug. Could you change line 116 of $ONE_LOCATION/lib/ruby/OpenNebula/XMLUtils.rb to:           self.each(filter.to_s) { |e|  ids_array e.text } and try again. If this works, please come back

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Tino Vazquez
Dear Hoang, You need to set the ESX user credentials in $ONE_LOCATION/etc/vmwarerc. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Wed, Apr 27, 2011 at 3:05 AM, Hoang Dinh Phuc hdp...@gmail.com wrote: Hi Tino Vazquez, here

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Hoang Dinh Phuc
Hi Tino, Here is the content of $ONE_LCATION/etc/vmwarerc LIBVIRT_URI = esx://@HOST@/?no_verify=1 QEMU_PROTOCOL = qemu # Username and password of the VMware hypervisor USERNAME = oneadmin PASSWORD = # Loading the vmware library for mads # Please leave this uncommented load

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Tino Vazquez
Hi, You need to set a valid user in the ESX hypervisor, _not_ a opennebula or linux user. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Wed, Apr 27, 2011 at 3:03 PM, Hoang Dinh Phuc hdp...@gmail.com wrote: Hello Tino,

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-26 Thread Tino Vazquez
Hi, Yes please input the following two lines: -- INIT -- The answer should be -- INIT SUCCESS -- and the also enter the following -- MONITOR 0 name_of_host - -- and send the output. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | 

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-26 Thread Tim Dunlevy
Having the exact same issue here. Here are the results I am getting: [oneadmin@opennebula-01 mads]$ ruby -dw one_im_sh.rb INIT INIT SUCCESS - - MONITOR 0 10.10.2.108 - MONITOR SUCCESS 0 Exception `Interrupt' at /usr/lib/one/ruby/ActionManager.rb:168 -

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-26 Thread antoni artigues
Hello I have the same issue. With the latest version of OpenNebula and vmware driver addon. Here are the results: $ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb INIT INIT SUCCESS - - MONITOR 0 oscarnode2 - MONITOR SUCCESS 0 So. Where is the problem? It's seems is a kind of bug. Thanks in

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-26 Thread Tino Vazquez
Dear Hoang, My apologies, the test i was asking for was not complete (it was lacking a paramenter to the mad). In any case, I think the problem may be in the way ONE 2.0+ handles the remotes. The VMware Addon only copies to $ONE_LOCATION/lib/remotes, when it should copy also to

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-26 Thread Hoang Dinh Phuc
Hi, Is any mistake in your command? I've change the path like this: $ mkdir -p $ONE_LOCATION/var/remotes/im/vmware.d cp -r *$ONE_LOCATION/lib/remotes/im/vmware.d/* *$ONE_LOCATION/var/remotes/im/vmware.d and $ mkdir -p $ONE_LOCATION/var/remotes/vmm/vmware cp -r *

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-26 Thread Tino Vazquez
Hi, The commands should work without modification (note that they should be run from inside the vmware addon installation folder), although your modification should also work. Could you send the output of -- $ tree $ONE_LOCATION/var -- and -- $ $ONE_LOCATION/lib/mads/one_im_sh vmware INIT

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-26 Thread Tino Vazquez
Dea all, Please try the solution proposed in [1], and let us know wether it works. Regards, -Tino [1] http://www.mail-archive.com/users@lists.opennebula.org/msg02723.html -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-25 Thread Tino Vazquez
Hi, Let's see what happens if the driver is executed by hand, please send the output of: $ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb INIT MONITOR 0 name_of_host - Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Apr

[one-users] Asking about VMWARE ESX and OpenNebula

2011-04-18 Thread Hoang Dinh Phuc
Hello all, I've already installed OpenNebula 2.2 on CentOS and add KVM host to OpenNebula. Now, i want to add ESX Server (VMWARE) to be managed by the OpenNebula. But it make an error. Here is my oned.conf: VM_MAD = [ name = vmm_vmware, executable = one_vmm_sh, arguments =