Re: [one-users] windows vm context
On 30 Oct 2013, at 02:00, hansz hanshizhun...@126.com wrote: hi man,i see you are trying windows vm context?have you make it sucessful? any message? any advice? Hi Hans, please keep OpenNebula related mails on the list. We run Windows 7 and 8 professional as VM managed by OpenNebula. On the OpenNebula wiki (http://wiki.opennebula.org/) you will find a section called “Images and Stores”. Within that section you will find a link to a complete documentation: http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines We only did one modification to the one-context.ps1 script which allows us to read data properly: function getContext($file) { $context = @{} switch -regex -file $file { '(.+)=(.+)’ {## ——— other regexp $name,$value = $matches[1..2] $context[$name] = $value } } return $context } hth, Martin signature.asc Description: Message signed with OpenPGP using GPGMail ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] windows vm context
en,i have another question, if i use esxi create an windows7 vm ,and then tar the disk-flat.vmdk and the disk.vmdk ,then upload to the sunstone's image ,then create template ,create vm.but all the created vms all lost NIC dirver? anything wrong? 在 2013-10-30 15:59:23,Martin Alfke tux...@gmail.com 写道: On 30 Oct 2013, at 02:00, hansz hanshizhun...@126.com wrote: hi man,i see you are trying windows vm context?have you make it sucessful? any message? any advice? Hi Hans, please keep OpenNebula related mails on the list. We run Windows 7 and 8 professional as VM managed by OpenNebula. On the OpenNebula wiki (http://wiki.opennebula.org/) you will find a section called “Images and Stores”. Within that section you will find a link to a complete documentation: http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines We only did one modification to the one-context.ps1 script which allows us to read data properly: function getContext($file) { $context = @{} switch -regex -file $file { '(.+)=(.+)’ {## ——— other regexp $name,$value = $matches[1..2] $context[$name] = $value } } return $context } hth, Martin ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] windows vm lose NIC driver
Hi, It looks like you are using the dynamic network mode [1], can you confirm this? Depending on the mode used I can advise one way or the other. Regards, -Tino [1] http://opennebula.org/documentation:rel4.2:vmwarenet -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] First post - Error on New install of Open Nebula on OpenSuSE 12.3
Hi, You can chose to register the image from other directories than /tmp. OpenNebula decides which folders are valid to register depending on two variables in the datastore template. Read here [1] about the SAFE_DIRS and RESTRICTED_DIRS. Regards, -Tino [1] http://opennebula.org/documentation:rel4.2:fs_ds#configuring_the_filesystem_datastores -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Tue, Oct 29, 2013 at 9:01 PM, Luc Bell lucrb...@gmail.com wrote: Thank you Tino, that worked (running the VM from tmp...!. The permissions for the previous folder where it did not work had group set to read only vs read-write. We changed that but, when we kicked it off again, the (K)VM provisioning (MAYBE) is setting it back to 755 vs 775 as root (OR SOME USER) so the process canot write to that dir. Appears to be a permissions oddity in SuSE perhaps. Have you guys heard of anything like that? Gracias! L On Tue, Oct 29, 2013 at 1:16 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi Luc, The image doesn't have a source according to the template. This error ERROR![CDATA[Thu Oct 24 14:53:39 2013 : Error copying image in the datastore: Not allowed to copy image file /var/lib/one/images/c6-x86_64-20130910-1.qcow2]]/ERROR points to something gone astray during the image registration. Did you enable the image by hand (ie, oneimage enable 0)? If so, that operation is only for the cloud admin when he ascertains that the SOURCE is fine, which in this case it is not. Please register the image again, if it fails come back to us so we can give you a hand with the image registering. It has probably hace to do with the allowed directories, try registering from /tmp. cias! Regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Tue, Oct 29, 2013 at 6:01 PM, Luc Bell lucrb...@gmail.com wrote: A) yes, 4 and 6 give same result... B) The output from oneimage show 0 -x ...is here http://dpaste.de/Mkab On Tue, Oct 29, 2013 at 12:55 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi, It would also help to have the template of the image $ oneimage show 0 -x Regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Tue, Oct 29, 2013 at 5:52 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi Luc, Just to make sure, do you get the same error message for VM with ID 6 (the one you sent) as with the VM with ID 4? Regards,
Re: [one-users] Fwd: VM migration between clouds (Tino Vazquez)
On Tue, Oct 29, 2013 at 7:04 PM, aok pan aok...@gmail.com wrote: Dear Tino , Actually i am having the two open nebula clouds installed on my two laptops (Dell 1 Terra hard Ram 8 GB Core I7) yes both are on the same network . actually i am doing this migration as it is a task ( project that is needed from me to implement at college) but as i have no experience i used open Nebula help. so please be patient with me as i am i need to do this migration of the VM by this i will be finished from my task. i tried to do the following please tell em if right or wrong. and if right pleaase tell me how i can solve the problem . first step: $ su then enter the password of the server in our case : amira30 then $ su - oneadmin this will appear :[oneadmin@localhost ~] then write the following command :oneuser show this will appear : USER 0 INFORMATION ID : 0 NAME : oneadmin GROUP : oneadmin PASSWORD : b1b3773a05c0ed0176787a4f1574ff0075f7521e AUTH_DRIVER: core ENABLED: Yes USER TEMPLATE RESOURCE USAGE QUOTAS su to go to the root and then write the following command $vim /var/lib/one/.one/occi_auth the file will appear for you press insert and then write :oneadmin:b1b3773a05c0ed0176787a4f1574ff0075f7521e Here you may be introducing an extra colon (:). Try 1) shut down occi server 2) recreate the occi_auth file with only oneadmin:b1b3773a05c0ed0176787a4f1574ff0075f7521e 3) bring up occi server the after theh one admin is the password we got from oneuser show 0 command up after you finish to save what you have added press escape button then x then $ occi-server start then $install yum install curl now to create vm.xml file write the following: $vim vm.xml the white screen of the file will open press i then paste the following data: /// COMPUTE NAMEtest/NAME INSTANCE_TYPEmedium/INSTANCE_TYPE DISK STORAGE href='0'/ /DISK OS ARCHx86_64/ARCH /OS NIC NETWORK href='0'/ /NIC GRAPHICS TYPEvnc/TYPE PORT-1/PORT LISTEN0.0.0.0/LISTEN /GRAPHICS /COMPUTE // then esc then : then x then press enter the the last line . curl -X POST -u oneadmin:password http://localhost:5678/compute -T vm.xml didn't show the on the cloud. What is the exact output of that command? Regards, -Tino On Tue, Oct 29, 2013 at 3:18 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi, I'm afraid this is a novel development, it has not been done before. You will need to first consider what is the connectivity between these two datacenters: do they share networking, are they in the same administrative domain? Regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Tue, Oct 29, 2013 at 1:37 PM, aok pan aok...@gmail.com wrote: Dear Tino, Can you please advice how it is done (extending the OCCI API or the native XMLRPC interface in OpenNebula to implement ONE2ONE migration) or if some one or paper or document that made this task before . i will be highly appreciated. B.rgds Amira On Tue, Oct 29, 2013 at 2:17 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi, On Tue, Oct 29, 2013 at 12:58 PM, aok pan aok...@gmail.com wrote: Dear Tino, Many thanks again for your reply . please clarify what do you mean by a development (do you mean creating API or what)? Yes, I mean extending the OCCI API or the native XMLRPC interface in OpenNebula to implement ONE2ONE migration. This is not an easy task. I am not familiar with AppMarket add-on can you please advice a link or an address i can read from in order to be familiar with as you mentioned it can help me with my request. AppMarket has been recently turned into an OpenNebula add-on. You can read about it here: https://github.com/OpenNebula/addon-appmarket Regards, -Tino B.rgds Amira
Re: [one-users] windows vm lose NIC driver
Hi, Not really, you can use both. Just wondering which one did you chose so I can provide support. How did you add the host (ie onehost create -v ... -i --- -n ...). It is the -n which will tell OpenNebula to use dynamic (vmware) or pre-defined (dummy) network mode. Regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Wed, Oct 30, 2013 at 10:37 AM, hansz hanshizhun...@126.com wrote: you mean i should used fixed network at the sunstone's virtual network ? At 2013-10-30 17:33:52,Tino Vazquez cvazq...@c12g.com wrote: Hi, It looks like you are using the dynamic network mode [1], can you confirm this? Depending on the mode used I can advise one way or the other. Regards, -Tino [1] http://opennebula.org/documentation:rel4.2:vmwarenet -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Opennebula, Ceph and Libvirt 0.10.2
Hi, I'm having an issue with a newly added CentOS node to opennebula, on my Ubuntu nodes the default libvirt is 9.X and seems to work fine, the ceph docs http://ceph.com/docs/master/rbd/libvirt/ suggest things have been changing libvirt late 9.X which might now be causing a problem on my new 10.2 nodes. It's essentially the same issue as http://lists.opennebula.org/pipermail/users-opennebula.org/2013-June/023323.html that never got answered/resolved. The VM fails to build on a disk mounting error which looks like it might be resolvable by switching the command used by Opennebula from auth_supported=none to auth_supported=cephx but I've tried looking through as many of the opennebula files as I can think might be relevant but can't find where this could be changed. [root@12 ~]# libvirtd --version libvirtd (libvirt) 0.10.2 [root@12 ~]# su oneadmin bash-4.1$ /usr/libexec/qemu-kvm -drive file=rbd:one/one-54:auth_supported=none,if=none,id=drive-ide0-0-1,format=raw,cache=writeback,aio=native qemu-kvm: -drive file=rbd:one/one-54:auth_supported=none,if=none,id=drive-ide0-0-1,format=raw,cache=writeback,aio=native: error connecting qemu-kvm: -drive file=rbd:one/one-54:auth_supported=none,if=none,id=drive-ide0-0-1,format=raw,cache=writeback,aio=native: could not open disk image rbd:one/one-54:auth_supported=none: Operation not supported bash-4.1$ /usr/libexec/qemu-kvm -drive file=rbd:one/one-54:auth_supported=cephx,if=none,id=drive-ide0-0-1,format=raw,cache=writeback,aio=native VNC server running on `127.0.0.1:5905' Any ideas greatly appreciated! -Michael ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] VM State Request !
Hello Sir, I had installed Opennebula Sunstone 4.2 in Centos 6.4.In my virtual machines list , one of the virtual machine is in Done state due to shutting down the machine.That's why this machine is not showing in my sunstone. So can you please tell me the way in which I can bring that machine into running state. -- Thanks Regards Abhishek Dash Attivo Labs Pvt Ltd Mob:-09654507156 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] 答复: VM State Request !
Hi Abhishek, A vm in Done state can’t be redeploy again. You can read [1] for more details about vm life cycle. [1]: http://opennebula.org/documentation:rel4.2:vm_guide_2 Best regards Sam 发件人: users-boun...@lists.opennebula.org [mailto:users-boun...@lists.opennebula.org] 代表 Abhishek Dash 发送时间: 2013年10月30日 18:06 收件人: users@lists.opennebula.org 抄送: cont...@opennebula.org 主题: [one-users] VM State Request ! Hello Sir, I had installed Opennebula Sunstone 4.2 in Centos 6.4.In my virtual machines list , one of the virtual machine is in Done state due to shutting down the machine.That's why this machine is not showing in my sunstone. So can you please tell me the way in which I can bring that machine into running state. -- Thanks Regards Abhishek Dash Attivo Labs Pvt Ltd Mob:-09654507156 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] CentOS Dojo Madrid
Hello, This is just a reminder for people in Madrid next week. Friday 8th will be held a CentOS Dojo and you'd better reserve your seat as there are limited space. Also the 7th there will be a tutorial given to the people registered to the Dojo. More information at the Dojo web page: http://wiki.centos.org/Events/Dojo/Madrid2013 Cheers -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] windows vm context
One alternative approach I experimented with was casting the template XML directly to a powershell object - e.g. You include the following line in your template to include the base-64 encoded XML TMPL=$TEMPLATE Then in the context PS script you can do the following once you have read the base64 encoded XML into a variable: [xml]$vmtemplate = [System.Text.Encoding]::Ascii.GetString([System.Convert]::FromBase64String( $base64template )) You can then directly reference the VM template properties as PS objects -e.g. $mydatastore= $vmtemplate.VM.TEMPLATE.DISK.DATASTORE.'#cdata-section' $myinvocationid = $vmtemplate.VM.ID $ownername = $vmtemplate.VM.UNAME This means you don't need to worry about what the quoting is for the template parameters except for the initial load of the base64 encoded XML. Cheers -Original Message- From: users-boun...@lists.opennebula.org [mailto:users-boun...@lists.opennebula.org] On Behalf Of Martin Alfke Sent: 30 October 2013 07:59 To: hansz Cc: users Subject: Re: [one-users] windows vm context On 30 Oct 2013, at 02:00, hansz hanshizhun...@126.com wrote: hi man,i see you are trying windows vm context?have you make it sucessful? any message? any advice? Hi Hans, please keep OpenNebula related mails on the list. We run Windows 7 and 8 professional as VM managed by OpenNebula. On the OpenNebula wiki (http://wiki.opennebula.org/) you will find a section called “Images and Stores”. Within that section you will find a link to a complete documentation: http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines We only did one modification to the one-context.ps1 script which allows us to read data properly: function getContext($file) { $context = @{} switch -regex -file $file { '(.+)=(.+)’ {## ——— other regexp $name,$value = $matches[1..2] $context[$name] = $value } } return $context } hth, Martin - Research In Motion UK Limited Registered in England and Wales. Registered No. 04022422, with registered office at 200 Bath Road, Slough, Berkshire, SL1 3XE, United Kingdom This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Fwd: VM migration between clouds (Tino Vazquez)
Hi, What is the output of occi-compute list? Regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Wed, Oct 30, 2013 at 12:53 PM, aok pan aok...@gmail.com wrote: Dear Tino , i did but the same not viewed. B.rgds Amira On Wed, Oct 30, 2013 at 12:02 PM, Tino Vazquez cvazq...@c12g.com wrote: On Tue, Oct 29, 2013 at 7:04 PM, aok pan aok...@gmail.com wrote: Dear Tino , Actually i am having the two open nebula clouds installed on my two laptops (Dell 1 Terra hard Ram 8 GB Core I7) yes both are on the same network . actually i am doing this migration as it is a task ( project that is needed from me to implement at college) but as i have no experience i used open Nebula help. so please be patient with me as i am i need to do this migration of the VM by this i will be finished from my task. i tried to do the following please tell em if right or wrong. and if right pleaase tell me how i can solve the problem . first step: $ su then enter the password of the server in our case : amira30 then $ su - oneadmin this will appear :[oneadmin@localhost ~] then write the following command :oneuser show this will appear : USER 0 INFORMATION ID : 0 NAME : oneadmin GROUP : oneadmin PASSWORD : b1b3773a05c0ed0176787a4f1574ff0075f7521e AUTH_DRIVER: core ENABLED: Yes USER TEMPLATE RESOURCE USAGE QUOTAS su to go to the root and then write the following command $vim /var/lib/one/.one/occi_auth the file will appear for you press insert and then write :oneadmin:b1b3773a05c0ed0176787a4f1574ff0075f7521e Here you may be introducing an extra colon (:). Try 1) shut down occi server 2) recreate the occi_auth file with only oneadmin:b1b3773a05c0ed0176787a4f1574ff0075f7521e 3) bring up occi server the after theh one admin is the password we got from oneuser show 0 command up after you finish to save what you have added press escape button then x then $ occi-server start then $install yum install curl now to create vm.xml file write the following: $vim vm.xml the white screen of the file will open press i then paste the following data: /// COMPUTE NAMEtest/NAME INSTANCE_TYPEmedium/INSTANCE_TYPE DISK STORAGE href='0'/ /DISK OS ARCHx86_64/ARCH /OS NIC NETWORK href='0'/ /NIC GRAPHICS TYPEvnc/TYPE PORT-1/PORT LISTEN0.0.0.0/LISTEN /GRAPHICS /COMPUTE // then esc then : then x then press enter the the last line . curl -X POST -u oneadmin:password http://localhost:5678/compute -T vm.xml didn't show the on the cloud. What is the exact output of that command? Regards, -Tino On Tue, Oct 29, 2013 at 3:18 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi, I'm afraid this is a novel development, it has not been done before. You will need to first consider what is the connectivity between these two datacenters: do they share networking, are they in the same administrative domain? Regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the
Re: [one-users] First post - Error on New install of Open Nebula on OpenSuSE 12.3 -- here's the Template-dump
Hello Carlos and all. Luc Bell has been posting, for me. Here's the dump of my latest onetemplate instantiate attempt.Not sure who's maintaining the openSUSE 12.3 packages, but I have had to to a *lot* of configuration, with ongoing trial error (since Docs vary a bit), just to attempt to bring up a working DevOps Cloud host on a Thinkpad W530 http://dpaste.de/bTkZ/raw In my very humble opinion, there needs to be a DevOps ONE 4.x workbook with a completely worked out, tested scenario -- with variations as needed, for at least Ubuntu, Fedora and openSUSE (OK, maybe also CentOS 6.x, but that has very old package releases, for a Developer...) thank you, mark --- Hi, What OpenNebula version are you using? Can you paste the contents of your VM template? Use the 'onevm show --all' command so it prints all internal attributes. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmartin at opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmartin at opennebula.org On Tue, Oct 29, 2013 at 3:23 PM, Luc Bell lucrbell at gmail.com wrote: Hello, my colleague is getting the following error after implementing OpenNebula on OpenSuse12.3 when attempting to provision a VM via KVM. We double checked that these params are correct, but still get the error and the VM does not provision. It fails with this error: 1. Wed Oct 23 17:36:31 2013 [DiM][I]: New VM state is DONE. 2. Fri Oct 25 10:22:38 2013 [DiM][I]: New VM state is ACTIVE. 3. Fri Oct 25 10:22:38 2013 [LCM][I]: New VM state is PROLOG. 4. Fri Oct 25 10:22:38 2013 [TM][E]: missing DISK mandatory attributes (SOURCE, TM_MAD, CLONE, DATASTORE_ID) for VM 4, DISK 0 5. Fri Oct 25 10:22:38 2013 [DiM][I]: New VM state is FAILED 6. Fri Oct 25 10:29:44 2013 [DiM][I]: New VM state is CLEANUP. 7. Fri Oct 25 10:29:45 2013 [DiM][I]: New VM state is PENDING 8. Fri Oct 25 10:30:08 2013 [DiM][I]: New VM state is ACTIVE. 9. Fri Oct 25 10:30:08 2013 [LCM][I]: New VM state is PROLOG. 10. Fri Oct 25 10:30:08 2013 [TM][E]: missing DISK mandatory attributes (SOURCE, TM_MAD, CLONE, DATASTORE_ID) for VM 4, DISK 0 11. Fri Oct 25 10:30:08 2013 [DiM][I]: New VM state is FAILED 12. ~ Thank you in advance for any guidance. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org - Mark Biggers INE.com 2530 Meridian Parkway, Suite 2061 (temp) Durham, NC 27713 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Missing log when no error happens
Hello, I made some search without success, I'm asking here before creating any redmine issue. Using OpenNebula 4.2, I just see that there is no TM log on successful VMs setup: oneadmin@yggdrasil:~$ cut -d' ' -f6- /var/log/one/16.log [DiM][I]: New VM state is ACTIVE. [LCM][I]: New VM state is PROLOG. [LCM][I]: New VM state is BOOT [VMM][I]: Generating deployment file: /var/lib/one/vms/16/deployment.0 [VMM][I]: ExitCode: 0 [VMM][I]: Successfully execute network driver operation: pre. [VMM][I]: ExitCode: 0 [VMM][I]: Successfully execute virtualization driver operation: deploy. [VMM][I]: post: Executed sudo /usr/bin/ovs-vsctl set Port vnet0 tag=20. [VMM][I]: post: Executed sudo /usr/bin/ovs-ofctl add-flow baby-gnu in_port=5,dl_src=02:00:0a:02:00:00,priority=4,actions=normal. [VMM][I]: post: Executed sudo /usr/bin/ovs-ofctl add-flow baby-gnu in_port=5,priority=39000,actions=drop. [VMM][I]: ExitCode: 0 [VMM][I]: Successfully execute network driver operation: post. [LCM][I]: New VM state is RUNNING I generate an error to see what's comming in the logs: oneadmin@yggdrasil:~$ cut -d' ' -f6- /var/log/one/15.log [DiM][I]: New VM state is ACTIVE. [LCM][I]: New VM state is PROLOG. [TM][I]: Command execution fail: /var/lib/one/remotes/tm/qcow2/clone yggdrasil:/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 yggdrasil:/var/lib/one//datastores/0/15/disk.1 15 1 [TM][I]: clone: Cloning /var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 in yggdrasil:/var/lib/one//datastores/0/15/disk.1 [TM][E]: clone: Command cd /var/lib/one/datastores/0/15; qemu-img create -b /var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 -f qcow2 /var/lib/one/datastores/0/15/disk.1 failed: qemu-img: Could not open '/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94' [TM][E]: Error copying yggdrasil:/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 to yggdrasil:/var/lib/one//datastores/0/15/disk.1 [TM][I]: ExitCode: 1 [TM][E]: Error executing image transfer script: Error copying yggdrasil:/var/lib/one/datastores/1/e72972d1dc14203d83520f9ae6395d94 to yggdrasil:/var/lib/one//datastores/0/15/disk.1 [DiM][I]: New VM state is FAILED [DiM][I]: New VM state is DONE. [TM][W]: Ignored: TRANSFER SUCCESS 15 - My log configuration is: LOG = [ system = file, debug_level = 3 ] I think it's a problem, each step should be clearly identified with the command it runs. It can be hard to reproduce an error, specially when the user delete the VM in “FAILED” state and try 2 or 3 times before asking the ONE admin. For the logs above, I don't know why the clone log[1] are not reported. Regards. Footnotes: [1] http://dev.opennebula.org/projects/opennebula/repository/revisions/release-4.2/entry/src/tm_mad/qcow2/clone#L69 -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgpX5Upy1CEOP.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] OpenNebual Virtual Router 4.2 login failed, password needed.
Hi, I download OpenNebual Virtual Router 4.2 which is apline linux based.When I start the virutal machine with libvirt's virtual machine manager, I cannot login without password,the account used is root. So I try Virtual Router 3.8(root,password:router).It works ok. Anyone help me? thanks yuchang ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org