Re: [one-users] Host hooks aren't triggered

2011-04-01 Thread Tino Vazquez
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 Vir

Re: [one-users] Host hooks aren't triggered

2011-04-01 Thread Zaina AFOULKI
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 29 node1 2 im_kvm vmm_kvm tm_nfs 1301672703 default

Re: [one-users] Host hooks aren't triggered

2011-04-01 Thread Tino Vazquez
Hi, Please try the following: my_file.puts "OpenNebula host #{vm_ids_array.class}" my_file.puts vm_ids_array.class Also, please send the output of $ onehost list -x $ onevm list -x Regards, -Tino -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Re

Re: [one-users] Host hooks aren't triggered

2011-04-01 Thread Zaina AFOULKI
Hi Tino, I added this to the ruby script (I'm new to Ruby, so I'm not sure it's correct): my_file.puts "OpenNebula host #{vm_ids_array.class}" for item in 0...vm_ids_array.length my_file.puts " #{vm_ids_array[item]}"; end $cat /tmp/remove_me.txt OpenNebula host has failed 31 NilClass

Re: [one-users] VM creation stuck in "pending" state

2011-04-01 Thread Tino Vazquez
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 wrote: > in Our case they are monitorized and are not in error state as shown in on

Re: [one-users] OpenVZ VM config template

2011-04-01 Thread Tino Vazquez
Hi, Oh, I see then. I suggest using this RAW workaround then until the ticket is solved (we are solving it anyway since the overwritting wasn't the intended behavior). Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Fri, Apr 1,

Re: [one-users] vm fails to start - vm.log: [TM][E]: prolog, error getting driver vmm_kvm

2011-04-01 Thread Carlos Martín Sánchez
Hi Marius, Please check in oned.log if right after start-up there are some error messages like: MAD did not answer INIT command If so, you can enable the mad debug in etc/defaultrc: ONE_MAD_DEBUG=1. That could shed some light on the issue. Regards. -- Carlos Martín, MSc Project Major Contributor

[one-users] oned run problem

2011-04-01 Thread Vivek Shrivastava
Hello all, while running opennebula express installation, i got problem "can't execute - /usr/bin/oned" so I run it manually :- root@oneadmin-desktop:~/Desktop/opennebula_express# sh /usr/bin/oned /usr/bin/oned: 1: Syntax error: word unexpected (expecting ")") Now what should I do? -- From,

Re: [one-users] Asking about onehost command

2011-04-01 Thread Héctor Sanjuán
Hi, please check this: http://lists.opennebula.org/pipermail/users-opennebula.org/2011-March/004580.html and see if it fixes it. Hope it helps, Héctor El 01/04/11 05:59, Hoang Dinh Phuc escribió: > Dear all, > > I'm new to opennebula. I'm already install OpenNebula in CentOS5.5 > (textmode).

Re: [one-users] VM creation stuck in "pending" state

2011-04-01 Thread Zeeshan Ali Shah
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 rest

Re: [one-users] OpenVZ VM config template

2011-04-01 Thread knawnd
Tino Vazquez wrote on 01/04/11 14:52: the problem i see with the workaround is how to relate the RAW section to DISK in case there is more than one DISK. Hi Tino, There is no way and sense to have more then one disk in VMs (aka containers) based on OpenVZ [1]. You can't assign\attach more disk

[one-users] vm fails to start - vm.log: [TM][E]: prolog, error getting driver vmm_kvm

2011-04-01 Thread Marius Dagilis
Hello everyone, I'm trying to create vm, but after being for a short time at "Pending" state it ends up in "Failed". ssh login to hosts works without passwords, user oneadmin is able to access all files in the /srv/cloud/. Where can be the problem? There are these lines in the vm.log file: Fr

Re: [one-users] Host hooks aren't triggered

2011-04-01 Thread Tino Vazquez
Hi Zaina, Could you please print out also the content of "vm_ids_array"? I am afraid the xpath expression may not be doing its job. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Fri, Apr 1, 2011 at 8:57 AM, Zaina AFOULKI wro

Re: [one-users] VM creation stuck in "pending" state

2011-04-01 Thread Tino Vazquez
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

Re: [one-users] VM creation stuck in "pending" state

2011-04-01 Thread Zeeshan Ali Shah
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 wrote: > Hi, > > make sure there is a host available to receive the VM. Have you trie

Re: [one-users] OpenVZ VM config template

2011-04-01 Thread Tino Vazquez
Hi, I've opened a ticket to avoid erasing custom attributes in disk and network sections [1]. the problem i see with the workaround is how to relate the RAW section to DISK in case there is more than one DISK. Regards, [1] http://dev.opennebula.org/issues/559 -- Constantino Vázquez Blanco, MSc

Re: [one-users] Fwd: Error trying to CREATE HOST Error inserting Host Share in DB

2011-04-01 Thread Carlos Martín Sánchez
Hi Vivek, You are installing OpenNebula 2.0, right? Could you check if there is any error message in oned.log right after this message? [ONE][I]: Bootstraping OpenNebula database. It may be also helpful if you could send the output of $ sqlite3 one.db ".schema" Regards, Carlos -- Carlos Martí

[one-users] onevm creta VGA problem

2011-04-01 Thread Idafen Santana Pérez
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

Re: [one-users] Host hooks aren't triggered

2011-04-01 Thread Zaina AFOULKI
Hi, I checked the ruby script that's called and it seems that the array containing the list of VMs is empty vm_ids_array = vms.retrieve_elements("/VM_POOL/VM[STATE=3]/HISTORY[HOSTNAME=\"#{host_name}\"]/../ID") I tried printing something to a tmp file to make sure that the script gets the rig

Re: [one-users] Recommended tools for creating img files

2011-04-01 Thread Olivier Sallou
Hi, a very nice tool is Suse Studio (for suse distrib fo course). You can generate iso, amazon ec2, vmdk files etc and can customize completly your image Olivier Le 3/31/11 7:48 PM, Madhurranjan Mohaan a écrit : What is the best way to -- gpg key id: 4096R/326D8438 (pgp.mit.edu) Key fi