[one-users] Image status LOCKED after DETACH
I detached the disk from a running VM and everything went fine: Tue Sep 18 15:03:31 2012 [VMM][I]: ExitCode: 0 Tue Sep 18 15:03:31 2012 [VMM][I]: Successfully execute virtualization driver operation: detach_disk. Tue Sep 18 15:03:48 2012 [VMM][I]: mvds: Moving /var/lib/one/datastores/102/498/disk.2/disk.vmdk to datastore as /var/lib/one/datastores/100/21bcfb7fefe421751db93c917bdf7d70/disk.vmdk Tue Sep 18 15:03:48 2012 [VMM][I]: ExitCode: 0 Tue Sep 18 15:03:48 2012 [VMM][I]: Successfully execute transfer manager driver operation: tm_detach. Tue Sep 18 15:03:48 2012 [VMM][E]: VM Disk Successfully detached. Tue Sep 18 15:07:06 2012 [VMM][I]: ExitCode: 0 Even the disk is in the correct datastore (100), consistent and all. But the image remains in LOCKED state. So I think this is as per SAVE_AS and I shut down the machine: Tue Sep 18 17:56:52 2012 [LCM][I]: New VM state is SHUTDOWN Tue Sep 18 17:57:35 2012 [VMM][I]: ExitCode: 0 Tue Sep 18 17:57:35 2012 [VMM][I]: Successfully execute virtualization driver operation: shutdown. Tue Sep 18 17:57:35 2012 [VMM][I]: ExitCode: 0 Tue Sep 18 17:57:35 2012 [VMM][I]: Successfully execute network driver operation: clean. Tue Sep 18 17:57:35 2012 [LCM][I]: New VM state is EPILOG Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0 Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0 Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0 Tue Sep 18 17:57:36 2012 [TM][I]: ExitCode: 0 Tue Sep 18 17:57:37 2012 [TM][I]: delete: Deleting /var/lib/one/datastores/102/498 Tue Sep 18 17:57:37 2012 [TM][I]: ExitCode: 0 Again, everything goes smoothly but again the image is still LOCKED. No way to unlock it! Shouldn't the image be READY already after the successful detach? Is there something wrong in the procedure or in my config. Emmanuel Mathot www.terradue.com ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Fwd: Re: [one-ecosystem] Call for translations: OpenNebula 3.8 (DL 3rd October)
Forgot to CC the list for this one... --- Mensaje Remitido --- De: Hector Sanjuan hsanj...@opennebula.org A: Rogier Mars rog...@fortytwo.nl Asunto: Re: [one-ecosystem] Call for translations: OpenNebula 3.8 (DL 3rd October) Fecha: Tue, 18 Sep 2012 13:34:57 +0200 Hello, thanks! after logging in, you can just click on the add new translation button here: https://www.transifex.com/projects/p/one/resource/self-service/ or here https://www.transifex.com/projects/p/one/resource/sunstone/ Regards, Hector En Tue, 18 Sep 2012 13:29:09 +0200, Rogier Mars rog...@fortytwo.nl escribió: Hi, I'm a Dutch native, if you add the Dutch language I can translate it. Cheers, Rogier On Sep 18, 2012, at 1:24 PM, Hector Sanjuan wrote: Dear community, As OpenNebula 3.8 comes closer, we would like to launch a call for translations of our web-based user interfaces: Sunstone and Self-Service. It is very easy: the existing translations can be updated and new translations submitted through our project site at Transifex (https://www.transifex.com/projects/p/one/). The process is as follows: * Log in to Transifex. You can easily register or login with using your Twitter, LinkedIn, Google or Facebook accounts * Click on the language you want to translate and the resource (Sunstone or Self-Service) * Hit “Translate now” and start translating right away through the Transifex website If the language is not available, you can request the creation of a new language for that resource. If you have a translation file ready outside Transifex for a new language, please upload it there. Transifex offers advanced features for translators. You can check their documentation[1] for more information. Translations reaching a good level of completion will be included in the official final release of OpenNebula. Deadline for translations is Wednesday, 3rd of October 15.00 CET. Thanks for your collaboration! -- Hector Sanjuan OpenNebula Developer [1] http://help.transifex.com/intro/translating.html#translating ___ Ecosystem mailing list ecosys...@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] oneimage delete fails
Hello everybody, I have OpenNebula 3.6 installed on a machine with CentOS 6.3 and several hosts with CentOS 6.3 too. I have two images created: [oneadmin@frontend ~]$ oneimage list ID USER GROUP NAMEDATASTORE SIZE TYPE PER STAT RVMS 1 oneadmin oneadmin disc1 default 2G OS Yes rdy 0 2 oneadmin oneadmin CentOS_CD default 330M CDNo rdy 0 When I try to delete one of them, it fails because the image is not erased: [oneadmin@frontend ~]$ oneimage list ID USER GROUP NAMEDATASTORE SIZE TYPE PER STAT RVMS 1 oneadmin oneadmin disc1 default 2G OS Yes rdy 0 2 oneadmin oneadmin CentOS_CD default 330M CDNo rdy 0 [oneadmin@frontend ~]$ oneimage delete 1 [oneadmin@frontend ~]$ oneimage list ID USER GROUP NAMEDATASTORE SIZE TYPE PER STAT RVMS 1 oneadmin oneadmin disc1 default 2G OS Yes rdy 0 2 oneadmin oneadmin CentOS_CD default 330M CDNo rdy 0 The log doesn't output anything more than the call to the ImageDelete method: Wed Sep 19 11:55:16 2012 [ReM][D]: UserPoolInfo method invoked *Wed Sep 19 11:55:20 2012 [ReM][D]: ImageDelete method invoked* Wed Sep 19 11:55:22 2012 [ReM][D]: ImagePoolInfo method invoked Wed Sep 19 11:55:36 2012 [ReM][D]: HostPoolInfo method invoked Wed Sep 19 11:55:36 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Wed Sep 19 11:55:36 2012 [ReM][D]: AclInfo method invoked Wed Sep 19 11:55:38 2012 [ReM][D]: ClusterPoolInfo method invoked Wed Sep 19 11:55:38 2012 [AuM][D]: Message received: LOG I 64 ExitCode: 0 Wed Sep 19 11:55:38 2012 [AuM][I]: ExitCode: 0 Wed Sep 19 11:55:38 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 64 - Wed Sep 19 11:55:39 2012 [ReM][D]: HostPoolInfo method invoked Wed Sep 19 11:55:39 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Wed Sep 19 11:55:39 2012 [ReM][D]: AclInfo method invoked It looks like OpenNebula calls to the delete method but there is no error control, so the ExitCode is 0. I've read a similar post (created some months ago) but I've not found the solution. Any idea would be very appreciated. Thanks in advance. Carlos. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] fault tolerance
Dear Gareth, Ok, it looks like there is a bug in the TM drivers. I've opened a ticket [1] to fix this in upcoming releases. Meanwhile, you can modify /var/lib/one/remotes/tm/shared/ln, line 82, to read: cd $DST_DIR; rm $DST_PATH ; ln -s $SRC_PATH $DST_PATH \ Best regards, and thanks for the feedback, -Tino [1] http://dev.opennebula.org/issues/1482 -- Constantino Vázquez Blanco, MSc Project Engineer OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Tue, Sep 18, 2012 at 5:27 PM, Gareth de Vaux openneb...@lordcow.org wrote: On Fri 2012-09-14 (12:14), Tino Vazquez wrote: It looks like there was a problem with the VM after it was put in PENDING. Could you please send us the log of the individual VM (/var/lib/one/vid/vm.log) to take a look? Attaching at the end of the mail but it mostly looks like the oned.log. It should be possible to resubmit a VM in failed state, what is the error message you get? Sorry I think I tried to 'restart' it - I've successfully resubmitted it now. Regarding the problem with onehost sync, does oneadmin have writting permissions over /var/lib/one/remotes? Nope it was owned by root which I figured was normal for /var, forgetting this's where one's $HOME was. Fixed now thanx. For the record debian seems to set the ownership of $HOME correctly except for ~/remotes and ~/datastores. So, I'm able to resubmit manually but the hook still doesn't work. 10.log: Wed Sep 12 17:54:13 2012 [VMM][D]: Monitor Information: CPU : 6 Memory: 524288 Net_TX: 4761 Net_RX: 49874 Wed Sep 12 17:56:27 2012 [VMM][I]: Command execution fail: 'if [ -x /var/tmp/one/vmm/kvm/poll ]; then /var/tmp/one/vmm/kvm/poll one-10 arcus 10 arcus; else exit 42; fi' Wed Sep 12 17:56:27 2012 [VMM][I]: ssh: connect to host arcus port 22: Connection timed out Wed Sep 12 17:56:27 2012 [VMM][I]: ExitCode: 255 Wed Sep 12 17:56:27 2012 [VMM][E]: Error monitoring VM Wed Sep 12 17:56:27 2012 [VMM][E]: Error monitoring VM Wed Sep 12 17:57:29 2012 [DiM][I]: New VM state is PENDING Wed Sep 12 17:57:29 2012 [TM][W]: Ignored: LOG I 10 ExitCode: 0 Wed Sep 12 17:57:29 2012 [VMM][W]: Ignored: LOG I 10 Driver command for 10 cancelled Wed Sep 12 17:57:37 2012 [DiM][I]: New VM state is ACTIVE. Wed Sep 12 17:57:38 2012 [LCM][I]: New VM state is PROLOG. Wed Sep 12 17:57:38 2012 [VM][I]: Virtual Machine has no context Wed Sep 12 17:57:38 2012 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/ln cirrus:/var/lib/one/datastores/1/aab3c5409d45f015626af354c827a776 nimbus:/var/lib/one//datastores/0/10/disk.0 Wed Sep 12 17:57:38 2012 [TM][I]: ln: Linking ../../1/aab3c5409d45f015626af354c827a776 in nimbus:/var/lib/one//datastores/0/10/disk.0 Wed Sep 12 17:57:38 2012 [TM][E]: ln: Command cd /var/lib/one/datastores/0/10; ln -s ../../1/aab3c5409d45f015626af354c827a776 /var/lib/one/datastores/0/10/disk.0 failed: ln: failed to create symbolic link `/var/lib/one/datastores/0/10/disk.0': File exists Wed Sep 12 17:57:38 2012 [TM][E]: Error linking cirrus:/var/lib/one/datastores/1/aab3c5409d45f015626af354c827a776 to nimbus:/var/lib/one//datastores/0/10/disk.0 Wed Sep 12 17:57:38 2012 [TM][I]: ExitCode: 1 Wed Sep 12 17:57:38 2012 [TM][E]: Error executing image transfer script: Error linking cirrus:/var/lib/one/datastores/1/aab3c5409d45f015626af354c827a776 to nimbus:/var/lib/one//datastores/0/10/disk.0 Wed Sep 12 17:57:38 2012 [DiM][I]: New VM state is FAILED Wed Sep 12 17:58:32 2012 [TM][W]: Ignored: LOG I 10 Command execution fail: /var/lib/one/remotes/tm/shared/delete arcus:/var/lib/one//datastores/0/10 Wed Sep 12 17:58:32 2012 [TM][W]: Ignored: LOG I 10 delete: Deleting /var/lib/one/datastores/0/10 Wed Sep 12 17:58:32 2012 [TM][W]: Ignored: LOG E 10 delete: Command rm -rf /var/lib/one/datastores/0/10 failed: ssh: connect to host arcus port 22: Connection timed out Wed Sep 12 17:58:32 2012 [TM][W]: Ignored: LOG E 10 Error deleting /var/lib/one/datastores/0/10 Wed Sep 12 17:58:32 2012 [TM][W]: Ignored: LOG I 10 ExitCode: 255 Wed Sep 12 17:58:32 2012 [TM][W]: Ignored: TRANSFER FAILURE 10 Error deleting /var/lib/one/datastores/0/10 Wed Sep 12 17:58:32 2012 [VMM][W]: Ignored: LOG I 10 Command execution fail: /var/tmp/one/vmm/kvm/cancel one-10 arcus 10 arcus Wed Sep 12 17:58:32 2012 [VMM][W]: Ignored: LOG I 10 ssh: connect to host arcus port 22: Connection timed out Wed Sep 12 17:58:32 2012 [VMM][W]: Ignored: LOG I 10 ExitSSHCode: 255 Wed Sep 12 17:58:32 2012 [VMM][W]: Ignored: LOG E 10 Error connecting to arcus Wed Sep 12 17:58:32 2012 [VMM][W]: Ignored: LOG I 10 Failed to execute virtualization driver operation: cancel. Wed Sep 12 17:58:32 2012 [VMM][W]: Ignored: CANCEL FAILURE 10 Error connecting to arcus ___ Users mailing list
[one-users] The type of processor required for OpenNebula setup
Dear OpenNebula Team, I want to download OpenNebula and see there are options like OpenNebula 3.2.1 Ubuntu 10.0.4 amd64 and OpenNebula 3.2.1 CentOS 6.0 x86_64. For OpenNebula 3.2.1 Ubuntu 10.0.4 amd64, we have to buy AMD processor, but for OpenNebula 3.2.1 CentOS 6.0 x86_64, what type of processor should we buy? Thanks, Q.S. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] The type of processor required for OpenNebula setup
Hello there, OpenNebula *doens't* require a certain CPU. The OpenNebula frontend doesn't even require x86_64 architecture. It can be installed on i386 also. The virtualization hypervisor in use require a certain CPU, or more specifically, a certain extension, the virtualization one. Since you are asking about CentOS 6 I think you'll use either KVM or Xen. As far as I know they both work with either Intel or AMD CPUs with virtualization extensions. Maybe AMD names this different, I don't know. Cheers and Good Will, v On Wed, Sep 19, 2012 at 1:49 PM, Qiubo Su (David Su) qiub...@gmail.comwrote: Dear OpenNebula Team, I want to download OpenNebula and see there are options like OpenNebula 3.2.1 Ubuntu 10.0.4 amd64 and OpenNebula 3.2.1 CentOS 6.0 x86_64. For OpenNebula 3.2.1 Ubuntu 10.0.4 amd64, we have to buy AMD processor, but for OpenNebula 3.2.1 CentOS 6.0 x86_64, what type of processor should we buy? Thanks, Q.S. ___ 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] The type of processor required for OpenNebula setup
You need 64-bit CPU with virtualization support in it (doesn't matter if AMD or Intel - it's compatible). To check, if virtualization support is in CPU (checked flag "vmx" or "svm" has to be in output), run as root: for AMD CPU: egrep vmx /proc/cpuinfo for Intel CPU: egrep svm /proc/cpuinfo In positive case the output looks like: [root@redhat proc]# egrep vmx /proc/cpuinfo flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida dts tpr_shadow vnmi flexpriority flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida dts tpr_shadow vnmi flexpriority Jan Dňa 19.09.2012 12:49, Qiubo Su (David Su) wrote / napísal(a): Dear OpenNebula Team, I want to download OpenNebula and see there are options like OpenNebula 3.2.1 Ubuntu 10.0.4 amd64 and OpenNebula 3.2.1 CentOS 6.0 x86_64. For OpenNebula 3.2.1 Ubuntu 10.0.4 amd64, we have to buy AMD processor, but for OpenNebula 3.2.1 CentOS 6.0 x86_64, what type of processor should we buy? Thanks, Q.S. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Ján Beňadik Managed Services - Solution Design Architect mobile: +421 903 691 634 fax: +421 2 6852 8380 jan.bena...@atos.net Vinohradnicka 6, 971 01 Prievidza www.sk.atos.net __ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] The type of processor required for OpenNebula setup
On Wed, 19 Sep 2012, Qiubo Su (David Su) wrote: Dear OpenNebula Team, I want to download OpenNebula and see there are options like OpenNebula 3.2.1 Ubuntu 10.0.4 amd64 and OpenNebula 3.2.1 CentOS 6.0 x86_64. For OpenNebula 3.2.1 Ubuntu 10.0.4 amd64, we have to buy AMD processor, but for OpenNebula 3.2.1 CentOS 6.0 x86_64, what type of processor should we buy? Thanks, Q.S. Just becuase the kernel name says amd64 in it doesn't mean that the kernel can only run on AMD processors--it is the Ubuntu way of designating the 64-bit extensions of the x86 architecture which were first done by AMD and shortly afterwards by Intel. amd64 packaging can run on either one. CentOS x86_64 kernel can run on either processor AMD or Intel too. For my money I would buy the Intel, my experience shows that the intel southbridge and chipsets play better with virtualization particularly with networking. Also see what the others said about checking the compatibility flags in /proc/cpuinfo. Steve -- 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