[one-users] OpenNebula test data

2011-06-21 Thread 高建平
Hi,
Is anyone know the max num of host and vm  that OpenNebula surport , and 
the max vm num when i concurrently create VM , or is there any test data or 
file that can be reference .
  
 Regards.___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula - Adding esx host

2011-06-21 Thread Arun Vadakepatenna Thekepat
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:tin...@opennebula.org]
Sent: Tuesday, June 21, 2011 10:02 PM
To: Arun Vadakepatenna Thekepat
Cc: users@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 
mailto:atheke...@sapient.com>> wrote:
Hi Tino,

Thank you very much.

I am able to add the host, but state is error.

oneadmin@ubuntu10:~$ onehost list
  ID  NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM STAT
   0 10.209.47.26  default0  0 0 100
 0K0Kerr
   1 10.209.34.135 default   0  0 0 100 
0K0K 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:tin...@opennebula.org]
Sent: Monday, June 20, 2011 4:55 PM
To: Arun Vadakepatenna Thekepat

Cc: users@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 
mailto:atheke...@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 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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users 

Re: [one-users] VM not pingable after Live migration

2011-06-21 Thread Adnan Pasic
I’m sorry, no! I’m still trying to figure out how this could be done. Maybe the 
developers could have an idea? Carlos & Co.?

 

Regards.

 

Von: Khoa Nguyen [mailto:vankhoa...@gmail.com] 
Gesendet: Dienstag, 21. Juni 2011 16:31
An: Adnan Pasic
Betreff: Re: [one-users] VM not pingable after Live migration

 


Hi all,

I have the same problem with you but I don't solve. Do you find the way to 
solve it ? 

On Tue, Jun 21, 2011 at 12:04 AM, Adnan Pasic  wrote:

Hello,
well, actually this command gives me as result that the virbr0-bridge is 
connected to the vnet0-interface. Is this what you meant? How could I change 
this to eth0?
And would the VM then be pingable after the migration as well??

Thanks for your help!
Best regards, Adnan

-Ursprüngliche Nachricht-
Von: Justin Cinkelj [mailto:justin.cink...@xlab.si]
Gesendet: Montag, 20. Juni 2011 08:44
An: Adnan Pasic
Cc: users@lists.opennebula.org
Betreff: Re: [one-users] VM not pingable after Live migration


I assume this would occur if VM's network interface is connected to a
bridge, and bridge is not connected to to a physical network interface.
'brctl show' should show if this is the case.

Regards, justin


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Nguyễn Vũ Văn Khoa
Đại học Khoa Học Tự Nhiên TP HCM



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Cloud in a box

2011-06-21 Thread Carlos Martín Sánchez
Hi Robert,

That's excellent news. Thank you for your interest and your effort!

Best regards,
Carlos.
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org  | cmar...@opennebula.org


On Mon, Jun 20, 2011 at 11:44 PM, Robert Schweikert
wrote:

> Hi,
>
> Thanks again for all the help over the last few weeks while I was working
> on getting the openSUSE things in order. As promissed/threatened at the time
> I am sharing the results of my effort.
>
> http://en.opensuse.org/SDB:**KIWI_Cookbook_ONebula_Cloud
>
> Describes how one can set up an OpenNebula cloud using images built with
> KIWI (http://kiwi.berios.de). With this one can have a cloud up and
> running in less than 2 hours (including the time it takes to build the
> images).
>
> Enjoy,
> Robert
>
> --
> Robert Schweikert   MAY THE SOURCE BE WITH YOU
> SUSE-IBM Software Integration Center   LINUX
> Tech Lead
> rschweik...@novell.com
> rschweik...@ca.ibm.com
> 781-464-8147
>
> __**_
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula - Adding esx host

2011-06-21 Thread Tino Vazquez
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 <
atheke...@sapient.com> wrote:

> **
> Hi Tino,
>
> Thank you very much.
>
> I am able to add the host, but state is error.
>
> oneadmin@ubuntu10:~$ onehost list
>   ID  NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM
> STAT
>0 10.209.47.26  default0  0 0
> 100 0K0K*err
> *   1 10.209.34.135 default   0  0 0
> 100 0K0K *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:tin...@opennebula.org]
> *Sent:* Monday, June 20, 2011 4:55 PM
> *To:* Arun Vadakepatenna Thekepat
>
> *Cc:* users@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 <
> atheke...@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*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@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula - Adding esx host

