[one-users] Setting up private networks for VM
Hi, I wanted to set up private networks for VMs in my opennebula setup. Is it necessary to have two physical NICs on the cluster nodes for setting private networks. If yes, is there any alternative to it so that I can use my VMs using their private IPs. Regards, Prakhar ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] VM remain boot status.
Hj all. First time , when i deploy VM on host. It changes the status from pending to running. Then I create the second VM but it remain boot status. I don't know why. Anybody know? Help me. Thank you in advance. -- 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
[one-users] OpenNebula multi-instance issue
Hi all I know this is not the regular setup of OpenNebula, but given a cluster, I wonder whether OpenNebula can be installed on every host of the cluster, with each OpenNebula deploying VMs on the same cluster at the same time. And related to that: Can OpenNebula feature real High Availability? I mean running on a multi-instance basis sharing data among the instances so that an instance can take over for another one in case such instance stops working. Thank you. Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo. This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at. http://www.tid.es/ES/PAGINAS/disclaimer.aspx ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] sunstone sinatra error
Hello! I am trying to run sunstone, and I have found this error: /usr/lib/one/sunstone/sunstone-server.rb:23:in `require': no such file to load -- sinatra (LoadError) from /usr/lib/one/sunstone/sunstone-server.rb:23:in `top (required)' from /usr/lib/one/sunstone/config.ru:24:in `require' from /usr/lib/one/sunstone/config.ru:24:in `block in main' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize' from /usr/lib/one/sunstone/config.ru:1:in `new' from /usr/lib/one/sunstone/config.ru:1:in `main' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:35:in `eval' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:35:in `parse_file' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/server.rb:162:in `app' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/server.rb:248:in `wrapped_app' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/server.rb:213:in `start' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/server.rb:100:in `start' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/bin/rackup:4:in `top (required)' from /usr/local/bin/rackup:19:in `load' from /usr/local/bin/rackup:19:in `main' My SO is scientific Linux 5.6, and my ruby, sinatra, rack and thin versions are: ruby 1.9.1p376 rubygem-sinatra-1.0-2.el5.noarch rack-1.2.2 thin-1.2.11 Previously, I have been the same problem of http://lists.opennebula.org/pipermail/users-opennebula.org/2011-March/004391.html, and I have change the line 20 of the *$ONE_LOCATION/lib/ruby/sunstone/config.ru * to* **$: ::File.dirname(__FILE__) *instead of *$: File.dirname(__FILE__) * -- Patricia Santos Marco Institute for Biocomputation and Physics of Complex Systems University of Zaragoza (BIFI) -- Instituto de Biocomputación y Física de Sistemas Complejos de la Universidad de Zaragoza (BIFI) - E-mail: psantos(at)bifi.es Phone: (+34)976-76-10-00 ext 5402 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] New User: Problem with onevm creation
Hi, I am also experiencing the same challenge in 2.2 RC1. I commented out fix_dst_path in /usr/lib/one/tm_commands/nfs/tm_ln.sh and that fixed it so that it created the links in the right directory (/srv/cloud) on the kvm nodes. Best regards, Oscar Elfving On Fri, Mar 18, 2011 at 10:44 AM, Tino Vazquez tin...@opennebula.orgwrote: Hi, Please try commenting out the VM_DIR section, restart the oned daemon and launch again the VM. VM_DIR is only needed if the mount point of the nfs share is different between the front-end and the nodes. Best regards. -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Thu, Mar 17, 2011 at 7:59 PM, Ryan Aydelott ryan.aydel...@vibes.com wrote: Hello, first time opennebula user here and I am having an issue with onevm creation, files don't seem to link/write to the right server - perhaps I just need a hint? I'm certain that I am missing something fairly obvious: Environment: opennebula 2.1.80 on centos 5.5 rpm install xen hypervisor both share nfsmount /srv/cloud/ Here are the relevant paths in oned.conf: VM_DIR=/srv/cloud/one/var SCRIPTS_REMOTE_DIR=/var/tmp/one IMAGE_REPOSITORY_PATH = /srv/cloud/var/images A quick sanity check: [oneadmin@binaryfinary 32]$ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 4 xen01 default0800800800 32G 30.7G on [oneadmin@binaryfinary 32]$ oneimage list ID USER NAME TYPE REGTIME PUB PER STAT #VMS 1 oneadmin gentoobase OS Mar 15, 2011 23:08 No Yes rdy 0 I try to create the VM: [oneadmin@binaryfinary images]$ onevm create gentoobase.one I check, it fails: [oneadmin@binaryfinary images]$ onevm list ID USER NAME STAT CPU MEMHOSTNAMETIME 33 oneadmin gentooba fail 0 0K xen01 00 00:00:03 Output from oned.log: Thu Mar 17 13:55:00 2011 [DiM][D]: Deploying VM 33 Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_ln.sh: Creating directory /var/lib/one/33/images Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_ln.sh: Executed mkdir -p /var/lib/one/33/images. Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_ln.sh: Executed chmod a+w /var/lib/one/33/images. Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_ln.sh: Link /srv/cloud/var/images/64c39c5ba5e9aa60c93613f9bf9ab41714dfb1db Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_ln.sh: Executed ln -s /srv/cloud/var/images/64c39c5ba5e9aa60c93613f9bf9ab41714dfb1db /var/lib/one/33/images/disk.0. Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_mkswap.sh: Creating directory /var/lib/one/33/images Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_mkswap.sh: Executed mkdir -p /var/lib/one/33/images. Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_mkswap.sh: Executed chmod a+w /var/lib/one/33/images. Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_mkswap.sh: Creating 4096Mb image in /var/lib/one/33/images/disk.1 Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_mkswap.sh: Executed /bin/dd if=/dev/zero of=/var/lib/one/33/images/disk.1 bs=1 count=1 seek=4096M. Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_mkswap.sh: Initializing swap space Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_mkswap.sh: Executed /sbin/mkswap /var/lib/one/33/images/disk.1. Thu Mar 17 13:55:00 2011 [TM][D]: Message received: LOG - 33 tm_mkswap.sh: Executed chmod a+w /var/lib/one/33/images/disk.1. Thu Mar 17 13:55:00 2011 [TM][D]: Message received: TRANSFER SUCCESS 33 - Thu Mar 17 13:55:02 2011 [VMM][D]: Message received: LOG - 33 Command execution fail: 'if [ -x /var/tmp/one/vmm/xen/deploy ]; then /var/tmp/one/vmm/xen/deploy /srv/cloud/one/var/33/images/deployment.0; else exit 42; fi' Thu Mar 17 13:55:02 2011 [VMM][D]: Message received: LOG - 33 STDERR follows. Thu Mar 17 13:55:02 2011 [VMM][D]: Message received: LOG - 33 Error: Device 768 (tap) could not be connected. /srv/cloud/one/var/33/images/disk.0 does not exist Thu Mar 17 13:55:02 2011 [VMM][D]: Message received: LOG - 33 ExitCode: 1 Thu Mar 17 13:55:02 2011 [VMM][D]: Message received: DEPLOY FAILURE 33 Error: Device 768 (tap) could not be connected. /srv/cloud/one/var/33/images/disk.0 does not exist Thu Mar 17 13:55:02 2011 [VMM][D]: Message received: ExitCode: 1 Thu Mar 17 13:55:02 2011 [TM][D]: Message received: LOG - 33 tm_delete.sh: Deleting /var/lib/one/33/images Thu Mar 17 13:55:02 2011 [TM][D]: Message received: LOG - 33 tm_delete.sh: Executed rm -rf /var/lib/one/33/images. Thu Mar 17 13:55:02 2011 [TM][D]: Message received: TRANSFER SUCCESS 33 - In the VM Dir:
Re: [one-users] Setting up private networks for VM
Hi, By private networks, I mean the virtual network created by opennebula onevnet utility. Consider the scenario where I have 4 VMs running in my opennebula cloud setup. All of them has a public IP (allocated from a virtual network created by using onevnet utility) thats accessible from my network(LAN) . Its easy enough to access because it falls under the same network in which I am. What if I want to attach another interface to the VMs, so that I can assign private IPs to them .This is handy if you want to have more VMs than the number of public IPs available to you. Hope this makes sense. My question i do I need to have another physical NIC on all my cluster nodes for this.If not, please suggest a solution. Regards, Prakhar On Mon, Apr 4, 2011 at 11:33 AM, Prakhar Srivastava prakhar@gmail.comwrote: Hi, I wanted to set up private networks for VMs in my opennebula setup. Is it necessary to have two physical NICs on the cluster nodes for setting private networks. If yes, is there any alternative to it so that I can use my VMs using their private IPs. Regards, Prakhar ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM remain boot status.
Hi, Could you please provide the log files : oned.log and virtual machine (that did not pass the boot state) log file. You can find them in /var/log/one directory. Regards, Prakhar On Mon, Apr 4, 2011 at 1:24 PM, Khoa Nguyen vankhoa...@gmail.com wrote: Hj all. First time , when i deploy VM on host. It changes the status from pending to running. Then I create the second VM but it remain boot status. I don't know why. Anybody know? Help me. Thank you in advance. -- 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] sunstone sinatra error
Il 04/04/2011 12:21, Patricia Santos Marco ha scritto: ruby 1.9.1p376 rubygem-sinatra-1.0-2.el5.noarch rack-1.2.2 thin-1.2.11 Keep in mind that you should not mix manually installed ruby gems with system supplied ruby packages, they have different include paths. You should probably remove rubygem-sinatra rpm and install it via gems: gem install sinatra. Bye. -- Giovanni Toraldo http://gionn.net/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Java OCA: poor choiche of Exception class
Hello, I just started to use OCA and immediately had the bad surprise to find an Exception thrown by Client class instantiation. Peeking in the code, I discovered that the Client class throws it when it does not find two mandatory resources, the $ONE_AUTH file and the SHA-1 algorithm. In my (not so) humble opinion, the use of the raw Exception is not meaningful enought, the use of a OneSetupException would have add NO testing or correctness complication and could be more useful for the coder. Furthermore, I think these are Errors, not Exceptions since you have no way to recover from one with a try/catch, you have to stop the VM, correct the setup and restart. Should I fill an update request/provide a contribution or there's no chanche that this will enter in the code ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(unix[\021%six\012\0], Fax +39-049.8283.569 |(unix)[have]+fun-0x60);} Skype: gian.uberto.lauri | David Korn, ATT Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Java OCA: poor choiche of Exception class
CC == Gian Uberto Lauri sa...@eng.it writes: CC Hello, I just started to use OCA and immediately had the bad CC surprise to find an Exception thrown by Client class CC instantiation. One thing I forgot in the previous message: I know people in Apache Software Foundation do such raw Exception throwing as natinal sport, but in my (again not so) humble opinion, ASF java coders are next in line after the Sirius Cybernetic Corporation Marketing Division. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(unix[\021%six\012\0], Fax +39-049.8283.569 |(unix)[have]+fun-0x60);} Skype: gian.uberto.lauri | David Korn, ATT Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM creation stuck in pending state
But I dont have any REQUIREMENT section my vm template like this (Any idea) cat basecentos.one NAME = zashah CPU= 1 MEMORY = 512 # --- kernel boot device --- OS = [ bootloader = /usr/bin/pygrub ] # --- 1 disk --- DISK = [ image = basecentos55, target = xvda, clone = yes, readonly = no ] # --- Use Leasing of Public Network MAC/IPs --- NIC = [ NETWORK=Public] # --- Scheduling - # -- Context -- CONTEXT = [ hostname = $NAME, ip_public = $NIC[IP, NETWORK=\Public\], username = zashah, root_pubkey = id_rsa.pub, files = /vm/cloud/conf/ssh/zashah/id_rsa.pub /vm/cloud/conf/centos/init.sh ] onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 3 nebula1 default0200200200 8G383M on 4 nebula2 default0200200200 8G383M on 6 nebula3 default0200200200 8G383M on 7 nebula4 default0200200200 8G383M on 8 nebula6 default0200200200 8G383M on 9 nebula7 default0200200200 8G383M on 10 nebula8 default0200200200 8G383M on 11 nebula9 default0200200200 8G383M on 12 nebula10 default0200200200 8G383M on 13 nebula11 default0200200200 8G383M on 15 nebula13 default0200200200 8G383M on 19 nebula12 default2200199 50 8G 1024K on On Sat, Apr 2, 2011 at 8:56 PM, Upendra Sharma upend...@hotmail.com wrote: Hi Tino, something similar is happening to me as well. the VM template looks is shown below. vm template == NAME = TPCW-L CPU= 1 MEMORY = 2000 REQUIREMENTS = HOSTNAME=\obelix20\ RANK = FREECPU OS = [ bootloader=/usr/bin/pygrub ] DISK = [ source = disk-vm1.img, target = xvda, readonly = no ] DISK = [ source = disk-tpcw-db.img, target = xvda5, readonly = no ] NIC= [ NETWORK = Public VLAN ] RAW= [ type = xen, data = vcpus=1 ] == The main problem is this: my vm-template has a specific REQUIREMENTS .. i.e. HOSTNAME. That particular host has a no VMs running on it and a 3 G of RAM free on it. The list of hosts on the cluster are: $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 4 obelix20 cluster1 0400 399 400 4G 2.9Gon the machine simply sits on the pending state. When I comment out the REQUIREMENTS line, it works fine and schedules it on one of the machines. I could not find a reason in any of the logs to find the reason. thanks, -upendra From: tin...@opennebula.org Date: Fri, 1 Apr 2011 15:01:42 +0100 To: zas...@pdc.kth.se CC: users@lists.opennebula.org Subject: Re: [one-users] VM creation stuck in pending state Hi, Any REQUIREMENT section in the VM templates? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: in Our case they are monitorized and are not in error state as shown in one host list . neither the memory cpu requirement are exhausted .. any other hint ? it was working fine after that I launched 5vm and it stucked (Although) I have 32 cores with 160GB RAM left. but later i deleted vms restarted ONEd and SCHED: even after that when no vms left the new vms in pending state.I had to use manual one vm deploy everytime.. Zeeshan On Fri, Apr 1, 2011 at 1:22 PM, Tino Vazquez tinov...@gmail.com wrote: Hi, Please take a look at [1]. Regards, -Tino [1] http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Fri, Apr 1, 2011 at 11:59 AM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: Happen to me as well , I can manually deploy, but by default it is stuck in Pending state forever .. I restarted SCHED as well. but same .. any hint ? Zeeshan On Sun, Mar 27, 2011 at 5:34 PM, Héctor Sanjuán hsanj...@opennebula.org wrote: Hi, make sure there is a host available to receive the VM. Have you tried to manually deploy it by: $ onevm deploy vmid hostid Maybe the logs will offer more information then. Héctor El 27/03/11 17:24, Madhurranjan Mohaan escribió: Hi All, I am unable to create VMs any further because they are
Re: [one-users] VM creation stuck in pending state
and in create it said like this Mon Apr 4 13:14:47 2011 [HOST][D]: Discovered Hosts (enabled): 3 4 6 7 8 9 10 11 12 13 15 19 Mon Apr 4 13:14:47 2011 [VM][D]: Pending virtual machines : 89 Mon Apr 4 13:14:47 2011 [RANK][W]: No rank defined for VM Mon Apr 4 13:14:47 2011 [SCHED][I]: Select hosts PRIHID --- Virtual Machine: 89 On Mon, Apr 4, 2011 at 1:12 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: But I dont have any REQUIREMENT section my vm template like this (Any idea) cat basecentos.one NAME = zashah CPU= 1 MEMORY = 512 # --- kernel boot device --- OS = [ bootloader = /usr/bin/pygrub ] # --- 1 disk --- DISK = [ image = basecentos55, target = xvda, clone = yes, readonly = no ] # --- Use Leasing of Public Network MAC/IPs --- NIC = [ NETWORK=Public] # --- Scheduling - # -- Context -- CONTEXT = [ hostname = $NAME, ip_public = $NIC[IP, NETWORK=\Public\], username = zashah, root_pubkey = id_rsa.pub, files = /vm/cloud/conf/ssh/zashah/id_rsa.pub /vm/cloud/conf/centos/init.sh ] onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 3 nebula1 default0200200200 8G383M on 4 nebula2 default0200200200 8G383M on 6 nebula3 default0200200200 8G383M on 7 nebula4 default0200200200 8G383M on 8 nebula6 default0200200200 8G383M on 9 nebula7 default0200200200 8G383M on 10 nebula8 default0200200200 8G383M on 11 nebula9 default0200200200 8G383M on 12 nebula10 default0200200200 8G383M on 13 nebula11 default0200200200 8G383M on 15 nebula13 default0200200200 8G383M on 19 nebula12 default2200199 50 8G 1024K on On Sat, Apr 2, 2011 at 8:56 PM, Upendra Sharma upend...@hotmail.comwrote: Hi Tino, something similar is happening to me as well. the VM template looks is shown below. vm template == NAME = TPCW-L CPU= 1 MEMORY = 2000 REQUIREMENTS = HOSTNAME=\obelix20\ RANK = FREECPU OS = [ bootloader=/usr/bin/pygrub ] DISK = [ source = disk-vm1.img, target = xvda, readonly = no ] DISK = [ source = disk-tpcw-db.img, target = xvda5, readonly = no ] NIC= [ NETWORK = Public VLAN ] RAW= [ type = xen, data = vcpus=1 ] == The main problem is this: my vm-template has a specific REQUIREMENTS .. i.e. HOSTNAME. That particular host has a no VMs running on it and a 3 G of RAM free on it. The list of hosts on the cluster are: $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 4 obelix20 cluster1 0400 399 400 4G 2.9Gon the machine simply sits on the pending state. When I comment out the REQUIREMENTS line, it works fine and schedules it on one of the machines. I could not find a reason in any of the logs to find the reason. thanks, -upendra From: tin...@opennebula.org Date: Fri, 1 Apr 2011 15:01:42 +0100 To: zas...@pdc.kth.se CC: users@lists.opennebula.org Subject: Re: [one-users] VM creation stuck in pending state Hi, Any REQUIREMENT section in the VM templates? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: in Our case they are monitorized and are not in error state as shown in one host list . neither the memory cpu requirement are exhausted .. any other hint ? it was working fine after that I launched 5vm and it stucked (Although) I have 32 cores with 160GB RAM left. but later i deleted vms restarted ONEd and SCHED: even after that when no vms left the new vms in pending state.I had to use manual one vm deploy everytime.. Zeeshan On Fri, Apr 1, 2011 at 1:22 PM, Tino Vazquez tinov...@gmail.com wrote: Hi, Please take a look at [1]. Regards, -Tino [1] http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Fri, Apr 1, 2011 at 11:59 AM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: Happen to me as well , I can manually deploy, but by default it is stuck in Pending state forever .. I restarted SCHED as well. but same ..
Re: [one-users] mysql support not compiled ?
Hi, You will need the mysql C++ development library package installed for mysql support to be compiled with opennebula.You can install it from any standard repository depending upon the linux distribution you are working on. Regards, Prakhar On Mon, Apr 4, 2011 at 5:45 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: with mysql=yes i am getting this include/MySqlDB.h:37:19: error: mysql.h: No such file or directory include/MySqlDB.h:82: error: ISO C++ forbids declaration of 'MYSQL' with no type include/MySqlDB.h:82: error: expected ';' before '*' token but i could not find mysql.h ? both in 2.0.1 and 2.2 any hint ? -- -- Regards Zeeshan Ali Shah System Administrator PDC-Center for High Performance Computing KTH-Royal Institute of Technology , Sweden +46 8 790 9115 ___ 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] sunstone sinatra error
Il 04/04/2011 14:10, Patricia Santos Marco ha scritto: and when I run sunstone-server there aren't errors, but I don't see anyting in the web browser in port : https://myserver:4567| launch with -H ip sunstone by default listen on localhost only. -- Giovanni Toraldo http://gionn.net/ signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Host hooks aren't triggered
Hi Zaina, Is that after the vms.info line? Regards, -Tino -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Sat, Apr 2, 2011 at 12:22 PM, Zaina AFOULKI zaina.afou...@ensi-bourges.fr wrote: Hi Tino, I changed as you advised and it prints: VM_POOL/ On Fri, 1 Apr 2011 18:06:57 +0200, Tino Vazquez wrote: Hi, Everything seems alright, except for the xpath expression returned nil object. So please let's try debugging the vms fetched: --- class OpenNebula::VirtualMachinePool attr_reader :xml end my_file.puts vms.xml --- Regards, -Tino -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Fri, Apr 1, 2011 at 5:47 PM, Zaina AFOULKI zaina.afou...@ensi-bourges.fr wrote: Hi Tino, I added the lines as you asked and I get this in the /tmp/remove_me.txt OpenNebula host NilClass NilClass $ onehost list -x HOST_POOL HOST ID29/ID NAMEnode1/NAME STATE2/STATE IM_MADim_kvm/IM_MAD VM_MADvmm_kvm/VM_MAD TM_MADtm_nfs/TM_MAD LAST_MON_TIME1301672703/LAST_MON_TIME CLUSTERdefault/CLUSTER TEMPLATE ARCH![CDATA[x86_64]]/ARCH CPUSPEED![CDATA[1998]]/CPUSPEED FREECPU![CDATA[90.6]]/FREECPU FREEMEMORY![CDATA[770956]]/FREEMEMORY HOSTNAME![CDATA[node1]]/HOSTNAME HYPERVISOR![CDATA[kvm]]/HYPERVISOR MODELNAME![CDATA[Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz]]/MODELNAME NETRX![CDATA[0]]/NETRX NETTX![CDATA[0]]/NETTX TOTALCPU![CDATA[200]]/TOTALCPU TOTALMEMORY![CDATA[2056676]]/TOTALMEMORY USEDCPU![CDATA[109.4]]/USEDCPU USEDMEMORY![CDATA[1285720]]/USEDMEMORY /TEMPLATE HOST_SHARE HID29/HID DISK_USAGE0/DISK_USAGE MEM_USAGE262144/MEM_USAGE CPU_USAGE10/CPU_USAGE MAX_DISK0/MAX_DISK MAX_MEM2056676/MAX_MEM MAX_CPU200/MAX_CPU FREE_DISK0/FREE_DISK FREE_MEM770956/FREE_MEM FREE_CPU90/FREE_CPU USED_DISK0/USED_DISK USED_MEM1285720/USED_MEM USED_CPU109/USED_CPU RUNNING_VMS1/RUNNING_VMS /HOST_SHARE /HOST HOST ID31/ID NAMEnode2/NAME STATE4/STATE IM_MADim_kvm/IM_MAD VM_MADvmm_kvm/VM_MAD TM_MADtm_nfs/TM_MAD LAST_MON_TIME1301672409/LAST_MON_TIME CLUSTERdefault/CLUSTER TEMPLATE ARCH![CDATA[x86_64]]/ARCH CPUSPEED![CDATA[1998]]/CPUSPEED FREECPU![CDATA[200.0]]/FREECPU FREEMEMORY![CDATA[1800824]]/FREEMEMORY HOSTNAME![CDATA[node2]]/HOSTNAME HYPERVISOR![CDATA[kvm]]/HYPERVISOR MODELNAME![CDATA[Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz]]/MODELNAME NETRX![CDATA[0]]/NETRX NETTX![CDATA[0]]/NETTX TOTALCPU![CDATA[200]]/TOTALCPU TOTALMEMORY![CDATA[2056676]]/TOTALMEMORY USEDCPU![CDATA[0.0]]/USEDCPU USEDMEMORY![CDATA[255852]]/USEDMEMORY /TEMPLATE HOST_SHARE HID31/HID DISK_USAGE0/DISK_USAGE MEM_USAGE0/MEM_USAGE CPU_USAGE0/CPU_USAGE MAX_DISK0/MAX_DISK MAX_MEM2056676/MAX_MEM MAX_CPU200/MAX_CPU FREE_DISK0/FREE_DISK FREE_MEM1800824/FREE_MEM FREE_CPU200/FREE_CPU USED_DISK0/USED_DISK USED_MEM255852/USED_MEM USED_CPU0/USED_CPU RUNNING_VMS0/RUNNING_VMS /HOST_SHARE /HOST /HOST_POOL $ onevm list -x VM_POOL VM ID3056/ID UID2/UID USERNAMEsfr/USERNAME NAMEsfr-ar/NAME LAST_POLL1301672685/LAST_POLL STATE3/STATE LCM_STATE3/LCM_STATE STIME1301672613/STIME ETIME0/ETIME DEPLOY_IDone-3056/DEPLOY_ID MEMORY0/MEMORY CPU0/CPU NET_TX0/NET_TX NET_RX0/NET_RX LAST_SEQ0/LAST_SEQ TEMPLATE CPU![CDATA[0.1]]/CPU DISK DISK_ID![CDATA[0]]/DISK_ID SOURCE![CDATA[/home/oneadmin/vmu.img]]/SOURCE TARGET![CDATA[sda]]/TARGET /DISK FEATURES ACPI![CDATA[yes]]/ACPI /FEATURES HAIZEA DURATION![CDATA[00:07:00]]/DURATION PREEMPTIBLE![CDATA[no]]/PREEMPTIBLE START![CDATA[+00:00:50]]/START /HAIZEA MEMORY![CDATA[256]]/MEMORY NAME![CDATA[sfr-ar]]/NAME NIC BRIDGE![CDATA[br0]]/BRIDGE IP![CDATA[172.30.8.12]]/IP MAC![CDATA[02:00:ac:1e:08:0c]]/MAC NETWORK![CDATA[orange_public]]/NETWORK NETWORK_ID![CDATA[20]]/NETWORK_ID /NIC OS BOOT![CDATA[hd]]/BOOT ROOT![CDATA[sda]]/ROOT /OS RAW DATA![CDATA[devicesserial type=ptysource path=/dev/pts/5/target port=0//serialconsole type=pty tty=/dev/pts/5source path=/dev/pts/5/target port=0//consolegraphics type=vnc port=5901 autoport=yes//devices]]/DATA TYPE![CDATA[kvm]]/TYPE /RAW VMID![CDATA[3056]]/VMID /TEMPLATE HISTORY SEQ0/SEQ HOSTNAMEnode1/HOSTNAME HID29/HID STIME1301672663/STIME ETIME0/ETIME PSTIME1301672663/PSTIME
Re: [one-users] Can opennebula use the image created for Eucalyptus ?
Hi, FYI we are developing a new tool for managing Image Catalogs. This new tool will allow you to import and contextualize external images into OpenNebula. Moreover, you will be able to define the kind of contextualization for a given Image, choosing between the classic OpenNebula contextualization (vmcontext.sh) or the EC2 method (using a server that holds all the VM information). Hence you will be able to use your EC2 or Eucalyptus images in OpenNebula, through this new tool. Regards On 3 April 2011 10:01, Jeff jafe...@gmail.com wrote: Hi, Olivier, thank you so much for your reply.That help me a lot. When I create a os image for opennebula, do I need to setup the boot loader such as grub ? Best Regards, Jeff On 4/3/2011 3:39 PM, Olivier Sallou wrote: Hi, if you care with Suse, there is the wonderful suse studio to create VMs (among other things). You can customize anything. vmdk output can be converted with kvm-convert to raw or qcow2 for opennebula. For eucalyptus I do not know what they do, but most of images (amazon etc..) always have specific stuff Regarding your image, all depends if you dhcp etc... Your connection issue may be a bad network setup. I don't know what is default for Eucalyptus images. Furthermore, with ubuntu, there is network persistence. If image has been used once, mac address is associated with one ethernet interface. So on next reuse, the new mac address used is associated to an other interface, if such is configured and result often in network setup failure. If you want to check your ubuntu image, you should connect to console and check network setup. Regards Olivier Hi, all. I have installed the opennebula in ubuntu 10.10 following this instruction. I also can run the ttylinux successfully. However, when I try to run a ubuntu instance, some issues arose. The command 'onevm list' showed that the instance is running.But I just can't ssh or even ping it. I got the imaged from the eucalyptus website and ubuntu website, both are created for eucalyptus. I am wondering if the images created for eucalyptus can be use for opennebula. Or can anyone tell me how to create my own image for opennebula . My opennebula platform is built on ubuntu 10.10 server with KVM as the hypervisor.Thank you all. Jeff ___ 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 -- Daniel Molina, Cloud Technology Engineer/Researcher Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | dmol...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM creation stuck in pending state
Hi, The maximum free memory in your hosts is 383M ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 3 nebula1 default0200200200 8G383M on and you are asking for 512M MEMORY = 512 Regards. On 4 April 2011 13:12, Zeeshan Ali Shah zas...@pdc.kth.se wrote: But I dont have any REQUIREMENT section my vm template like this (Any idea) cat basecentos.one NAME = zashah CPU = 1 MEMORY = 512 # --- kernel boot device --- OS = [ bootloader = /usr/bin/pygrub ] # --- 1 disk --- DISK = [ image = basecentos55, target = xvda, clone = yes, readonly = no ] # --- Use Leasing of Public Network MAC/IPs --- NIC = [ NETWORK=Public] # --- Scheduling - # -- Context -- CONTEXT = [ hostname = $NAME, ip_public = $NIC[IP, NETWORK=\Public\], username = zashah, root_pubkey = id_rsa.pub, files = /vm/cloud/conf/ssh/zashah/id_rsa.pub /vm/cloud/conf/centos/init.sh ] onehost list ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT 3 nebula1 default 0 200 200 200 8G 383M on 4 nebula2 default 0 200 200 200 8G 383M on 6 nebula3 default 0 200 200 200 8G 383M on 7 nebula4 default 0 200 200 200 8G 383M on 8 nebula6 default 0 200 200 200 8G 383M on 9 nebula7 default 0 200 200 200 8G 383M on 10 nebula8 default 0 200 200 200 8G 383M on 11 nebula9 default 0 200 200 200 8G 383M on 12 nebula10 default 0 200 200 200 8G 383M on 13 nebula11 default 0 200 200 200 8G 383M on 15 nebula13 default 0 200 200 200 8G 383M on 19 nebula12 default 2 200 199 50 8G 1024K on On Sat, Apr 2, 2011 at 8:56 PM, Upendra Sharma upend...@hotmail.com wrote: Hi Tino, something similar is happening to me as well. the VM template looks is shown below. vm template == NAME = TPCW-L CPU = 1 MEMORY = 2000 REQUIREMENTS = HOSTNAME=\obelix20\ RANK = FREECPU OS = [ bootloader=/usr/bin/pygrub ] DISK = [ source = disk-vm1.img, target = xvda, readonly = no ] DISK = [ source = disk-tpcw-db.img, target = xvda5, readonly = no ] NIC = [ NETWORK = Public VLAN ] RAW = [ type = xen, data = vcpus=1 ] == The main problem is this: my vm-template has a specific REQUIREMENTS .. i.e. HOSTNAME. That particular host has a no VMs running on it and a 3 G of RAM free on it. The list of hosts on the cluster are: $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT 4 obelix20 cluster1 0 400 399 400 4G 2.9G on the machine simply sits on the pending state. When I comment out the REQUIREMENTS line, it works fine and schedules it on one of the machines. I could not find a reason in any of the logs to find the reason. thanks, -upendra From: tin...@opennebula.org Date: Fri, 1 Apr 2011 15:01:42 +0100 To: zas...@pdc.kth.se CC: users@lists.opennebula.org Subject: Re: [one-users] VM creation stuck in pending state Hi, Any REQUIREMENT section in the VM templates? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: in Our case they are monitorized and are not in error state as shown in one host list . neither the memory cpu requirement are exhausted .. any other hint ? it was working fine after that I launched 5vm and it stucked (Although) I have 32 cores with 160GB RAM left. but later i deleted vms restarted ONEd and SCHED: even after that when no vms left the new vms in pending state. I had to use manual one vm deploy everytime.. Zeeshan On Fri, Apr 1, 2011 at 1:22 PM, Tino Vazquez tinov...@gmail.com wrote: Hi, Please take a look at [1]. Regards, -Tino [1] http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Fri, Apr 1, 2011 at 11:59 AM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: Happen to me as well , I can manually deploy, but by default it is stuck in Pending state forever .. I restarted SCHED as well. but same .. any hint ? Zeeshan On Sun, Mar 27, 2011 at 5:34 PM, Héctor Sanjuán
Re: [one-users] VM creation stuck in pending state
Actually even after it i.e. adding more host it stuck the problem i found was that I was mentioning CPU=1 .. when i commented out it works.. can you briefly explain it ? CPU = 1 means ? /Zee On Mon, Apr 4, 2011 at 3:36 PM, Daniel Molina dmol...@opennebula.orgwrote: Hi, The maximum free memory in your hosts is 383M ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 3 nebula1 default0200200200 8G383M on and you are asking for 512M MEMORY = 512 Regards. On 4 April 2011 13:12, Zeeshan Ali Shah zas...@pdc.kth.se wrote: But I dont have any REQUIREMENT section my vm template like this (Any idea) cat basecentos.one NAME = zashah CPU= 1 MEMORY = 512 # --- kernel boot device --- OS = [ bootloader = /usr/bin/pygrub ] # --- 1 disk --- DISK = [ image = basecentos55, target = xvda, clone = yes, readonly = no ] # --- Use Leasing of Public Network MAC/IPs --- NIC = [ NETWORK=Public] # --- Scheduling - # -- Context -- CONTEXT = [ hostname = $NAME, ip_public = $NIC[IP, NETWORK=\Public\], username = zashah, root_pubkey = id_rsa.pub, files = /vm/cloud/conf/ssh/zashah/id_rsa.pub /vm/cloud/conf/centos/init.sh ] onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 3 nebula1 default0200200200 8G383M on 4 nebula2 default0200200200 8G383M on 6 nebula3 default0200200200 8G383M on 7 nebula4 default0200200200 8G383M on 8 nebula6 default0200200200 8G383M on 9 nebula7 default0200200200 8G383M on 10 nebula8 default0200200200 8G383M on 11 nebula9 default0200200200 8G383M on 12 nebula10 default0200200200 8G383M on 13 nebula11 default0200200200 8G383M on 15 nebula13 default0200200200 8G383M on 19 nebula12 default2200199 50 8G 1024K on On Sat, Apr 2, 2011 at 8:56 PM, Upendra Sharma upend...@hotmail.com wrote: Hi Tino, something similar is happening to me as well. the VM template looks is shown below. vm template == NAME = TPCW-L CPU= 1 MEMORY = 2000 REQUIREMENTS = HOSTNAME=\obelix20\ RANK = FREECPU OS = [ bootloader=/usr/bin/pygrub ] DISK = [ source = disk-vm1.img, target = xvda, readonly = no ] DISK = [ source = disk-tpcw-db.img, target = xvda5, readonly = no ] NIC= [ NETWORK = Public VLAN ] RAW= [ type = xen, data = vcpus=1 ] == The main problem is this: my vm-template has a specific REQUIREMENTS .. i.e. HOSTNAME. That particular host has a no VMs running on it and a 3 G of RAM free on it. The list of hosts on the cluster are: $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 4 obelix20 cluster1 0400 399 400 4G 2.9Gon the machine simply sits on the pending state. When I comment out the REQUIREMENTS line, it works fine and schedules it on one of the machines. I could not find a reason in any of the logs to find the reason. thanks, -upendra From: tin...@opennebula.org Date: Fri, 1 Apr 2011 15:01:42 +0100 To: zas...@pdc.kth.se CC: users@lists.opennebula.org Subject: Re: [one-users] VM creation stuck in pending state Hi, Any REQUIREMENT section in the VM templates? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: in Our case they are monitorized and are not in error state as shown in one host list . neither the memory cpu requirement are exhausted .. any other hint ? it was working fine after that I launched 5vm and it stucked (Although) I have 32 cores with 160GB RAM left. but later i deleted vms restarted ONEd and SCHED: even after that when no vms left the new vms in pending state.I had to use manual one vm deploy everytime.. Zeeshan On Fri, Apr 1, 2011 at 1:22 PM, Tino Vazquez tinov...@gmail.com wrote: Hi, Please take a look at [1]. Regards, -Tino [1] http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do -- Constantino Vázquez Blanco |
Re: [one-users] VM creation stuck in pending state
Hi, Would you mind to try changing the Requirements statement to: REQUIREMENTS = HOSTNAME=obelix20 Regards On 2 April 2011 20:56, Upendra Sharma upend...@hotmail.com wrote: Hi Tino, something similar is happening to me as well. the VM template looks is shown below. vm template == NAME = TPCW-L CPU = 1 MEMORY = 2000 REQUIREMENTS = HOSTNAME=\obelix20\ RANK = FREECPU OS = [ bootloader=/usr/bin/pygrub ] DISK = [ source = disk-vm1.img, target = xvda, readonly = no ] DISK = [ source = disk-tpcw-db.img, target = xvda5, readonly = no ] NIC = [ NETWORK = Public VLAN ] RAW = [ type = xen, data = vcpus=1 ] == The main problem is this: my vm-template has a specific REQUIREMENTS .. i.e. HOSTNAME. That particular host has a no VMs running on it and a 3 G of RAM free on it. The list of hosts on the cluster are: $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT 4 obelix20 cluster1 0 400 399 400 4G 2.9G on the machine simply sits on the pending state. When I comment out the REQUIREMENTS line, it works fine and schedules it on one of the machines. I could not find a reason in any of the logs to find the reason. thanks, -upendra From: tin...@opennebula.org Date: Fri, 1 Apr 2011 15:01:42 +0100 To: zas...@pdc.kth.se CC: users@lists.opennebula.org Subject: Re: [one-users] VM creation stuck in pending state Hi, Any REQUIREMENT section in the VM templates? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: in Our case they are monitorized and are not in error state as shown in one host list . neither the memory cpu requirement are exhausted .. any other hint ? it was working fine after that I launched 5vm and it stucked (Although) I have 32 cores with 160GB RAM left. but later i deleted vms restarted ONEd and SCHED: even after that when no vms left the new vms in pending state. I had to use manual one vm deploy everytime.. Zeeshan On Fri, Apr 1, 2011 at 1:22 PM, Tino Vazquez tinov...@gmail.com wrote: Hi, Please take a look at [1]. Regards, -Tino [1] http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Fri, Apr 1, 2011 at 11:59 AM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: Happen to me as well , I can manually deploy, but by default it is stuck in Pending state forever .. I restarted SCHED as well. but same .. any hint ? Zeeshan On Sun, Mar 27, 2011 at 5:34 PM, Héctor Sanjuán hsanj...@opennebula.org wrote: Hi, make sure there is a host available to receive the VM. Have you tried to manually deploy it by: $ onevm deploy vmid hostid Maybe the logs will offer more information then. Héctor El 27/03/11 17:24, Madhurranjan Mohaan escribió: Hi All, I am unable to create VMs any further because they are stuck in pending state. onevm list 39 oneadmin vm-ex pend 0 0K 00 00:07:44 The logs don't seem to get anything about this. I restarted after backing up the logs , on all machines but the result is the same . I keep getting this message but nothing more. Any suggestions ? Sun Mar 27 20:49:38 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:40 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: HostPoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method invoked My vm-template is as follows: NAME = vm-ex CPU = 1 MEMORY = 256 DISK = [ image = Frame OS installation ] NIC = [ network = Test-Fixed ] GRAPHICS = [ type = vnc, listen = localhost, port = 5902 ] CONTEXT = [ HOSTNAME = ABC files = /srv/cloud/one/vm-template-2/init.sh ] thanks Ranjan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Héctor Sanjuan OpenNebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Regards Zeeshan Ali Shah System
Re: [one-users] VM creation stuck in pending state
it is working if i omit CPU= in vm template .. but can u briefly explain if CPU= in percentage ? right ? Zeeshan On Mon, Apr 4, 2011 at 3:58 PM, Daniel Molina dmol...@opennebula.orgwrote: Hi, Would you mind to try changing the Requirements statement to: REQUIREMENTS = HOSTNAME=obelix20 Regards On 2 April 2011 20:56, Upendra Sharma upend...@hotmail.com wrote: Hi Tino, something similar is happening to me as well. the VM template looks is shown below. vm template == NAME = TPCW-L CPU= 1 MEMORY = 2000 REQUIREMENTS = HOSTNAME=\obelix20\ RANK = FREECPU OS = [ bootloader=/usr/bin/pygrub ] DISK = [ source = disk-vm1.img, target = xvda, readonly = no ] DISK = [ source = disk-tpcw-db.img, target = xvda5, readonly = no ] NIC= [ NETWORK = Public VLAN ] RAW= [ type = xen, data = vcpus=1 ] == The main problem is this: my vm-template has a specific REQUIREMENTS .. i.e. HOSTNAME. That particular host has a no VMs running on it and a 3 G of RAM free on it. The list of hosts on the cluster are: $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 4 obelix20 cluster1 0400 399 400 4G 2.9Gon the machine simply sits on the pending state. When I comment out the REQUIREMENTS line, it works fine and schedules it on one of the machines. I could not find a reason in any of the logs to find the reason. thanks, -upendra From: tin...@opennebula.org Date: Fri, 1 Apr 2011 15:01:42 +0100 To: zas...@pdc.kth.se CC: users@lists.opennebula.org Subject: Re: [one-users] VM creation stuck in pending state Hi, Any REQUIREMENT section in the VM templates? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: in Our case they are monitorized and are not in error state as shown in one host list . neither the memory cpu requirement are exhausted .. any other hint ? it was working fine after that I launched 5vm and it stucked (Although) I have 32 cores with 160GB RAM left. but later i deleted vms restarted ONEd and SCHED: even after that when no vms left the new vms in pending state.I had to use manual one vm deploy everytime.. Zeeshan On Fri, Apr 1, 2011 at 1:22 PM, Tino Vazquez tinov...@gmail.com wrote: Hi, Please take a look at [1]. Regards, -Tino [1] http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Fri, Apr 1, 2011 at 11:59 AM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: Happen to me as well , I can manually deploy, but by default it is stuck in Pending state forever .. I restarted SCHED as well. but same .. any hint ? Zeeshan On Sun, Mar 27, 2011 at 5:34 PM, Héctor Sanjuán hsanj...@opennebula.org wrote: Hi, make sure there is a host available to receive the VM. Have you tried to manually deploy it by: $ onevm deploy vmid hostid Maybe the logs will offer more information then. Héctor El 27/03/11 17:24, Madhurranjan Mohaan escribió: Hi All, I am unable to create VMs any further because they are stuck in pending state. onevm list 39 oneadminvm-ex pend 0 0K 00 00:07:44 The logs don't seem to get anything about this. I restarted after backing up the logs , on all machines but the result is the same . I keep getting this message but nothing more. Any suggestions ? Sun Mar 27 20:49:38 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:40 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: HostPoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method invoked My vm-template is as follows: NAME = vm-ex CPU= 1 MEMORY = 256 DISK = [ image = Frame OS installation ] NIC = [ network = Test-Fixed ] GRAPHICS = [ type= vnc, listen = localhost, port= 5902 ] CONTEXT = [ HOSTNAME = ABC files = /srv/cloud/one/vm-template-2/init.sh ] thanks Ranjan ___
Re: [one-users] VM creation stuck in pending state
You can check it here: http://opennebula.org/documentation:rel2.2:template On 4 April 2011 16:13, Zeeshan Ali Shah zas...@pdc.kth.se wrote: it is working if i omit CPU= in vm template .. but can u briefly explain if CPU= in percentage ? right ? Zeeshan On Mon, Apr 4, 2011 at 3:58 PM, Daniel Molina dmol...@opennebula.org wrote: Hi, Would you mind to try changing the Requirements statement to: REQUIREMENTS = HOSTNAME=obelix20 Regards On 2 April 2011 20:56, Upendra Sharma upend...@hotmail.com wrote: Hi Tino, something similar is happening to me as well. the VM template looks is shown below. vm template == NAME = TPCW-L CPU = 1 MEMORY = 2000 REQUIREMENTS = HOSTNAME=\obelix20\ RANK = FREECPU OS = [ bootloader=/usr/bin/pygrub ] DISK = [ source = disk-vm1.img, target = xvda, readonly = no ] DISK = [ source = disk-tpcw-db.img, target = xvda5, readonly = no ] NIC = [ NETWORK = Public VLAN ] RAW = [ type = xen, data = vcpus=1 ] == The main problem is this: my vm-template has a specific REQUIREMENTS .. i.e. HOSTNAME. That particular host has a no VMs running on it and a 3 G of RAM free on it. The list of hosts on the cluster are: $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT 4 obelix20 cluster1 0 400 399 400 4G 2.9G on the machine simply sits on the pending state. When I comment out the REQUIREMENTS line, it works fine and schedules it on one of the machines. I could not find a reason in any of the logs to find the reason. thanks, -upendra From: tin...@opennebula.org Date: Fri, 1 Apr 2011 15:01:42 +0100 To: zas...@pdc.kth.se CC: users@lists.opennebula.org Subject: Re: [one-users] VM creation stuck in pending state Hi, Any REQUIREMENT section in the VM templates? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: in Our case they are monitorized and are not in error state as shown in one host list . neither the memory cpu requirement are exhausted .. any other hint ? it was working fine after that I launched 5vm and it stucked (Although) I have 32 cores with 160GB RAM left. but later i deleted vms restarted ONEd and SCHED: even after that when no vms left the new vms in pending state. I had to use manual one vm deploy everytime.. Zeeshan On Fri, Apr 1, 2011 at 1:22 PM, Tino Vazquez tinov...@gmail.com wrote: Hi, Please take a look at [1]. Regards, -Tino [1] http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Fri, Apr 1, 2011 at 11:59 AM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: Happen to me as well , I can manually deploy, but by default it is stuck in Pending state forever .. I restarted SCHED as well. but same .. any hint ? Zeeshan On Sun, Mar 27, 2011 at 5:34 PM, Héctor Sanjuán hsanj...@opennebula.org wrote: Hi, make sure there is a host available to receive the VM. Have you tried to manually deploy it by: $ onevm deploy vmid hostid Maybe the logs will offer more information then. Héctor El 27/03/11 17:24, Madhurranjan Mohaan escribió: Hi All, I am unable to create VMs any further because they are stuck in pending state. onevm list 39 oneadmin vm-ex pend 0 0K 00 00:07:44 The logs don't seem to get anything about this. I restarted after backing up the logs , on all machines but the result is the same . I keep getting this message but nothing more. Any suggestions ? Sun Mar 27 20:49:38 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:40 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: HostPoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method invoked My vm-template is as follows: NAME = vm-ex CPU = 1 MEMORY = 256 DISK = [ image = Frame OS installation ] NIC = [ network = Test-Fixed ] GRAPHICS = [ type = vnc, listen = localhost, port = 5902 ]
Re: [one-users] VM creation stuck in pending state
so 1 mean full cpus if it has 4 CPUs this mean VM want all CPUS i.e. 4 ? On Mon, Apr 4, 2011 at 4:16 PM, Daniel Molina dmol...@opennebula.orgwrote: You can check it here: http://opennebula.org/documentation:rel2.2:template On 4 April 2011 16:13, Zeeshan Ali Shah zas...@pdc.kth.se wrote: it is working if i omit CPU= in vm template .. but can u briefly explain if CPU= in percentage ? right ? Zeeshan On Mon, Apr 4, 2011 at 3:58 PM, Daniel Molina dmol...@opennebula.org wrote: Hi, Would you mind to try changing the Requirements statement to: REQUIREMENTS = HOSTNAME=obelix20 Regards On 2 April 2011 20:56, Upendra Sharma upend...@hotmail.com wrote: Hi Tino, something similar is happening to me as well. the VM template looks is shown below. vm template == NAME = TPCW-L CPU= 1 MEMORY = 2000 REQUIREMENTS = HOSTNAME=\obelix20\ RANK = FREECPU OS = [ bootloader=/usr/bin/pygrub ] DISK = [ source = disk-vm1.img, target = xvda, readonly = no ] DISK = [ source = disk-tpcw-db.img, target = xvda5, readonly = no ] NIC= [ NETWORK = Public VLAN ] RAW= [ type = xen, data = vcpus=1 ] == The main problem is this: my vm-template has a specific REQUIREMENTS .. i.e. HOSTNAME. That particular host has a no VMs running on it and a 3 G of RAM free on it. The list of hosts on the cluster are: $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEM FMEM STAT 4 obelix20 cluster1 0400 399 400 4G 2.9Gon the machine simply sits on the pending state. When I comment out the REQUIREMENTS line, it works fine and schedules it on one of the machines. I could not find a reason in any of the logs to find the reason. thanks, -upendra From: tin...@opennebula.org Date: Fri, 1 Apr 2011 15:01:42 +0100 To: zas...@pdc.kth.se CC: users@lists.opennebula.org Subject: Re: [one-users] VM creation stuck in pending state Hi, Any REQUIREMENT section in the VM templates? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Fri, Apr 1, 2011 at 1:38 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: in Our case they are monitorized and are not in error state as shown in one host list . neither the memory cpu requirement are exhausted .. any other hint ? it was working fine after that I launched 5vm and it stucked (Although) I have 32 cores with 160GB RAM left. but later i deleted vms restarted ONEd and SCHED: even after that when no vms left the new vms in pending state.I had to use manual one vm deploy everytime.. Zeeshan On Fri, Apr 1, 2011 at 1:22 PM, Tino Vazquez tinov...@gmail.com wrote: Hi, Please take a look at [1]. Regards, -Tino [1] http://opennebula.org/documentation:community:faq#my_machine_stays_in_pending_state_what_can_i_do -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Fri, Apr 1, 2011 at 11:59 AM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: Happen to me as well , I can manually deploy, but by default it is stuck in Pending state forever .. I restarted SCHED as well. but same .. any hint ? Zeeshan On Sun, Mar 27, 2011 at 5:34 PM, Héctor Sanjuán hsanj...@opennebula.org wrote: Hi, make sure there is a host available to receive the VM. Have you tried to manually deploy it by: $ onevm deploy vmid hostid Maybe the logs will offer more information then. Héctor El 27/03/11 17:24, Madhurranjan Mohaan escribió: Hi All, I am unable to create VMs any further because they are stuck in pending state. onevm list 39 oneadminvm-ex pend 0 0K 00 00:07:44 The logs don't seem to get anything about this. I restarted after backing up the logs , on all machines but the result is the same . I keep getting this message but nothing more. Any suggestions ? Sun Mar 27 20:49:38 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:40 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: HostPoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Sun Mar 27 20:49:42 2011 [ReM][D]:
Re: [one-users] onevm creta VGA problem
No ideas? Sorry for insist, but it is driving me crazy and I've found no clue about the problem here. I changed my libvirt debug level to 1, so now it shows more detailed information. Hope it helps: Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: LOG - 11 Command execution fail: 'if [ -x /var/tmp/one/vmm/kvm/deploy ]; then /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//11/images/deployment.0; else exit 42; fi' Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: LOG - 11 STDERR follows. Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: LOG - 11 error: Failed to create domain from /srv/cloud/one/var//11/images/deployment.0 Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: LOG - 11 error: internal error process exited while connecting to monitor: 18:13:13.497: debug : qemudInitCpuAffinity:2423 : Setting CPU affinity Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: LOG - 11 18:13:13.498: debug : qemuSecurityDACSetProcessLabel:547 : Dropping privileges of VM to 9000:9000 Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: LOG - 11 Unknown vga type: none Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: LOG - 11 Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: LOG - 11 ExitCode: 255 Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: DEPLOY FAILURE 11 error: Failed to create domain from /srv/cloud/one/var//11/images/deployment.0 Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: error: internal error process exited while connecting to monitor: 18:13:13.497: debug : qemudInitCpuAffinity:2423 : Setting CPU affinity Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: 18:13:13.498: debug : qemuSecurityDACSetProcessLabel:547 : Dropping privileges of VM to 9000:9000 Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: Unknown vga type: none Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: Mon Apr 4 18:13:16 2011 [VMM][D]: Message received: ExitCode: 255 Mon Apr 4 18:13:16 2011 [TM][D]: Message received: LOG - 11 tm_delete.sh: Deleting /srv/cloud/one/var//11/images Mon Apr 4 18:13:16 2011 [TM][D]: Message received: LOG - 11 tm_delete.sh: Executed rm -rf /srv/cloud/one/var//11/images. Mon Apr 4 18:13:16 2011 [TM][D]: Message received: TRANSFER SUCCESS 11 - I'm using ONe 2.2 on centos 5.5 with x86_64 arch. Thanks a lot Idafen 2011/4/1 Idafen Santana Pérez idafe...@gmail.com: Hi, I'm having problems when trying to create a VM. It claims about the VGA type, I'm not sure about what it meas. This is (part of) the output on my oned.log after executing 'onevm create ttylinux.one': Fri Apr 1 12:12:57 2011 [TM][D]: Message received: TRANSFER SUCCESS 5 - Fri Apr 1 12:13:00 2011 [VMM][D]: Message received: LOG - 5 Command execution fail: 'if [ -x /var/tmp/one/vmm/kvm/deploy ]; then /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//5/images/deployment.0; else exit 42; fi' Fri Apr 1 12:13:00 2011 [VMM][D]: Message received: LOG - 5 STDERR follows. Fri Apr 1 12:13:00 2011 [VMM][D]: Message received: LOG - 5 error: Failed to create domain from /srv/cloud/one/var//5/images/deployment.0 Fri Apr 1 12:13:00 2011 [VMM][D]: Message received: LOG - 5 error: internal error process exited while connecting to monitor: Unknown vga type: none Fri Apr 1 12:13:00 2011 [VMM][D]: Message received: LOG - 5 Fri Apr 1 12:13:00 2011 [VMM][D]: Message received: LOG - 5 ExitCode: 255 and this is the content of my ttylinux.one file (i took it from http://dev.opennebula.org/attachments/download/170/ttylinux.tar.gz) NAME = ttylinux-public CPU = 0.1 MEMORY = 64 DISK = [ image = ttylinux, target = hda, readonly = no ] NIC = [ NETWORK = onetd ] FEATURES=[ acpi=no ] Any hint? Thanks in advance. Regards, Idafen ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] sunstone sinatra error
Thanks!! Now, I have other error when I run: /usr/bin/sunstone-server -H myserver start /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:572:in `start_tcp_server': no acceptor (RuntimeError) from /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:572:in `start_server' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.11/lib/thin/backends/tcp_server.rb:16:in `connect' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.11/lib/thin/backends/base.rb:53:in `block in start' from /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `call' from /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine' from /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.11/lib/thin/backends/base.rb:61:in `start' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.11/lib/thin/server.rb:159:in `start' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/handler/thin.rb:14:in `run' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/server.rb:213:in `start' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/server.rb:100:in `start' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/bin/rackup:4:in `top (required)' from /usr/local/bin/rackup:19:in `load' from /usr/local/bin/rackup:19:in `main' Thin web server (v1.2.11 codename Bat-Shit Crazy) Maximum connections set to 1024 Listening on myserver:4567, CTRL+C to stop The firewall on myserver is disable. Now I can't see the sunstone page either in a local web browser. 2011/4/4 Giovanni Toraldo m...@gionn.net Il 04/04/2011 14:10, Patricia Santos Marco ha scritto: and when I run sunstone-server there aren't errors, but I don't see anyting in the web browser in port : https://myserver:4567| launch with -H ip sunstone by default listen on localhost only. -- Giovanni Toraldo http://gionn.net/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Patricia Santos Marco Institute for Biocomputation and Physics of Complex Systems University of Zaragoza (BIFI) -- Instituto de Biocomputación y Física de Sistemas Complejos de la Universidad de Zaragoza (BIFI) - E-mail: psantos(at)bifi.es Phone: (+34)976-76-10-00 ext 5402 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Sunstone Gui not starting up
Hi Experts, I installed as per the guidelines and tested a couple of hello world scripts with sinatra and its working fine. However, when I start it with open nebula , I am unable to see the screen loading up. I initially hit the error ( running 1.8.6 ruby ) /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/utils.rb:138:in `union': can't convert Array into String (TypeError) Saw the compatibility thread and downgraded rack version to 1.2. However, once I run sunstone, I can see the process up and running along with 2 warnings in sunstoned.log /usr/lib/ruby/gems/1.8/gems/rack-1.2.0/lib/rack/server.rb:228: warning: parenthesize argument(s) for future version /srv/cloud/one/lib/sunstone/models/OpenNebulaJSON.rb:35: warning: parenthesize argument(s) for future version But I can't connect to ip:4567 .Any thoughts as to where I might have gone wrong ? thanks Ranjan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org