[one-users] Trouble with VMWare installation and configuration with vmware support

Juan José Fuentes Juanjose.Fuentes at sigmaaie.org
Fri Jul 15 09:30:24 PDT 2011


Hi all,

I'm starting configuring OpenNebula and I'm getting some trouble, both trying to configure it right and finding documentation, mostly because I want to use it with vmware support to still using the vmware server virtual machines I already have, at least I hope I could do that, if that's not possible I'll stop using OpenNebula.

Until now I have installed OpenNebula 2.2 on a server (sigcloud01), in this server I've installed libvirt and the vmware extension (vmware-2.2.0.tar.gz). Also I have one host node (sigcloud02) on which I've installed VMWare Server 2.0.2. According to the posts/docs I read I think it's necessary to install vmware server on the client node or it isn't, so I'm not sure.

I also have installed SunStone on the OpenNebula Server.

At this point when I add a host to opennebula it always is in ERR status.

The command I use is: onehost create sigcloud02 im_vmware vmm_vmware tm_vmware

The oned.log says:
Fri Jul 15 17:55:11 2011 [ReM][D]: HostAllocate method invoked
Fri Jul 15 17:55:18 2011 [ReM][D]: HostPoolInfo method invoked
Fri Jul 15 17:55:18 2011 [InM][I]: Monitoring host sigcloud02 (2)
Fri Jul 15 17:55:18 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Fri Jul 15 17:55:18 2011 [InM][I]: Command execution fail: /var/lib/one/remotes/im/run_probes vmware sigcloud02
Fri Jul 15 17:55:18 2011 [InM][I]: STDERR follows.
Fri Jul 15 17:55:18 2011 [InM][I]: ./vmware.rb:61: undefined method `+' for nil:NilClass (NoMethodError)
Fri Jul 15 17:55:18 2011 [InM][I]: Error executing vmware.rb
Fri Jul 15 17:55:18 2011 [InM][I]: ExitCode: 1
Fri Jul 15 17:55:18 2011 [InM][E]: Error monitoring host 2 : MONITOR FAILURE 2 Could not monitor host sigcloud02.

Some help will be wellcome!

Thank you in advance,

Juanjo.



De: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] En nombre de Amine Ghrab
Enviado el: miércoles, 06 de julio de 2011 12:12
Para: users at lists.opennebula.org
Asunto: [one-users] OpenNebula OCCI 1.1

Hi,

I've successfully installed OpenNebula Express, for test purposes, using 2 machines.

Now I'm struggling to get the OCCI Server up following this wiki : http://dev.opennebula.org/projects/ogf-occi/wiki/Occi_02
and using this file: http://dev.opennebula.org/attachments/download/376/ogf-occi-0.2.zip

occi-server.conf  and occi-one.conf are similar to : http://www.mail-archive.com/users@lists.opennebula.org/msg03257.html

occi-one.conf : http://pastebin.com/nAW16qpc
occi-server.conf : http://pastebin.com/tLpHB12K

When startin gthe server i get :

oneadmin at amine-front:~$occi-server start
Error executing /usr/lib/one/ruby/cloud/occi/occi-server.rb.
oneadmin at amine-front:~$ occi-server stop
occi-server stopped

The only line of the log is : Error starting server: No VM_TYPE defined.

The other problem is :

oneadmin at amine-frontend:~$ occi-compute --username oneadmin --password oneadmin list
Error connecting to server (Connection refused - connect(2)).
Server: localhost:4567

The installation is system wide, hence I have the following schema:

oneadmin at amine-front:~$ ls /etc/one/
auth                         im_kvm                           occi-server.conf            tm_lvm
defaultrc                   im_xen                            occi-server.conf.old      tm_nfs
ec2query_templates  occi-one.conf                   occi-server.conf.orig     tm_ssh
econe.conf               occi-one.conf.old              occi_templates            vmm_ec2
hm                           occi_one_templates         oned.conf                    vmm_sh
im_ec2                     occi_one_templates.old    tm_dummy                  vmm_ssh
Best Regards.

Amine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110715/f7836d5c/attachment-0002.htm>


More information about the Users mailing list