2011-06-21 Thread Arun Vadakepatenna Thekepat
Hi Tino,

Thank you very much.

I am able to add the host, but state is error.

oneadmin@ubuntu10:~$ onehost list
  ID  NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM STAT
   0 10.209.47.26  default0  0 0 100
 0K0Kerr
   1 10.209.34.135 default   0  0 0 100 
0K0K 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:tin...@opennebula.org]
Sent: Monday, June 20, 2011 4:55 PM
To: Arun Vadakepatenna Thekepat
Cc: users@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 
mailto:atheke...@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 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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] issue with LVM storage

2011-06-21 Thread Prakhar Srivastava
Hi,
When I try to create to VM on a cluster node using tm_lvm mode. I get the
following error.

Tue Jun 21 19:50:24 2011 [DiM][I]: New VM state is ACTIVE.
Tue Jun 21 19:50:24 2011 [LCM][I]: New VM state is PROLOG.
Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh:
iCloud:/srv/cloud/one/var//images/56cee3989f620fc82e2af24ed4aeffcdc84b125b
192.168.145.105:/srv/cloud/one/var//211/images/disk.0
Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: DST:
/srv/cloud/one/var//211/images/disk.0
Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Creating directory
/srv/cloud/one/var//211/images
Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh
192.168.145.105 mkdir -p /srv/cloud/one/var//211/images".
Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Creating LV lv-one-211-0
Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh
192.168.145.105 /usr/bin/sudo /sbin/lvcreate -L1G -n lv-one-211-0 one-data".
Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh
192.168.145.105 ln -s /dev/one-data/lv-one-211-0
/srv/cloud/one/var//211/images/disk.0".
Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Dumping Image
Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Executed "eval cat
/srv/cloud/one/var//images/56cee3989f620fc82e2af24ed4aeffcdc84b125b |
/usr/bin/ssh 192.168.145.105 /usr/bin/sudo /bin/dd
of=/dev/one-data/lv-one-211-0 bs=64k".
Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Creating 1024Mb image in
/srv/cloud/one/var//211/images/disk.1
Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Executed "/usr/bin/ssh
192.168.145.105 mkdir -p /srv/cloud/one/var//211/images".
Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Executed "/usr/bin/ssh
192.168.145.105 /bin/dd if=/dev/zero
of=/srv/cloud/one/var//211/images/disk.1 bs=1 count=1 seek=1024M".
Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Initializing swap space
Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Executed "/usr/bin/ssh
192.168.145.105 /sbin/mkswap /srv/cloud/one/var//211/images/disk.1".
Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Executed "/usr/bin/ssh
192.168.145.105 chmod a+w /srv/cloud/one/var//211/images/disk.1".
Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "mkdir -p
/srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles".
Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "cp -R
/srv/cloud/one/var/211/context.sh
/srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles".
Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "cp -R
/home/cloud/opennebula/images/init.sh
/srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles".
Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "cp -R
/root/.ssh/id_dsa.pub
/srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles".
Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "/usr/bin/mkisofs
-o /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/disk.2 -J -R
/srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles".
Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "/usr/bin/scp
/srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/disk.2 192.168.145.105:
/srv/cloud/one/var//211/images/disk.2".
Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "rm -rf
/srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71".
Tue Jun 21 20:04:06 2011 [LCM][I]: New VM state is BOOT
Tue Jun 21 20:04:06 2011 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/211/deployment.0
Tue Jun 21 20:04:19 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy
/srv/cloud/one/var//211/images/deployment.0; else
   exit 42; fi'
