[one-users] Opennebula - Adding esx host
Tino Vazquez
tinova at opennebula.org
Wed Jun 22 01:44:51 PDT 2011
Hi Arun,
Let's try the driver by hand. Type the following and hit return
$ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb
The program will expect a message from the standard input:
MONITOR 0 10.209.34.135 -
Please send the output from this.
Regards,
-Tino
--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79
On Wed, Jun 22, 2011 at 6:19 AM, Arun Vadakepatenna Thekepat <
athekepat at sapient.com> wrote:
> **
> Hi Tino,
>
> Please find the oned logs below:
>
> Tue Jun 21 20:09:04 2011 [ReM][D]: HostPoolInfo method invoked
> Tue Jun 21 20:09:04 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Tue Jun 21 20:09:14 2011 [InM][I]: Monitoring host 10.209.47.26 (0)
> Tue Jun 21 20:09:15 2011 [InM][D]: Host 0 successfully monitored.
> *Tue Jun 21 20:09:15 2011 [ONE][E]: syntax error, unexpected $end,
> expecting VARIABLE at line 2, columns 1:2
> *Tue Jun 21 20:09:15 2011 [InM][E]: Error parsing host information:
> Tue Jun 21 20:09:57 2011 [InM][I]: --Mark--
> Tue Jun 21 20:10:02 2011 [ReM][D]: HostPoolInfo method invoked
> Tue Jun 21 20:10:03 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Tue Jun 21 20:10:21 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
> Tue Jun 21 20:10:32 2011 [ReM][D]: HostPoolInfo method invoked
> Tue Jun 21 20:10:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Tue Jun 21 20:10:37 2011 [ReM][D]: ImagePoolInfo method invoked
> Tue Jun 21 20:10:53 2011 [InM][I]: Monitoring host 10.209.34.135 (1)
> Tue Jun 21 20:10:54 2011 [InM][D]: Host 1 successfully monitored.
> *Tue Jun 21 20:10:54 2011 [ONE][E]: syntax error, unexpected $end,
> expecting VARIABLE at line 2, columns 1:2
> *Tue Jun 21 20:10:54 2011 [InM][E]: Error parsing host information:
>
> 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?
>
> Regards,
> Arun
>
> ------------------------------
> *From:* Tino Vazquez [mailto:tinova at opennebula.org]
> *Sent:* Tuesday, June 21, 2011 10:02 PM
>
> *To:* Arun Vadakepatenna Thekepat
> *Cc:* users at lists.opennebula.org
> *Subject:* Re: [one-users] Opennebula - Adding esx host
>
> Hi,
>
> Could you send the contents of $ONE_LOCATION/var/oned.log?
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org | @tinova79
>
>
> On Tue, Jun 21, 2011 at 6:18 PM, Arun Vadakepatenna Thekepat <
> athekepat at sapient.com> wrote:
>
>> **
>> Hi Tino,
>>
>> Thank you very much.
>>
>> I am able to add the host, but state is error.
>>
>> oneadmin at ubuntu10:~$ onehost list
>> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM
>> STAT
>> 0 10.209.47.26 default 0 0 0
>> 100 0K 0K *err
>> * 1 10.209.34.135 default 0 0 0
>> 100 0K 0K *err*
>>
>> Sunstone logs:
>>
>> 10.209.47.48 - - [21/Jun/2011 09:49:21] "GET /vm?timeout=true HTTP/1.1"
>> 200 22 0.0062
>> 10.209.47.48 - - [21/Jun/2011 09:49:21] "GET /vm?timeout=true HTTP/1.1"
>> 200 22 0.0073
>> 10.209.47.48 - - [21/Jun/2011 09:49:33] "GET /image?timeout=true HTTP/1.1"
>> 200 25 0.0065
>> 10.209.47.48 - - [21/Jun/2011 09:49:33] "GET /image?timeout=true HTTP/1.1"
>> 200 25 0.0075
>> 10.209.47.48 - - [21/Jun/2011 09:49:33] "GET /vnet?timeout=true HTTP/1.1"
>> 200 24 0.0048
>> 10.209.47.48 - - [21/Jun/2011 09:49:33] "GET /vnet?timeout=true HTTP/1.1"
>> 200 24 0.0057
>> 10.209.47.48 - - [21/Jun/2011 09:49:33] "GET /host?timeout=true HTTP/1.1"
>> 200 1442 0.0153
>> 10.209.47.48 - - [21/Jun/2011 09:49:33] "GET /host?timeout=true HTTP/1.1"
>> 200 1442 0.0162
>> 10.209.47.48 - - [21/Jun/2011 09:49:45] "GET /cluster?timeout=true
>> HTTP/1.1" 200 170 0.0066
>> 10.209.47.48 - - [21/Jun/2011 09:49:45] "GET /cluster?timeout=true
>> HTTP/1.1" 200 170 0.0075
>>
>> Please advice.
>>
>> Regards,
>> Arun
>>
>>
>> ------------------------------
>> *From:* Tino Vazquez [mailto:tinova at opennebula.org]
>> *Sent:* Monday, June 20, 2011 4:55 PM
>> *To:* Arun Vadakepatenna Thekepat
>>
>> *Cc:* users at lists.opennebula.org
>> *Subject:* Re: [one-users] Opennebula - Adding esx host
>>
>> Hi Arun,
>>
>> You can add an ESX host using the "onehost" command:
>>
>> $ onehost add im_vmware vmm_vmware tm_vmware
>>
>> We'll take a look into the missing option in Sunstone.
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco, MSc
>> OpenNebula Major Contributor
>> www.OpenNebula.org | @tinova79
>>
>>
>> On Mon, Jun 20, 2011 at 6:03 AM, Arun Vadakepatenna Thekepat <
>> athekepat at sapient.com> wrote:
>>
>>>
>>> Hi,
>>>
>>> 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.
>>>
>>> I followed the link *
>>> http://www.opennebula.org/documentation:rel2.2:evmwareg*<http://www.opennebula.org/documentation:rel2.2:evmwareg>to configure it.
>>>
>>> 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.
>>>
>>> Please advice.
>>>
>>> Regards,
>>> Arun.
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110622/75c442e9/attachment-0003.htm>
More information about the Users
mailing list