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 class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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>