Tue Jun 21 20:04:19 2011 [VMM][I]: STDERR follows.
Tue Jun 21 20:04:19 2011 [VMM][I]: Error: Device 51712 (vbd) could not be
connected. /dev/dm-0 does not exist.
Tue Jun 21 20:04:19 2011 [VMM][I]: ExitCode: 1
*Tue Jun 21 20:04:19 2011 [VMM][E]: Error deploying virtual machine: Error:
Device 51712 (vbd) could not be connected. /dev/dm-0 does not exist.*
Tue Jun 21 20:04:19 2011 [DiM][I]: New VM state is FAILED
Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: LOG - 211 tm_delete.sh: Deleting
remote LVs

Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: LOG - 211 tm_delete.sh: Executed
"/usr/bin/ssh 192.168.145.105 /usr/bin/sudo /sbin/lvremove -f $(echo
one-data/$(/usr/bin/sudo /sbin/lvs --noheadings one-data|awk '{print
$1}'|grep lv-one-211))".

Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: LOG - 211 tm_delete.sh: Deleting
/srv/cloud/one/var//211/images

Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: LOG - 211 tm_delete.sh: Executed
"/usr/bin/ssh 192.168.145.105 rm -rf /srv/cloud/one/var//211/images".

Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: TRANSFER SUCCESS 211 -

When I check the cluster node for the /dev/dm-0, the device mapper for the
logical volume created during VM creation, it shows me that /dev/dm-0 is
present.

Hope someone could throw some light on this error.

Regards,
Prakhar
___
Users mailing list
Users@lists.opennebula.org
ht

