[one-users] Opennebula - Adding esx host
Tino Vazquez
tinova at opennebula.org
Wed Jun 22 10:22:26 PDT 2011
Hi Arun,
Ok, so looks like the problem is not in the general configuration files,
let's try now with the wrapper:
# $ONE_LOCATION/lib/mads/one_im_sh
MONITOR 0 10.209.34.135 -
Regards,
-Tino
--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79
On Wed, Jun 22, 2011 at 5:10 PM, Arun Vadakepatenna Thekepat <
athekepat at sapient.com> wrote:
> **
> hi,
>
> oneadmin at ubuntu10:~$ ruby -dw /usr/lib/one/mads/one_im_sh.rb
> <internal:lib/rubygems/defaults>:24: warning: statement not reached
> <internal:lib/rubygems/defaults>:76: warning: statement not reached
> /usr/lib/one/ruby/ActionManager.rb:277: warning: mismatched indentations at
> 'end' with 'def' at 260
>
> MONITOR 0 10.209.34.135 -
> MONITOR SUCCESS 0
>
> ^CException `Interrupt' at /usr/lib/ruby/1.9.1/thread.rb:71 -
> /usr/lib/ruby/1.9.1/thread.rb:71:in `sleep': Interrupt
> from /usr/lib/ruby/1.9.1/thread.rb:71:in `wait'
> from /usr/lib/one/ruby/ActionManager.rb:168:in `block in
> start_listener'
> from <internal:prelude>:10:in `synchronize'
> from /usr/lib/one/ruby/ActionManager.rb:166:in `start_listener'
> from /usr/lib/one/ruby/OpenNebulaDriver.rb:73:in `start_driver'
> from /usr/lib/one/mads/one_im_sh.rb:85:in `<main>'
>
> Regards,
> Arun
>
> ------------------------------
> *From:* Tino Vazquez [mailto:tinova at opennebula.org]
> *Sent:* Wednesday, June 22, 2011 2:15 PM
>
> *To:* Arun Vadakepatenna Thekepat
> *Cc:* users at lists.opennebula.org
> *Subject:* Re: [one-users] Opennebula - Adding esx host
>
> 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/4b81f817/attachment-0003.htm>
More information about the Users
mailing list