Re: [one-users] Authentication ldap and authdb issues
Hi, On Mon, 2011-04-11 at 22:54 +0530, Madhurranjan Mohaan wrote: I am trying to use the ldap add on to integrate the setup with ldap I have some followup questions: 1) The documentation suggests that LDAP integration was created for the 2.0 release: documentation:archives:rel2.0:ldap I assume it still (is supposed to) work with 2.2 ? 2) The user should add its credentials to $ONE_AUTH file (usually $HOME/.one/one_auth) in this fashion: user_dn:plain:user_password Does that mean the users have to put their passwds in plain text into their homedir ?? This would be a gaping security hole. Yours, Steffen -- IPB HalleAG Massenspektrometrie Bioinformatik Dr. Steffen Neumann http://www.IPB-Halle.DE Weinberg 3 http://msbi.bic-gh.de 06120 Halle Tel. +49 (0) 345 5582 - 1470 +49 (0) 345 5582 - 0 sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Live migrate failed
Hi, all. I am testing the live migrate function of opennebula. But it seemed that it didn't work on my machine.So I checked the vm log and found this error information : Tue Apr 12 14:56:07 2011 [LCM][I]: New VM state is MIGRATE Tue Apr 12 14:56:07 2011 [VMM][I]: Command execution fail: 'if [ -x /var/tmp/one/vmm/kvm/migrate ]; then /var/tmp/one/vmm/kvm/migrate one-67 cloudlabnc1; else exit 42; fi' Tue Apr 12 14:56:07 2011 [VMM][I]: STDERR follows. Tue Apr 12 14:56:07 2011 [VMM][I]: error: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory Tue Apr 12 14:56:07 2011 [VMM][I]: ExitCode: 1 Tue Apr 12 14:56:07 2011 [VMM][E]: Error live-migrating VM, error: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory Tue Apr 12 14:56:08 2011 [LCM][I]: Fail to life migrate VM. Assuming that the VM is still RUNNING (will poll VM). Tue Apr 12 14:56:08 2011 [VMM][D]: Monitor Information: Could anyone please give me any advice ? Best Regards Jeff ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Sunstone donot deploy machine
Héctor Sanjuán escribió: Hi, It is not very clear to me what might be happening. Which version of OpenNebula are you using? $ oned -v Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org) OpenNebula 2.1.80 is distributed and licensed for use under the terms of the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0). Which browser? Firefox 3.0.6 Does the new VM button pop up a VM creation form at all or does the problem happen after you submit this form? After summit the form, nothing happens On the second case, Are you using any of the wizards of the form or the advanced mode using an ONE template? We probe both of them. They not work (Note that deployment and creation are different things. The new buttons helps you create a VM. This VM is later deployed in a host). And all VMs should appear in the list, whatever their status is. After push the create button of the VM creation form, nothing happens Regards, Hector El 11/04/11 18:53, Ruben Diez escribió: Hi: We are attempt to deploy a virtual machine by using the new button from the machine view, but nothing happens No error appears in the sunstone.log file. The new machine don't appear in machine view, and not listed in the fail machine list... Any idea?? ___ 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] Directory Xen On opennebula
I have xen host with guest os running, but my directory xen not in /srv/cloud because when i create guest with xen, i manage to directory /virtual/xen is that possible if i want integrated with opennebula??? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Sunstone in ubuntu
Hi, On Mon, 2011-04-11 at 19:21 +0800, Jeff wrote: Thank you olivier. It seems that there is something wrong with the option -H when using sunstone-server command .So I edited the $ONE_LOCATION/bin/sunstone-server and replaced line ' HOST=127.0.0.1 ' with 'HOST=myip' ,then it worked. That's kind of weird. Maybe it is a bug ? No, that's how you configure how a server should LISTEN, you can restrict that to interfaces, and 127.0.0.1 would be lo instead of eth0. You can also set HOST=0.0.0.0 and it'll listen on all interfaces, IIRC. Yours, Steffen -- IPB HalleAG Massenspektrometrie Bioinformatik Dr. Steffen Neumann http://www.IPB-Halle.DE Weinberg 3 http://msbi.bic-gh.de 06120 Halle Tel. +49 (0) 345 5582 - 1470 +49 (0) 345 5582 - 0 sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Sunstone donot deploy machine
Hi, It could be a browser problem (any chance of updating? or testing with Chrome?). Even if it's not probably the extension firebug can give you some information if the problem is on the client-side javascript, and would allow you to inspect more closely the data sent to the sunstone server when a new VM is created and the returned information. You can also try updating OpenNebula to the latest release (2.2) as there were a few bugs fixed. In any case, can you attach the sunstone.log? Just to make sure we didn't miss anything in there. Thanks, Hector El 12/04/11 10:31, Ruben Diez escribió: Héctor Sanjuán escribió: Hi, It is not very clear to me what might be happening. Which version of OpenNebula are you using? $ oned -v Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org) OpenNebula 2.1.80 is distributed and licensed for use under the terms of the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0). Which browser? Firefox 3.0.6 Does the new VM button pop up a VM creation form at all or does the problem happen after you submit this form? After summit the form, nothing happens On the second case, Are you using any of the wizards of the form or the advanced mode using an ONE template? We probe both of them. They not work (Note that deployment and creation are different things. The new buttons helps you create a VM. This VM is later deployed in a host). And all VMs should appear in the list, whatever their status is. After push the create button of the VM creation form, nothing happens Regards, Hector El 11/04/11 18:53, Ruben Diez escribió: Hi: We are attempt to deploy a virtual machine by using the new button from the machine view, but nothing happens No error appears in the sunstone.log file. The new machine don't appear in machine view, and not listed in the fail machine list... Any idea?? ___ 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
[one-users] Can Opennebula implete Virtual Machine backup and restore?
Can Opennebula implete Virtual Machine backup and restore? It needs to be managed for virtual machine backup and restore function by web application UI(B/S framework) Opennebula:How to use the LVM? Or other ways? I hope to give me a very good solutions! thanks! I feel very difficult! We discuss solutions the following (take update openebula core code way process) •modify oned RPC interface,add backup_vm() interface. •modify oned db,add backup table vid vm id bid back id time --- back time •the client call backup_vm(), oned will be shut the vm if vm is running •after confirm the vm stopped ,oned will vm images directory copy to the dir :/one_images/backup/vid-bid: copy use shutdown operate ,update tm's epilog logic •In backup table insert a data Do you have any questions? if No problem ,Who can help me modify the qestion logic please? regards! david --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem with ebtables OpenNebula
Hi, You need to install the rubygems dependency, the process varies depending on the linux distro used. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Apr 12, 2011 at 2:17 AM, Leong Marco leong.chou@usj.edu.mo wrote: [oneadmin@geek ~]$ ruby -dw /usr/lib/one/mads/one_auth_mad.rb Exception `LoadError' at /usr/lib/one/mads/one_auth_mad.rb:33 - no such file to load -- rubygems /usr/lib/one/mads/one_auth_mad.rb:33:in `require': no such file to load -- rubygems (LoadError) from /usr/lib/one/mads/one_auth_mad.rb:33 here is the output. Leong Marco leong.chou@usj.edu.mo On Apr 11, 2011, at 11:06 PM, Tino Vazquez wrote: Ok, please try $ ruby -dw $ONE_LOCATION/lib/mads/one_auth_mad.rb and send the output Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Mon, Apr 11, 2011 at 4:59 PM, Leong Marco leong.chou@usj.edu.mo wrote: Hi, It return the shell. Best regards. Leong Marco leong.chou@usj.edu.mo On Apr 11, 2011, at 10:54 PM, Tino Vazquez wrote: Hi, What happens, does it return the shell, or does it wait for input? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Mon, Apr 11, 2011 at 4:49 PM, Leong Marco leong.chou@usj.edu.mo wrote: Hi Tino, Thank you for your reply. This command doesn't produce any output. Leong Marco leong.chou@usj.edu.mo On Apr 11, 2011, at 10:20 PM, Tino Vazquez wrote: Dear Leong, Please try the following as oneadmin, and send the output: # $ONE_LOCATION/lib/mads/one_auth_mad Regards, .Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Mon, Apr 11, 2011 at 3:49 PM, Leong Marco leong.chou@usj.edu.mo wrote: Dear Tino, Yes, I did have this error in the log. Mon Apr 11 15:13:09 2011 [MAD][E]: MAD did not answer INIT command What is the problem happen here? Thank you for your help ! Leong Marco leong.chou@usj.edu.mo On Apr 11, 2011, at 8:55 PM, Tino Vazquez wrote: Dear Leong, Marwen, If you are experiencing the following in the logs Fri Apr 8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command it may be due to a missing dependency, we can walk you on finding out which one. Otherwise, please say so and we will look at other possible causes. Regards, -Tino -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Mon, Apr 11, 2011 at 9:13 AM, Leong Marco leong.chou@usj.edu.mo wrote: Hi, I have the same problem as Marwen. With this log message. Mon Apr 11 14:50:26 2011 [TM][I]: tm_context.sh: Executed rm -rf /var/lib/one/2603e38607a144aef3bef07283d77095. Mon Apr 11 14:50:26 2011 [LCM][I]: New VM state is BOOT Mon Apr 11 14:50:26 2011 [VMM][I]: Generating deployment file: /var/lib/one/165/deployment.1 Mon Apr 11 14:50:28 2011 [LCM][I]: New VM state is RUNNING Mon Apr 11 14:50:28 2011 [HKM][I]: Hook ebtables-start successfully executed. However, if I do a list to ebtables, it is empty. [oneadmin@geek root]$ sudo ebtables --list Bridge table: filter Bridge chain: INPUT, entries: 0, policy: ACCEPT Bridge chain: FORWARD, entries: 0, policy: ACCEPT Bridge chain: OUTPUT, entries: 0, policy: ACCEPT When I run some ebtables command like this one, it works sudo ebtables -A FORWARD -p IPv4 -j ACCEPT this does add the rules to the table. What can I provide to help you to debug this problem? Leong Marco leong.chou@usj.edu.mo On Apr 7, 2011, at 9:46 PM, marwen marwen wrote: Hi Zaina Yes I added oneadmin in the sudoers file of the physical host where the VM is allocated. And when I create the VM I specify the host where the VM will be allocated. But the problem is not resolved. Do you think that we must add this command in sudoers file of all cluster nodes. oneadmin ALL=(ALL) NOPASSWD: /sbin/ebtables * Best regards Marwen From: Zaina AFOULKI zaina.afou...@ensi-bourges.fr To: users@lists.opennebula.org Subject: Re: [one-users] Problem with ebtables OpenNebula Message-ID: 4d9cb10c.6080...@ensi-bourges.fr Content-Type: text/plain; charset=ISO-8859-1 Hi Marwen, Did you make sure that oneadmin is added in the /etc/sudoers file with oneadmin ALL=(ALL) NOPASSWD: /sbin/ebtables * ? http://opennebula.org/documentation:archives:rel2.0:nm -- Zaina On 04/06/2011 06:40 PM, marwen marwen wrote: Hi, I'm using ebtables to isolate virtual network in OpenNebula. I have a problem when OpenNebula execute ebtables-kvm script. In fact, the log file mention no error Wed Apr 6 18:22:02 2011 [HKM][D]: Message received: EXECUTE SUCCESS 146 ebtables-start. But there are no rule added to the list rules of
Re: [one-users] Sunstone donot deploy machine
Yes: it was a browser problem... Thanks a lot Héctor Sanjuán escribió: Hi, It could be a browser problem (any chance of updating? or testing with Chrome?). Even if it's not probably the extension firebug can give you some information if the problem is on the client-side javascript, and would allow you to inspect more closely the data sent to the sunstone server when a new VM is created and the returned information. You can also try updating OpenNebula to the latest release (2.2) as there were a few bugs fixed. In any case, can you attach the sunstone.log? Just to make sure we didn't miss anything in there. Thanks, Hector El 12/04/11 10:31, Ruben Diez escribió: Héctor Sanjuán escribió: Hi, It is not very clear to me what might be happening. Which version of OpenNebula are you using? $ oned -v Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org) OpenNebula 2.1.80 is distributed and licensed for use under the terms of the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0). Which browser? Firefox 3.0.6 Does the new VM button pop up a VM creation form at all or does the problem happen after you submit this form? After summit the form, nothing happens On the second case, Are you using any of the wizards of the form or the advanced mode using an ONE template? We probe both of them. They not work (Note that deployment and creation are different things. The new buttons helps you create a VM. This VM is later deployed in a host). And all VMs should appear in the list, whatever their status is. After push the create button of the VM creation form, nothing happens Regards, Hector El 11/04/11 18:53, Ruben Diez escribió: Hi: We are attempt to deploy a virtual machine by using the new button from the machine view, but nothing happens No error appears in the sunstone.log file. The new machine don't appear in machine view, and not listed in the fail machine list... Any idea?? ___ 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] Host hooks aren't triggered
Hi Tino, this is the output of onevm list ID USER NAME STAT CPU MEMHOSTNAMETIME 3362 orange orange-a runn 0 0K node2 00 00:06:53 3363 orange orange-a runn 0 0K node2 00 00:06:53 The output in /tmp/remove_me.txt is still VM_POOL/ Thanks, -- Zaina On Mon, 11 Apr 2011 17:02:10 +0200, Tino Vazquez wrote: Hi, So it seems like the retrieved collection of VMs is null, and that is why no VM is scheduled. What is the output of onevm list? Running as oneadmin. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Apr 5, 2011 at 8:19 AM, Zaina AFOULKI zaina.afou...@ensi-bourges.fr wrote: Hi Tino, Yes, I'm attaching the ruby file... Thanks, Zaina On Mon, 4 Apr 2011 15:06:02 +0200, Tino Vazquez wrote: 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
Re: [one-users] Host hooks aren't triggered
Hi Zaina, Let's see why the vms.info is failing, please add the following to the file: -- rc = vms.info my_file.puts OpenNebula vms info return code my_file.puts rc -- Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Apr 12, 2011 at 1:36 PM, Zaina AFOULKI zaina.afou...@ensi-bourges.fr wrote: Hi Tino, this is the output of onevm list ID USER NAME STAT CPU MEM HOSTNAME TIME 3362 orange orange-a runn 0 0K node2 00 00:06:53 3363 orange orange-a runn 0 0K node2 00 00:06:53 The output in /tmp/remove_me.txt is still VM_POOL/ Thanks, -- Zaina On Mon, 11 Apr 2011 17:02:10 +0200, Tino Vazquez wrote: Hi, So it seems like the retrieved collection of VMs is null, and that is why no VM is scheduled. What is the output of onevm list? Running as oneadmin. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Apr 5, 2011 at 8:19 AM, Zaina AFOULKI zaina.afou...@ensi-bourges.fr wrote: Hi Tino, Yes, I'm attaching the ruby file... Thanks, Zaina On Mon, 4 Apr 2011 15:06:02 +0200, Tino Vazquez wrote: 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
[one-users] onehost register problem
hi I have a problem in registering a host OpenNebula. I would like to enter the local host in onehost, but I get a message after the inclusion of authentication: oneadmin @ mobile: ~ $ The Authenticity of host '127 .0.0.1 (127.0.0.1) 'can not beestablished. RSA key fingerprint is 16:2 d: 9e: 74: bc: 63: a4: 9d: 6d: 34: dc: 78:2 d: ca: 23:7 a. Are you sure You want to continue connecting (yes / no)? if I choose to continue, the result on the monitor is a column of y thank you very much ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] onehost register problem (typo)
El 12/04/11 13:59, Héctor Sanjuán escribió: add it to .ssh/authorised_keys. Sorry, I mispelled it: .ssh/authorized_keys ^ -- Héctor Sanjuan OpenNebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] tm_commands for moosefs
Thanks, it would be an excellent contribution to our ecosystem. We will send you more details. Cheers On Thu, Apr 7, 2011 at 11:42 AM, Giovanni Toraldo g...@libersoft.it wrote: Hi, I'm happily using opennebula 2.2 with MooseFS (http://www.moosefs.org/) as backend storage. I've created a new tm_commands set from tm_ssh to make it working with mfs, and using some specific mfs command for speeding up the transfer from/to frontend. It's opennebula interested in integrating third-party transfer managers? If so, I'm willing to publish it as feature request on dev.opennebula.org. Thanks. -- Giovanni Toraldo http://www.libersoft.it/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Ignacio M. Llorente, PhD, MBA Project co-Lead and Director OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | imllore...@opennebula.org ___ 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, I have two VMs running with onevm list. But after I added the lines you indicated at the end of the file I get: OpenNebula vms info return code nil Not sure what's wrong here... Thanks a lot for your help Tino. -- Zaina On Tue, 12 Apr 2011 13:44:30 +0200, Tino Vazquez wrote: Hi Zaina, Let's see why the vms.info is failing, please add the following to the file: -- rc = vms.info my_file.puts OpenNebula vms info return code my_file.puts rc -- Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Apr 12, 2011 at 1:36 PM, Zaina AFOULKI zaina.afou...@ensi-bourges.fr wrote: Hi Tino, this is the output of onevm list ID USER NAME STAT CPU MEM HOSTNAME TIME 3362 orange orange-a runn 0 0K node2 00 00:06:53 3363 orange orange-a runn 0 0K node2 00 00:06:53 The output in /tmp/remove_me.txt is still VM_POOL/ Thanks, -- Zaina On Mon, 11 Apr 2011 17:02:10 +0200, Tino Vazquez wrote: Hi, So it seems like the retrieved collection of VMs is null, and that is why no VM is scheduled. What is the output of onevm list? Running as oneadmin. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Apr 5, 2011 at 8:19 AM, Zaina AFOULKI zaina.afou...@ensi-bourges.fr wrote: Hi Tino, Yes, I'm attaching the ruby file... Thanks, Zaina On Mon, 4 Apr 2011 15:06:02 +0200, Tino Vazquez wrote: 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
[one-users] ttylinux fails to start
Hi, I followed the example of creating a ttylinux VM. The VM starts, boots and eventually fails. The error log reads: Tue Apr 12 15:02:23 2011 [DiM][I]: New VM state is ACTIVE. Tue Apr 12 15:02:23 2011 [LCM][I]: New VM state is PROLOG. Tue Apr 12 15:02:23 2011 [VM][I]: Virtual Machine has no context Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: voyager:/srv/cloud/one/one-templates/ttylinux.img wws-vmhost01:/srv/cloud/one/var//1/ima ges/disk.0 Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//1/images/disk.0 Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//1/images Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed mkdir -p /srv/cloud/one/var//1/images. Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed chmod a+w /srv/cloud/one/var//1/images. Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/one/one-templates/ttylinux.img Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed cp -r /srv/cloud/one/one-templates/ttylinux.img /srv/cloud/one/var//1/images/d isk.0. Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed chmod a+rw /srv/cloud/one/var//1/images/disk.0. Tue Apr 12 15:02:26 2011 [LCM][I]: New VM state is BOOT Tue Apr 12 15:02:26 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/1/deployment.0 Tue Apr 12 15:02:58 2011 [VMM][I]: Command execution fail: 'if [ -x /var/tmp/one/vmm/kvm/deploy ]; then /var/tmp/one/vmm/kvm/deploy / srv/cloud/one/var//1/images/deployment.0; else exit 42; fi' Tue Apr 12 15:02:58 2011 [VMM][I]: STDERR follows. Tue Apr 12 15:02:58 2011 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var//1/images/deployment.0 Tue Apr 12 15:02:58 2011 [VMM][I]: error: monitor socket did not show up.: Connection refused Tue Apr 12 15:02:58 2011 [VMM][I]: ExitCode: 255 Tue Apr 12 15:02:58 2011 [VMM][E]: Error deploying virtual machine: error: Failed to create domain from /srv/cloud/one/var//1/images/de ployment.0 Tue Apr 12 15:02:58 2011 [DiM][I]: New VM state is FAILED Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: LOG - 1 tm_delete.sh: Deleting /srv/cloud/one/var//1/images Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: LOG - 1 tm_delete.sh: Executed rm -rf /srv/cloud/one/var//1/images. Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: TRANSFER SUCCESS 1 - Tue Apr 12 15:16:36 2011 [DiM][I]: New VM state is DONE. I restarted the host machine before deployment of the VM, so VM services should be initiated. BTW: I found out that the host CPU has no support for the virtualization instruction set required by KVM. Can it be the cause of the above failure ? Or should KVM revert automatically to another state to continue deployment ? I'm glad to provide more output from logs if necessary. ___ 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, Just to confirm, are you running oned as root or as oneadmin? Regards, -Tino -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Tue, Apr 12, 2011 at 3:19 PM, Zaina AFOULKI zaina.afou...@ensi-bourges.fr wrote: Hi, I have two VMs running with onevm list. But after I added the lines you indicated at the end of the file I get: OpenNebula vms info return code nil Not sure what's wrong here... Thanks a lot for your help Tino. -- Zaina On Tue, 12 Apr 2011 13:44:30 +0200, Tino Vazquez wrote: Hi Zaina, Let's see why the vms.info is failing, please add the following to the file: -- rc = vms.info my_file.puts OpenNebula vms info return code my_file.puts rc -- Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Apr 12, 2011 at 1:36 PM, Zaina AFOULKI zaina.afou...@ensi-bourges.fr wrote: Hi Tino, this is the output of onevm list ID USER NAME STAT CPU MEM HOSTNAME TIME 3362 orange orange-a runn 0 0K node2 00 00:06:53 3363 orange orange-a runn 0 0K node2 00 00:06:53 The output in /tmp/remove_me.txt is still VM_POOL/ Thanks, -- Zaina On Mon, 11 Apr 2011 17:02:10 +0200, Tino Vazquez wrote: Hi, So it seems like the retrieved collection of VMs is null, and that is why no VM is scheduled. What is the output of onevm list? Running as oneadmin. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Apr 5, 2011 at 8:19 AM, Zaina AFOULKI zaina.afou...@ensi-bourges.fr wrote: Hi Tino, Yes, I'm attaching the ruby file... Thanks, Zaina On Mon, 4 Apr 2011 15:06:02 +0200, Tino Vazquez wrote: 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
[one-users] econe vm templates
Hi, When configuring econe.conf we specifiy the possible instance types: # VM types allowed and its template file (inside templates directory) VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb] VM_TYPE=[NAME=m1.medium, TEMPLATE=m1.medium.erb] Is it possible to use any naming convention for the templates or are we limited to the same as EC2 ? for example can I write something like this in econe.conf: VM_TYPE=[NAME=medium.onecore, TEMPLATE=medium.onecore.erb] Which will let users do: econe-run-instances -t medium.onecore thanks ? -- --- Sebastien Goasguen, Associate Professor School of Computing Clemson University 864-553-4734. Google Voice: (864)-869-8683 http://sites.google.com/site/runseb/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula Deltacloud Adaptor
Hi, The Deltacloud Adaptor was developed on OpenNebula 1,4 and deltacloud-core (0.0.1), but it should not be difficult to update it to the last versions. Regards. On 12 April 2011 00:32, Sebastian Neg neg.sebast...@gmail.com wrote: Hi,I installed Opennebula 2.2 on CentOS. Deltacloud Adaptor is it functional with this version? Thanks ___ 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] Problem with ebtables OpenNebula
Tino, I have installed rubygems. However, it is able to run in root, not oneadmin. Leong Marco leong.chou@usj.edu.mo On Apr 12, 2011, at 5:22 PM, Tino Vazquez wrote: Hi, You need to install the rubygems dependency, the process varies depending on the linux distro used. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Apr 12, 2011 at 2:17 AM, Leong Marco leong.chou@usj.edu.mo wrote: [oneadmin@geek ~]$ ruby -dw /usr/lib/one/mads/one_auth_mad.rb Exception `LoadError' at /usr/lib/one/mads/one_auth_mad.rb:33 - no such file to load -- rubygems /usr/lib/one/mads/one_auth_mad.rb:33:in `require': no such file to load -- rubygems (LoadError) from /usr/lib/one/mads/one_auth_mad.rb:33 here is the output. Leong Marco leong.chou@usj.edu.mo On Apr 11, 2011, at 11:06 PM, Tino Vazquez wrote: Ok, please try $ ruby -dw $ONE_LOCATION/lib/mads/one_auth_mad.rb and send the output Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Mon, Apr 11, 2011 at 4:59 PM, Leong Marco leong.chou@usj.edu.mo wrote: Hi, It return the shell. Best regards. Leong Marco leong.chou@usj.edu.mo On Apr 11, 2011, at 10:54 PM, Tino Vazquez wrote: Hi, What happens, does it return the shell, or does it wait for input? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Mon, Apr 11, 2011 at 4:49 PM, Leong Marco leong.chou@usj.edu.mo wrote: Hi Tino, Thank you for your reply. This command doesn't produce any output. Leong Marco leong.chou@usj.edu.mo On Apr 11, 2011, at 10:20 PM, Tino Vazquez wrote: Dear Leong, Please try the following as oneadmin, and send the output: # $ONE_LOCATION/lib/mads/one_auth_mad Regards, .Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Mon, Apr 11, 2011 at 3:49 PM, Leong Marco leong.chou@usj.edu.mo wrote: Dear Tino, Yes, I did have this error in the log. Mon Apr 11 15:13:09 2011 [MAD][E]: MAD did not answer INIT command What is the problem happen here? Thank you for your help ! Leong Marco leong.chou@usj.edu.mo On Apr 11, 2011, at 8:55 PM, Tino Vazquez wrote: Dear Leong, Marwen, If you are experiencing the following in the logs Fri Apr 8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command it may be due to a missing dependency, we can walk you on finding out which one. Otherwise, please say so and we will look at other possible causes. Regards, -Tino -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Mon, Apr 11, 2011 at 9:13 AM, Leong Marco leong.chou@usj.edu.mo wrote: Hi, I have the same problem as Marwen. With this log message. Mon Apr 11 14:50:26 2011 [TM][I]: tm_context.sh: Executed rm -rf /var/lib/one/2603e38607a144aef3bef07283d77095. Mon Apr 11 14:50:26 2011 [LCM][I]: New VM state is BOOT Mon Apr 11 14:50:26 2011 [VMM][I]: Generating deployment file: /var/lib/one/165/deployment.1 Mon Apr 11 14:50:28 2011 [LCM][I]: New VM state is RUNNING Mon Apr 11 14:50:28 2011 [HKM][I]: Hook ebtables-start successfully executed. However, if I do a list to ebtables, it is empty. [oneadmin@geek root]$ sudo ebtables --list Bridge table: filter Bridge chain: INPUT, entries: 0, policy: ACCEPT Bridge chain: FORWARD, entries: 0, policy: ACCEPT Bridge chain: OUTPUT, entries: 0, policy: ACCEPT When I run some ebtables command like this one, it works sudo ebtables -A FORWARD -p IPv4 -j ACCEPT this does add the rules to the table. What can I provide to help you to debug this problem? Leong Marco leong.chou@usj.edu.mo On Apr 7, 2011, at 9:46 PM, marwen marwen wrote: Hi Zaina Yes I added oneadmin in the sudoers file of the physical host where the VM is allocated. And when I create the VM I specify the host where the VM will be allocated. But the problem is not resolved. Do you think that we must add this command in sudoers file of all cluster nodes. oneadminALL=(ALL) NOPASSWD: /sbin/ebtables * Best regards Marwen From: Zaina AFOULKI zaina.afou...@ensi-bourges.fr To: users@lists.opennebula.org Subject: Re: [one-users] Problem with ebtables OpenNebula Message-ID: 4d9cb10c.6080...@ensi-bourges.fr Content-Type: text/plain; charset=ISO-8859-1 Hi Marwen, Did you make sure that oneadmin is added in the /etc/sudoers file with oneadminALL=(ALL) NOPASSWD: /sbin/ebtables * ? http://opennebula.org/documentation:archives:rel2.0:nm -- Zaina On 04/06/2011 06:40 PM, marwen marwen wrote:
Re: [one-users] Java OCA: poor choice of Exception class
Some time ago I wrote a Java OCA client library based on JAXB bindings and posted it to this group. Have a look in the achieve and see if that suits you better than the stock version. It's not complete as I had to reverse-engineer/guess the XSD from XML output and mostly focus on part I actually use. There is an updated version I can probably make available if there is interest. Carsten Carsten Friedrich Research Team leader ICT Centre, GPO Box 664,Canberra, ACT 2601 Phone: +61 2 6216 7019 Email: carsten.friedr...@csiro.au Web: http://www.csiro.au/org/ICT.html -Original Message- From: users-boun...@lists.opennebula.org [mailto:users-boun...@lists.opennebula.org] On Behalf Of Gian Uberto Lauri Sent: Tuesday, 12 April 2011 3:30 To: Carlos Martín Sánchez Cc: users@lists.opennebula.org Subject: Re: [one-users] Java OCA: poor choiche of Exception class CMS == Carlos Martín Sánchez cmar...@opennebula.org writes: CMS Hi Gian Uberto, Thank you for your feedback. As you may know, we CMS use mainly our Ruby bindings for external tools and extensions, CMS so these comments about the Java API are very welcome. Please CMS feel free to open a ticket in our development portal [1], along CMS with any other comments, suggestions or patches. Ticket #572 has been created. There are two version of the Error I add. The firs one uses java.lang.Error that is more appropriate but breaks the legacy code. A second version does not change the class name (is an Error after all) but extends RuntimeException since you should not write a catch code for it, you should provide valid resources for the program to run correctly. -- 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] econe vm templates
Thanks a lot Daniel, I had not realized this was a client side issue. It makes sense, -sebastien On Tue, Apr 12, 2011 at 5:12 PM, Daniel Molina dmol...@opennebula.org wrote: Hi, There is no problem on the econe server side, you can define as many types as you want and name them as you want, the server will handle it. The problem is in the client side, for example the econe client uses the amazon-ec2 gem where you can find the following code snippet: raise ArgumentError, :instance_type must specify a valid instance type unless optio ns[:instance_type].nil? || [t1.micro, m1.small, m1.large, m1.xlarge, m2.xlarge, c1.medium, c1.xlarge, m2.2xlarge, m2.4xlarge, cc1.4xlarge].include?(options[:instance_ type]) therefore you will have to use one of those names or modify the gem source. I think that other client utilities have the same restriction. Regards. On 12 April 2011 18:08, sebastien goasguen run...@gmail.com wrote: Hi, When configuring econe.conf we specifiy the possible instance types: # VM types allowed and its template file (inside templates directory) VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb] VM_TYPE=[NAME=m1.medium, TEMPLATE=m1.medium.erb] Is it possible to use any naming convention for the templates or are we limited to the same as EC2 ? for example can I write something like this in econe.conf: VM_TYPE=[NAME=medium.onecore, TEMPLATE=medium.onecore.erb] Which will let users do: econe-run-instances -t medium.onecore thanks ? -- --- Sebastien Goasguen, Associate Professor School of Computing Clemson University 864-553-4734. Google Voice: (864)-869-8683 http://sites.google.com/site/runseb/ ___ 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 -- --- Sebastien Goasguen, Associate Professor School of Computing Clemson University 864-553-4734. Google Voice: (864)-869-8683 http://sites.google.com/site/runseb/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Can't restart or resume VM when VM is in save status. And MEMORY = 0 when VM is running .
Hj. According your help, I try to do but something is wrong. When i type onevm stop id. VM alway is save state. It don't change from saving to stopping. Thu Apr 14 14:51:11 2011 [DiM][I]: New VM state is ACTIVE. Thu Apr 14 14:51:11 2011 [LCM][I]: New VM state is PROLOG. Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: oneadmin-desktop:/srv/cloud/images/ttylinux/ttylinux.img 172.29.70.137: /srv/cloud/one/var//98/images/disk.0 Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//98/images/disk.0 Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//98/images Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Executed mkdir -p /srv/cloud/one/var//98/images. Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Executed chmod a+w /srv/cloud/one/var//98/images. Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/images/ttylinux/ttylinux.img Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Executed cp -r /srv/cloud/images/ttylinux/ttylinux.img /srv/cloud/one/var//98/images/disk.0. Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Executed chmod a+rw /srv/cloud/one/var//98/images/disk.0. Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed mkdir -p /srv/cloud/one/var//98/images/isofiles. Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed cp -R /srv/cloud/one/var/98/context.sh /srv/cloud/one/var//98/images/isofiles. Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed cp -R /srv/cloud/images/ttylinux/init.sh /srv/cloud/one/var//98/images/isofiles. Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed cp -R /srv/cloud/one/.ssh/id_rsa.pub /srv/cloud/one/var//98/images/isofiles. Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed /usr/bin/mkisofs -o /srv/cloud/one/var//98/images/disk.1 -J -R /srv/cloud/one/var//98/images/isofiles. Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed rm -rf /srv/cloud/one/var//98/images/isofiles. Thu Apr 14 14:51:12 2011 [LCM][I]: New VM state is BOOT Thu Apr 14 14:51:12 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/98/deployment.0 Thu Apr 14 14:51:13 2011 [LCM][I]: New VM state is RUNNING Thu Apr 14 14:51:22 2011 [LCM][I]: New VM state is SAVE_STOP Then , i type onevm resume id Thu Apr 14 15:03:16 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Thu Apr 14 15:03:21 2011 [ReM][D]: VirtualMachineAction invoked Thu Apr 14 15:03:21 2011 [DiM][D]: Resuming VM 98 Thu Apr 14 15:03:21 2011 [DiM][E]: Could not resume VM 98, wrong state. Thu Apr 14 15:03:21 2011 [ReM][E]: Wrong state to perform action What 's your idea? 2011/4/9 Prakhar Srivastava prakhar@gmail.com Hi, If by saving you intend to 'resume' that VM at a later point in time,your steps are correct. Regards, Prakhar 2011/4/8 Khoa Nguyen vankhoa...@gmail.com Hi Prakhar Srivastava Thank you for your reply. If i want to save a VM . 1. onevm stop id 2. Wait until changing from saving to stopping state. 3. onevm resume id. Is that right? 2011/4/8 Prakhar Srivastava prakhar@gmail.com Hi Khoa As already stated by Carlos, the save state is an intermediate state in which the running VM image is saved to the disk. This might take a little time and in the the mean time, the VM state is save (means it is saving the image so that it can be resumed from the state at which it was stopped). You cannot perform resume at save (saving...) state. It will always give an error. Once the VMs image is saved completely, the state changes to stop (means the VM is stopped). You can only resume a VM from a stopped or suspended state. So if you are not getting to 'stop' state, please check your vm.log file for any error. You can find the log file in /var/log/VMID/vm.log. Do post back the logs in case you find it cryptic !!! Regards, Prakhar 2011/4/8 Khoa Nguyen vankhoa...@gmail.com Hi Carlos Martín Sánchez When the VM is in save status, How to change from saving to running status? I try to enable VM , but it display Erros: wrong state. I can't solve problem. 2011/4/5 Carlos Martín Sánchez cmar...@opennebula.org Hi there, If you take a look at the Virtual Machine Life-cycle diagram [1], the 'save' state is a intermediate state, and the VM should end in either the 'suspended' or 'stopped' state. If the VM is stuck in 'save', you may find some error messages in oned.log or the VM's log (in vm-id/vm.log). About #2, it may be a monitorization problem. Can you check using virsh or xentop the actual memory consumption? Best regards, Carlos. [1] http://opennebula.org/documentation:rel2.2:vm_guide#virtual_machine_life-cycle -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmartin@opennebula .org On 17 March 2011 05:01, Khoa Nguyen vankhoa...@gmail.com wrote: I have two question but I can't explain . 1.When i suspend or stop a VM, It changes to save status. Unfortunaly,I
[one-users] apache for a ssl proxy with econe
Hi, In http://www.opennebula.org/documentation:rel2.2:ec2qcg lighthttp is used to create a SSL proxy for the econe server. Has anyone setup apache to do the same ? I am looking for some documentation on how to do a SSL proxy to econe with apache. Any help much appreciated, -sebastien -- --- Sebastien Goasguen, Associate Professor School of Computing Clemson University 864-553-4734. Google Voice: (864)-869-8683 http://sites.google.com/site/runseb/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] apache for a ssl proxy with econe
Hi Sebastien--we have this working with pre-release opennebula 2.2 at Fermilab and have contributed our patches back to the trunk. We've confirmed that we can still use hybridfox to talk to the resulting combo. More details contact us offline. Steve On Tue, 12 Apr 2011, sebastien goasguen wrote: Hi, In http://www.opennebula.org/documentation:rel2.2:ec2qcg lighthttp is used to create a SSL proxy for the econe server. Has anyone setup apache to do the same ? I am looking for some documentation on how to do a SSL proxy to econe with apache. Any help much appreciated, -sebastien -- -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Group Leader. Lead of FermiCloud project. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org