[one-users] onevm bug: bignum too big to convert into `long'

2011-06-21 Thread Nathan Hruby
Hi folks!

I have an odd problem with onevm in that it issues a traceback when
doing a show:

===
[oneadmin@oneadmin-1 build]$ onevm list
   ID USER NAME STAT CPU MEMHOSTNAMETIME
9 oneadmin ttylinux runn   0 64M vmm-onenode-1.v 16 21:47:47
   10 oneadmin vmtest1 runn   0  8G vmm-onenode-2.v 16 21:46:31
   17 oneadmin vmtest1 runn   07.9G vmm-onenode-2.v 11 13:37:45
   20 oneadmin ttylinux runn   0 64M vmm-onenode-2.v 11 00:26:00
[oneadmin@oneadmin-1 build]$ onevm show 20
VIRTUAL MACHINE 20 INFORMATION
ID : 20
NAME   : ttylinuxttylinux
STATE  : ACTIVE
LCM_STATE  : RUNNING
/usr/bin/onevm:866:in `at': bignum too big to convert into `long' (RangeError)
from /usr/bin/onevm:866
from /usr/bin/onevm:843:in `each'
from /usr/bin/onevm:843
[oneadmin@oneadmin-1 build]$


This is on CentOS 5.6 x86_64 + EPEL5 + OpenNebula-2.2.1 +
Ruby-1.8.7-p299 (the rhel6 ruby)

The erroring value seems to be the STIME value, which when manually
run though irb yields the correct string, so I can only assume that
either the xml-rpc server is producing the incorrect result, or more
probably, I have an older ruby library that doesn't like the longer
time value.  What are the correct version dependencies for ruby
libraries for OpenNebula?

Here's what I have installed, ruby-wise:

ruby-shadow-1.4.1-7.el5.x86_64
ruby-irb-1.8.7.299-6.el5.x86_64
rubygem-sys-proctable-0.9.0-1.noarch
rubygem-mkrf-0.2.3-4.el5.noarch
rubygem-daemons-1.0.10-1.el5.noarch
rubygem-rack-test-0.4.0-1.el5.noarch
rubygem-rack-1.1.0-2.el5.noarch
ruby-ldap-0.9.7-3.el5.x86_64
ruby-1.8.7.299-6.el5.x86_64
ruby-augeas-0.4.1-1.el5.x86_64
ruby-rdoc-1.8.7.299-6.el5.x86_64
rubygem-test-unit-2.3.0-2.el5.noarch
rubygem-rake-0.8.7-2.el5.noarch
rubygem-xmlparser-0.6.81.1-2.el5.x86_64
rubygem-eventmachine-0.12.10-4.el5.x86_64
rubygem-json-1.4.3-3.el5.1.x86_64
rubygem-sinatra-1.0-2.el5.noarch
rubygem-thin-1.2.8-2.el5.x86_64
ruby-libs-1.8.7.299-6.el5.x86_64
rubygems-1.3.7-1.el5.noarch
rubygem-stomp-1.1.8-1.el5.noarch
rubygem-nokogiri-1.3.1-1.el5.x86_64

Thanks,

-n
-- 
---
nathan hruby 
metaphysically wrinkle-free
---
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Resource Allocation Policy

2011-06-21 Thread fanttazio
If in VM's template there is no requirement specification and there are more
than one host to run the VM in them, on what basis ONE chooses a host to
deploy the VM on that? what is the default policy for resource allocation?
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Error monitoring VM, Error executing sudo /usr/sbin/xentop -bi2

2011-06-21 Thread Carlos Martín Sánchez
Hi,

Maybe the problem is that OpenNebula copies updated files when the
monitorization takes place.
Could you please check that /var/tmp/one/vmm/xen/poll in your remote host
has the updated code?

Anyway, we are going to test this issue in our local infrastructure,
hopefully we'll come up with a fix soon.

Regards.
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org  | cmar...@opennebula.org


2011/6/20 María Pérez 

> **
>
> Hi Carlos,
>
> Before anything else, sorry for the delay in my answer.I have been very
> busy this past month and I haven't been able to test the patch that you
> prepared to solve the monitoring problem.
>
> Finally last week I tested the patch but the monitoring problems continue
> although the machines no longer happen to unknown state. I have executed
> from line of commands but the messages are the same that they appear
> registered in logs.
>
> [oneadmin@dn07 ~]$ /var/tmp/one/vmm/xen/poll one-28
>
> Error executing sudo /usr/sbin/xentop -bi2
> /var/tmp/one/vmm/xen/poll:186:in `get_vm_info': undefined method `[]' for
> nil:NilClass (NoMethodError)
> from /var/tmp/one/vmm/xen/poll:314:in `print_one_vm_info'
> from /var/tmp/one/vmm/xen/poll:348
>
>
> Can you think of any other thing that I could test?
>
> Thank you very much in advance.
> BR,
>
> María
>
>
>
> El 20/05/11 15:52, Carlos Martín Sánchez escribió:
>
> Hi again,
>
> The script was discarding the first lines, because other versions include
> some information about the system before the list of domains.
> Please try the patch attached in this new ticket:
> http://dev.opennebula.org/issues/656
>
> Thank you,
> Carlos.
>
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org  | cmar...@opennebula.org
>
>
> 2011/5/20 María Pérez 
>
>>
>> Hi Carlos,
>>
>> The output of 'sudo /usr/sbin/xentop -bi2' is:
>>
>> [oneadmin@dn08 ~]$ sudo /usr/sbin/xentop -bi2
>>   NAME  STATE   CPU(sec) CPU(%) MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%)
>> VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR SSID
>>   Domain-0 -r 510.0   15532060   92.6   no limit
>> n/a 850000000
>> one-44 --b---  10.010483966.21048576
>> 6.3 1111568020   68  2530
>>   NAME  STATE   CPU(sec) CPU(%) MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%)
>> VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR SSID
>>   Domain-0 -r 510.5   15532276   92.6   no limit
>> n/a 850000000
>> one-44 --b---  10.110484046.21048576
>> 6.3 1111570520   68  2530
>>
>>
>> This error causes that the VM is not monitored correctly, also the
>> machines happen to unknown state. Do you think that this error will have
>> something to do with the unknown state of the VM?
>>
>>
>> Thank you very much.
>> Regards,
>> María
>>
>> El 20/05/11 14:34, Carlos Martín Sánchez escribió:
>>
>> Hi María,
>>
>> It looks like the script is not getting the expected output format and
>> fails to parse it.
>> Could you please copy the output of 'sudo /usr/sbin/xentop -bi2', logged
>> as oneadmin in the Host?
>>
>> Regards,
>> Carlos.
>> --
>> Carlos Martín, MSc
>> Project Major Contributor
>> OpenNebula - The Open Source Toolkit for Cloud Computing
>> www.OpenNebula.org  | cmar...@opennebula.org
>>
>>
>> On Wed, May 18, 2011 at 3:07 PM, María Pérez  wrote:
>>
>>>  Hi again,
>>>
>>> I have another problem with the monitoring of the machines and the
>>> execution of /var/tmp/one/vmm/xen/poll.
>>>
>>> The log file contains the following lines with the error:
>>>
>>>
>>> Command execution fail: 'if [ -x "/var/tmp/one/vmm/xen/poll" ]; then
>>> /var/tmp/one/vmm/xen/poll one-28; else  exit 42;
>>> fi'
>>> Wed May 18 14:48:56 2011 [VMM][I]: STDERR follows.
>>> Wed May 18 14:48:56 2011 [VMM][I]: Error executing sudo /usr/sbin/xentop
>>> -bi2
>>> Wed May 18 14:48:56 2011 [VMM][I]: /var/tmp/one/vmm/xen/poll:186:in `[]':
>>> can't convert String into Integer (TypeError)
>>> Wed May 18 14:48:56 2011 [VMM][I]: from /var/tmp/one/vmm/xen/poll:186:in
>>> `get_vm_info'
>>> Wed May 18 14:48:56 2011 [VMM][I]: from /var/tmp/one/vmm/xen/poll:310:in
>>> `print_one_vm_info'
>>> Wed May 18 14:48:56 2011 [VMM][I]: from /var/tmp/one/vmm/xen/poll:344
>>> Wed May 18 14:48:56 2011 [VMM][I]: ExitCode: 1
>>> Wed May 18 14:48:56 2011 [VMM][E]: Error monitoring VM, Error executing
>>> sudo /usr/sbin/xentop -bi2
>>>
>>>
>>> I have tried to execute the commando from the own node to discard
>>> problems of ssh, but the error message is the same.
>>>
>>> I have found the followi

