<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=594510915-22062011><FONT color=#0000ff
size=2 face=Arial>hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594510915-22062011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594510915-22062011><FONT color=#0000ff
size=2 face=Arial><A href="mailto:oneadmin@ubuntu10:~$">oneadmin@ubuntu10:~$</A>
ruby -dw
/usr/lib/one/mads/one_im_sh.rb<BR><internal:lib/rubygems/defaults>:24:
warning: statement not reached<BR><internal:lib/rubygems/defaults>:76:
warning: statement not reached<BR>/usr/lib/one/ruby/ActionManager.rb:277:
warning: mismatched indentations at 'end' with 'def' at 260<BR>MONITOR 0
10.209.34.135 -<BR>MONITOR SUCCESS 0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=594510915-22062011><FONT color=#0000ff
size=2 face=Arial>^CException `Interrupt' at /usr/lib/ruby/1.9.1/thread.rb:71
-<BR>/usr/lib/ruby/1.9.1/thread.rb:71:in `sleep':
Interrupt<BR> from
/usr/lib/ruby/1.9.1/thread.rb:71:in
`wait'<BR> from
/usr/lib/one/ruby/ActionManager.rb:168:in `block in
start_listener'<BR> from
<internal:prelude>:10:in
`synchronize'<BR> from
/usr/lib/one/ruby/ActionManager.rb:166:in
`start_listener'<BR> from
/usr/lib/one/ruby/OpenNebulaDriver.rb:73:in
`start_driver'<BR> from
/usr/lib/one/mads/one_im_sh.rb:85:in `<main>'<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594510915-22062011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=594510915-22062011><FONT color=#0000ff
size=2 face=Arial>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=594510915-22062011><FONT color=#0000ff
size=2 face=Arial>Arun</DIV></FONT></SPAN><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Tino Vazquez
[mailto:tinova@opennebula.org] <BR><B>Sent:</B> Wednesday, June 22, 2011 2:15
PM<BR><B>To:</B> Arun Vadakepatenna Thekepat<BR><B>Cc:</B>
users@lists.opennebula.org<BR><B>Subject:</B> Re: [one-users] Opennebula -
Adding esx host<BR></FONT><BR></DIV>
<DIV></DIV>Hi Arun,
<DIV><BR></DIV>
<DIV>
<DIV>Let's try the driver by hand. Type the following and hit return</DIV>
<DIV><BR></DIV>
<DIV>$ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb</DIV>
<DIV><BR></DIV>
<DIV>The program will expect a message from the standard input:</DIV>
<DIV><BR></DIV>
<DIV>MONITOR 0 10.209.34.135 -</DIV>
<DIV><BR></DIV>
<DIV>Please send the output from this.</DIV>
<DIV><BR></DIV>
<DIV>Regards,</DIV>
<DIV><BR></DIV>
<DIV>-Tino</DIV>
<DIV><BR clear=all>--<BR>Constantino Vázquez Blanco, MSc <BR>OpenNebula
Major Contributor<BR><A href="http://www.OpenNebula.org"
target=_blank>www.OpenNebula.org</A> | @tinova79<BR><BR><BR>
<DIV class=gmail_quote>On Wed, Jun 22, 2011 at 6:19 AM, Arun Vadakepatenna
Thekepat <SPAN dir=ltr><<A
href="mailto:athekepat@sapient.com">athekepat@sapient.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><U></U>
<DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2 face=Arial>Hi
Tino,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2 face=Arial>Please
find the oned logs below:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2 face=Arial>Tue Jun
21 20:09:04 2011 [ReM][D]: HostPoolInfo method invoked<BR>Tue Jun 21
20:09:04 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Tue Jun 21
20:09:14 2011 [InM][I]: Monitoring host 10.209.47.26 (0)<BR>Tue Jun 21
20:09:15 2011 [InM][D]: Host 0 successfully monitored.<BR><STRONG>Tue Jun 21
20:09:15 2011 [ONE][E]: syntax error, unexpected $end, expecting VARIABLE at
line 2, columns 1:2<BR></STRONG>Tue Jun 21 20:09:15 2011 [InM][E]: Error
parsing host information:<BR></FONT></SPAN><FONT color=#0000ff size=2
face=Arial>Tue Jun 21 20:09:57 2011 [InM][I]: --Mark--<BR>Tue Jun 21
20:10:02 2011 [ReM][D]: HostPoolInfo method invoked<BR>Tue Jun 21 20:10:03
2011 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Tue Jun 21 20:10:21
2011 [ReM][D]: VirtualNetworkPoolInfo method invoked<BR>Tue Jun 21 20:10:32
2011 [ReM][D]: HostPoolInfo method invoked<BR>Tue Jun 21 20:10:32 2011
[ReM][D]: VirtualMachinePoolInfo method invoked<BR>Tue Jun 21 20:10:37 2011
[ReM][D]: ImagePoolInfo method invoked<BR>Tue Jun 21 20:10:53 2011 [InM][I]:
Monitoring host 10.209.34.135 (1)<BR>Tue Jun 21 20:10:54 2011 [InM][D]: Host
1 successfully monitored.<BR><STRONG>Tue Jun 21 20:10:54 2011 [ONE][E]:
syntax error, unexpected $end, expecting VARIABLE at line 2, columns
1:2<BR></STRONG>Tue Jun 21 20:10:54 2011 [InM][E]: Error parsing host
information:<BR></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial></FONT> </DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2 face=Arial>I have
checked many threads regarding this error on users lists, but not able to
resolve it. Is it a mismatch in syntax for vmware addon
2.2?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>R<SPAN>egards,</SPAN></FONT></FONT></FONT></DIV>
<DIV><SPAN></SPAN><SPAN></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>A<SPAN>run</SPAN></FONT></FONT></FONT><BR></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<DIV dir=ltr lang=en-us align=left>
<HR>
<FONT size=2 face=Tahoma>
<DIV class=im><B>From:</B> Tino Vazquez [mailto:<A
href="mailto:tinova@opennebula.org"
target=_blank>tinova@opennebula.org</A>] <BR></DIV><B>Sent:</B> Tuesday,
June 21, 2011 10:02 PM
<DIV>
<DIV></DIV>
<DIV class=h5><BR><B>To:</B> Arun Vadakepatenna Thekepat<BR><B>Cc:</B> <A
href="mailto:users@lists.opennebula.org"
target=_blank>users@lists.opennebula.org</A><BR><B>Subject:</B> Re:
[one-users] Opennebula - Adding esx host<BR></DIV></DIV></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV></DIV>Hi,
<DIV><BR></DIV>
<DIV>Could you send the contents of $ONE_LOCATION/var/oned.log?</DIV>
<DIV><BR></DIV>
<DIV>Regards,</DIV>
<DIV><BR></DIV>
<DIV>-Tino</DIV>
<DIV><BR clear=all>--<BR>Constantino Vázquez Blanco, MSc
<BR>OpenNebula Major Contributor<BR><A
href="http://www.OpenNebula.org" target=_blank>www.OpenNebula.org</A>
| @tinova79<BR><BR><BR>
<DIV class=gmail_quote>On Tue, Jun 21, 2011 at 6:18 PM, Arun Vadakepatenna
Thekepat <SPAN dir=ltr><<A href="mailto:athekepat@sapient.com"
target=_blank>athekepat@sapient.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><U></U>
<DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2 face=Arial>Hi
Tino,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial>Thank you very much.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2 face=Arial>I am
able to add the host, but state is error.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2 face=Arial><A
href="mailto:oneadmin@ubuntu10:~$"
target=_blank>oneadmin@ubuntu10:~$</A> onehost list<BR> ID
NAME
CLUSTER RVM TCPU FCPU
ACPU TMEM FMEM STAT<BR>
0 10.209.47.26
default
0
0
0
100
0K
0K
<STRONG>err<BR></STRONG> 1
10.209.34.135
default
0
0
0
100
0K
0K
<STRONG>err</STRONG></FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>Sunstone
logs:</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>10.209.47.48 - -
[21/Jun/2011 09:49:21] "GET /vm?timeout=true HTTP/1.1" 200 22
0.0062<BR>10.209.47.48 - - [21/Jun/2011 09:49:21] "GET /vm?timeout=true
HTTP/1.1" 200 22 0.0073<BR>10.209.47.48 - - [21/Jun/2011 09:49:33] "GET
/image?timeout=true HTTP/1.1" 200 25 0.0065<BR>10.209.47.48 - -
[21/Jun/2011 09:49:33] "GET /image?timeout=true HTTP/1.1" 200 25
0.0075<BR>10.209.47.48 - - [21/Jun/2011 09:49:33] "GET
/vnet?timeout=true HTTP/1.1" 200 24 0.0048<BR>10.209.47.48 - -
[21/Jun/2011 09:49:33] "GET /vnet?timeout=true HTTP/1.1" 200 24
0.0057<BR>10.209.47.48 - - [21/Jun/2011 09:49:33] "GET
/host?timeout=true HTTP/1.1" 200 1442 0.0153<BR>10.209.47.48 - -
[21/Jun/2011 09:49:33] "GET /host?timeout=true HTTP/1.1" 200 1442
0.0162<BR>10.209.47.48 - - [21/Jun/2011 09:49:45] "GET
/cluster?timeout=true HTTP/1.1" 200 170 0.0066<BR>10.209.47.48 - -
[21/Jun/2011 09:49:45] "GET /cluster?timeout=true HTTP/1.1" 200 170
0.0075</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2
face=Arial><BR></FONT></SPAN><SPAN><FONT color=#0000ff size=2
face=Arial>Please advice.</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN><FONT color=#0000ff size=2
face=Arial>Regards,</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2
face=Arial>Arun</FONT></SPAN></DIV>
<DIV dir=ltr align=left><BR></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<DIV dir=ltr lang=en-us align=left>
<HR>
<FONT size=2 face=Tahoma><B>From:</B> Tino Vazquez [mailto:<A
href="mailto:tinova@opennebula.org"
target=_blank>tinova@opennebula.org</A>] <BR><B>Sent:</B> Monday, June
20, 2011 4:55 PM<BR><B>To:</B> Arun Vadakepatenna Thekepat
<DIV><BR><B>Cc:</B> <A href="mailto:users@lists.opennebula.org"
target=_blank>users@lists.opennebula.org</A><BR></DIV>
<DIV><B>Subject:</B> Re: [one-users] Opennebula - Adding esx
host<BR></DIV></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV>
<DIV></DIV>Hi Arun,
<DIV><BR></DIV>
<DIV>You can add an ESX host using the "onehost" command:</DIV>
<DIV><BR></DIV>
<DIV>$ onehost add im_vmware vmm_vmware tm_vmware</DIV>
<DIV><BR></DIV>
<DIV>We'll take a look into the missing option in Sunstone.</DIV>
<DIV><BR></DIV>
<DIV>Regards,</DIV>
<DIV><BR></DIV>
<DIV>-Tino</DIV>
<DIV><BR clear=all>--<BR>Constantino Vázquez Blanco, MSc
<BR>OpenNebula Major Contributor<BR><A
href="http://www.OpenNebula.org" target=_blank>www.OpenNebula.org</A>
| @tinova79<BR><BR><BR>
<DIV class=gmail_quote>On Mon, Jun 20, 2011 at 6:03 AM, Arun
Vadakepatenna Thekepat <SPAN dir=ltr><<A
href="mailto:athekepat@sapient.com"
target=_blank>athekepat@sapient.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV><FONT size=3 face="Arial, sans-serif">
<DIV> </DIV>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I have installed opennebula 2.2 ( system
wide) in ubuntu 10.10 ( ESX VM). I installed vmware addon
also. But I am not able to add ESX host to opennebula.
Passowrdless authentication is enabled.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I followed the link <A
href="http://www.opennebula.org/documentation:rel2.2:evmwareg"
target=_blank><FONT
color=#0000ff><U>http://www.opennebula.org/documentation:rel2.2:evmwareg</U></FONT></A>
to configure it.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I tried from sunstone GUI, but there is no option
to add vmware host in the drop down list. The " create new
host" dialog has options for KVM, XEN, EC2 and Dummy only.
</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Please advice.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Regards,</FONT></DIV>
<DIV><FONT size=2>Arun.</FONT></DIV>
<DIV><FONT
size=2></FONT> </DIV></FONT></DIV><BR>_______________________________________________<BR>Users
mailing list<BR><A href="mailto:Users@lists.opennebula.org"
target=_blank>Users@lists.opennebula.org</A><BR><A
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target=_blank>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>Users
mailing list<BR><A href="mailto:Users@lists.opennebula.org"
target=_blank>Users@lists.opennebula.org</A><BR><A
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target=_blank>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></BODY></HTML>