[one-users] Pending state issues

2011-06-21 Thread Madhurranjan Mohaan
Hi All,

I have had VMs in the pending state for a while and I went through this
thread(
http://lists.opennebula.org/pipermail/users-opennebula.org/2011-April/004680.html)
and basically figured out that there are no CPUs left to allocate VMs,
though there is plenty of RAM. Manual deployment works  I had 2 questions
regarding this scenario:

1. I have close to 20VMs on one of the boxes and had allocated 1 CPU each ,
so that has taken up 20CPUs. Overall the system has 16CPUs(4 CPUs  , each
being a quad core). Now , can I re-allocate CPUs for these VMs to 50% or
less than what they are currently ? Can I do this at all in the first place
? Require your thoughts on this point.

2. What is a good allocation number for CPUs ,if I want to create something
like "Small" , "Medium" and "Big" VMs ? I can do this with RAM since the box
has good amount of RAM but not sure what parameters I should take for CPU.
The CPU in my case seems to be the factor that doesn't allow more VMs to be
allocated by the scheduler. Can I have for eg,
Small VM - 0.25 CPU
Medium VM = 0.5 CPU
Large VM - 1 CPU

thanks

Madhurranjan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] EC2 Availiability Zones?

2011-06-21 Thread Oriol Martí

Thank you Daniel, now it works.

Regards,

On 20/06/11 16:25, Daniel Molina wrote:

Hi,

The message that you are getting is a generic error. If you check the
oned.log you will get more information about the error.

I think that maybe your problem is the network configuration. If this
is the first time that the server is deployed a VNET for the EC2
instances must be defined. You have to create it using the CLI:

$ onevnet crete vnet.template -v

After that you have to edit the
$ONE_LOCATION/etc/ec2query_templates/m1.small.erb
Change the line

NIC=[NETWORK="Public EC2"]

for this one

NIC=[NETWORK_ID=X]

where X is the ID of your new network.

Regards

2011/6/20 Oriol Martí:

Nobody knows anything about this?

Thanks,

On 16/06/11 15:18, Oriol Martí wrote:

Hello,

I'm creating an instance from an image through the EC2 interface, but when I
try to create it throws the next error:
Unsupported: The instance type or feature is not supported in your requested
Availability Zone.

I don't know how can I create an Availability Zone, it's equivalent to the
One Clusters? But I can't see them in the Availability Zones List

Thanks,



--
..
__
   / /  Oriol Martí i Bonvehí
C E / S / C A  Departament de Sistemes i Xarxes
 /_/Centre de Serveis Científics i Acadèmics de Catalunya

Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
T. 93 551 62 12 · F. 93 205 6979 · oma...@cesca.cat
..

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org








--
..
   __
  / /  Oriol Martí i Bonvehí
C E / S / C A  Departament de Sistemes i Xarxes
/_/Centre de Serveis Científics i Acadèmics de Catalunya

Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
T. 93 551 62 12 · F. 93 205 6979 · oma...@cesca.cat
..

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org