Re: [one-users] VM in Opennebula for Esxi 5.1 failed
Hi Catalina, Let's focus first on the 'vmfs' datastore not being correctly monitored. Could you send us the output of onedatastore show ds_id for both the system and the images datastore. Also, is there any monitor errors in /var/log/one/oned.log? If cannot find the relevant section in the log file, please send it through for analysis. Best 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 Mon, Nov 11, 2013 at 2:17 AM, Catalina Quinde catalinaqui...@gmail.com wrote: Hi Daniel, Thanks for reply, 1. 1. I'm using Opennebula 4.2 and node Esxi version 5.1. 2.I 2. I have used the following links: http://opennebula.org/documentation:rel4.2:cluster_guide http://opennebula.org/documentation:rel4.2:vmware_ds http://opennebula.org/documentation:rel4.2:system_ds#the_system_datastore_for_multi-cluster_setups and responses in mail lists. 33. I 3. I have enabled ssh between Opennebula and Esxi to use no password correctly. 4. 4. According to documentation should I put the Esxi node inside the cluster, as Opennebula is working with several hypervisors, has been used the command to create the cluster: “onecluster create [namecluster]”. 5. 5. I added the node Esxi to this cluster with the command: “onecluster addhost [namecluster] [namenodo]”. 6. 6. I added to the cluster, virtual network created for Esxi, which is also created on the Esxi node through Vsphere Client, with the command:“onecluster addvnet [namecluster] [namevirtualred]” 7. 7. I updated the cluster using the command: “onecluster update [namecluster]”, to add: DATASTORE_LOCATION, which will affect only that node, by placing the following: DATASTORE_LOCATION=/vmfs/volumes 8. 8. I have created two files that serve as image to create the datastores: a. The image file for the datastore system contains: NAME=dsEsxi TM_MAD=vmfs TYPE=SYSTEM_DS BRIDGE_LIST=192.168.147.131 b. This datastore is linked to the cluster at the same time created with the command: “onedatastore create -c [namecluster] /var/lib/images/system_esxi.ds”. c. The image file for the datastore image contains: NAME=diEsxi DS_MAD=vmfs TM_MAD=vmfs TYPE=IMAGE_DS BRIDGE_LIST=192.168.147.131 d. This datastore is linked to the cluster at the same time created with the commando: “onedatastore create –c [namecluster] /var/lib/images/image_esxi.ds” 9. 9. When I list the datastores, you can see that the image datastore new created has 0M capacity. I've done all this procedure since according to the documentation followed at Opennebula 4.2, it changes how to use Esxi node. Before all of the above to deploy a VM this error occurred: oneadmin@ubuntuOpNeb:~$ cat /var/log/one/36.log Thu Oct 31 11:18:02 2013 [DiM][I]: New VM state is ACTIVE. Thu Oct 31 11:18:02 2013 [LCM][I]: New VM state is PROLOG. Thu Oct 31 11:18:03 2013 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone ubuntuOpNeb:/var/lib/one/datastores/1/ 02e8c67d4f59826e9fb12ccb48f77557 demos:/var/lib/one/datastores/0/36/disk.0 36 1 Thu Oct 31 11:18:03 2013 [TM][I]: clone: Cloning /var/lib/one/datastores/1/ 02e8c67d4f59826e9fb12ccb48f77557 in demos:/var/lib/one/datastores/ 0/36/disk.0 Thu Oct 31 11:18:03 2013 [TM][E]: clone: Command cd /var/lib/one/datastores/0/36; cp /var/lib/one/datastores/1/ 02e8c67d4f59826e9fb12ccb48f77557 /var/lib/one/datastores/0/36/disk.0 failed: cp: can't stat '/var/lib/one/datastores/1/ 02e8c67d4f59826e9fb12ccb48f77557': No such file or directory Thu Oct 31 11:18:03 2013 [TM][E]: Error copying ubuntuOpNeb:/var/lib/one/ datastores/1/02e8c67d4f59826e9fb12ccb48f77557 to demos:/var/lib/one/datastores/0/36/disk.0 Thu Oct 31 11:18:03 2013 [TM][I]: ExitCode: 1 Thu Oct 31 11:18:03 2013 [TM][E]: Error executing image transfer script: Error copying ubuntuOpNeb:/var/lib/one/datastores/1/ 02e8c67d4f59826e9fb12ccb48f77557 to demos:/var/lib/one/datastores/ 0/36/disk.0 Thu Oct 31 11:18:03 2013 [DiM][I]: New VM state is FAILED Now, I suppose that I've to create the image for opennebula in
Re: [one-users] Problem with oZones. Error 401 while trying to access a zone
Hi, The HTTP code (401) tells us that the credentials are not being recognize. Can you check that the oneadmin credentials used to create the 'not working' zone are indeed the right ones? The best way to find out would be to check the $ONE_AUTH file of the zone, and recreating the zone in oZones using those credentials. Best 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 Sat, Nov 9, 2013 at 11:06 AM, Andranik Hayrapetyan andranik@gmail.com wrote: Good day. I have setup OpenNebula 4.2 with ozones server. I have added 3 zones to it and created a VDC for each one. For 2 of them everything works just fine. I can access the sunstone web UI through my oZones server. But when I try to access the third one I see just blank browser. In access.log of my httpd I see the following: GET /sunstone_MY_ZONE_3/ HTTP/1.1 401 - - Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/MY_IP Chrome/MY_IP Safari/537.36 The Rewrite rules in my .htaccess are made the same way for each VDC. Here is one of them: RewriteRule ^MY_ZONE_3 http://IP_OF_ZONE:2633/RPC2 [P] RewriteRule ^sunstone_MY_ZONE_3/(.+) http://IP_OF_ZONE:9869//$1 [P] RewriteRule ^sunstone_MY_ZONE_3 http://IP_OF_ZONE:9869// [P] What can I do to solve this problem? Can anyone help me, please? P.S. Sorry, my last email was sent by mistake. It was incomplete. ___ 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] VMFS datastore marketplace import image
I actually managed to fix it. The issue is the name for the second vmdk ( the -flat one ) was not correct. I renamed it and i worked afterwards. I still have some issues, if i don't find a way to solve them i will come back with questions, but thanks for the help, so far. It has been really helpful. Cosmin On Monday, November 11, 2013 4:28 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi, My guess here is that the registered disk is not a valid vmdk: /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527/disk.vmdk To validate this vmdk, try to create a VMware VM using the VI client from that existing disk. If it doesn't work, I would suggest registering the image again from a vmdk disk that you positively know that is valid. 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 Thu, Nov 7, 2013 at 7:05 PM, cosmin cucu cosminc...@yahoo.com wrote: Yes , it fails, with the following message : DiskLib_Check() failed for source disk The system cannot find the file specified (25). Cosmin On Thursday, November 7, 2013 7:54 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi, So, the error referred in the log is: Error cloning OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 to 192.168.10.10:/vmfs/volumes/100/37/disk.0 which comes from the following line: vmkfstools -i /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527/disk.vmdk -d thin /vmfs/volumes/100/37/disk.0/disk.vmdk Does the above line fail (executed in the ESX node as oneadmin)? 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 Thu, Nov 7, 2013 at 4:48 PM, cosmin cucu cosminc...@yahoo.com wrote: ~ # ls /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 Win2k8R2-flat.vmdk disk.vmdk So it exists, and contain those files. Any other ideas? Cosmin On Thursday, November 7, 2013 5:41 PM, Tino Vazquez cvazq...@c12g.com wrote: Hi, Can you check if this file exists in the ESX node? /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 If it doesn't, you may need to register the image again. 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 Thu, Nov 7, 2013 at 4:39 PM, cosmin cucu cosminc...@yahoo.com wrote: Any ideas on this new error? Thanks, Cosmin On Wednesday, November 6, 2013 1:18 PM, cosmin cucu cosminc...@yahoo.com wrote: It was indeed a permission issue, i managed to make it working. I did create the image, and the template. But when i
Re: [one-users] VM in Opennebula for Esxi 5.1 failed
Use the following ONELINER $ bash -x /var/lib/one/remotes/datastore/vmfs/monitor From: users-boun...@lists.opennebula.org [mailto:users-boun...@lists.opennebula.org] On Behalf Of Catalina Quinde Sent: Monday, November 11, 2013 5:50 PM To: Users@lists.opennebula.org Subject: Re: [one-users] VM in Opennebula for Esxi 5.1 failed Hi Tino, The comand bash -x /var/lib/one/remotes can't execution because this is directory: oneadmin@ubuntuOpNeb:~$ bash -x /var/lib/one/remotes/ /var/lib/one/remotes/: /var/lib/one/remotes/: es un directorio This directory contains: oneadmin@ubuntuOpNeb:~$ ls /var/lib/one/remotes/ auth datastore hooks im scripts_common.rb scripts_common.sh tm vmm vnm ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Appmarket 3.8.3
Hello Team, I would like test the appmarket funcionality in my private cloud. I have followed the OpenNebula documentation for the version 3.8. I think the appmarket is working well since command line, but I am not able to see the appmarket tab in the sunstone interface. According the documentation, by default the appmarket is enabled. Thanks a lot for your help. - plugins/vnets-tab.js: :ALL: true :user: :group: - plugins/marketplace-tab.js: :ALL: true :user: :group: - user-plugins/apptools.appmarket-dashboard.js: :group: :ALL: true :user: - user-plugins/apptools.appmarket.appliances.js: :group: :ALL: true :user: oneadmin@opennebula38:~$ appmarket list ID NAME PUBLISHER 527c163a98b58a5d2101 Ubuntu 3.5 DMG Services oneadmin@opennebula38:~$ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM in Opennebula for Esxi 5.1 failed
Subject: Re: [one-users] VM in Opennebula for Esxi 5.1 failed Message-ID: a3adf8c56ada0f45bc34f904a6514e280151e8a95...@exw10.eum.root.eumetsat.int Content-Type: text/plain; charset=windows-1252 Use the following ONELINER $ bash -x /var/lib/one/remotes/datastore/vmfs/monitor From: users-boun...@lists.opennebula.org [mailto:users-boun...@lists.opennebula.org] On Behalf Of Catalina Quinde Sent: Monday, November 11, 2013 5:50 PM To: Users@lists.opennebula.org Subject: Re: [one-users] VM in Opennebula for Esxi 5.1 failed Hi Tino, The comand bash -x /var/lib/one/remotes can't execution because this is directory: oneadmin@ubuntuOpNeb:~$ bash -x /var/lib/one/remotes/ /var/lib/one/remotes/: /var/lib/one/remotes/: es un directorio This directory contains: oneadmin@ubuntuOpNeb:~$ ls /var/lib/one/remotes/ auth datastore hooks im scripts_common.rb scripts_common.sh tm vmm vnm -- next part -- An HTML attachment was scrubbed... URL: http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/2013/5c1f/attachment-0001.htm -- Message: 2 Date: Mon, 11 Nov 2013 17:58:35 +0100 From: Tino Vazquez cvazq...@c12g.com To: Catalina Quinde catalinaqui...@gmail.com Cc: users Users@lists.opennebula.org Subject: Re: [one-users] VM in Opennebula for Esxi 5.1 failed Message-ID: cahfkwc21-kkpabwgtnwqs07ebbaic9b8zzfjwmsrt3exb0u...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Hi, The following should executed in the same line: 8- $ bash -x /var/lib/one/remotes/datastore/vmfs/monitor PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xMDM8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5zc2hfZGlFc3hpPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4xPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxEU19NQUQ+dm1mczwvRFNfTUFEPjxUTV9NQUQ+dm1mczwvVE1fTUFEPjxCQVNFX1BBVEg+L3ZtZnMvdm9sdW1lcy8xMDM8L0JBU0VfUEFUSD48VFlQRT4wPC9UWVBFPjxESVNLX1RZUEU+MDwvRElTS19UWVBFPjxDTFVTVEVSX0lEPjEwMDwvQ0xVU1RFUl9JRD48Q0xVU1RFUj5Fc3hpY2x1czwvQ0xVU1RFUj48VE9UQUxfTUI+MDwvVE9UQUxfTUI+PEZSRUVfTUI+MDwvRlJFRV9NQj48VVNFRF9NQj4wPC9VU0VEX01CPjxJTUFHRVM+PC9JTUFHRVM+PFRFTVBMQVRFPjxCUklER0VfTElTVD48IVtDREFUQVsxOTIuMTY4LjE0Ny4xMzFdXT48L0JSSURHRV9MSVNUPjxEU19NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvRFNfTUFEPjxUTV9NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvVE1fTUFEPjxUWVBFPjwhW0NEQV RBW0lNQUdFX0RTXV0+PC9UWVBFPjwvVEVNUExBVEU+PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+ 103 ---8- Regards, -T -- 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 Mon, Nov 11, 2013 at 5:50 PM, Catalina Quinde catalinaqui...@gmail.com wrote: Hi Tino, The comand bash -x /var/lib/one/remotes can't execution because this is directory: oneadmin@ubuntuOpNeb:~$ bash -x /var/lib/one/remotes/ /var/lib/one/remotes/: /var/lib/one/remotes/: es un directorio This directory contains: oneadmin@ubuntuOpNeb:~$ ls /var/lib/one/remotes/ auth datastore hooks im scripts_common.rb scripts_common.sh tm vmm vnm Regards, Caty. 2013/11/11 Tino Vazquez cvazq...@c12g.com Hi, The setup looks correct, both DS 102 and 103 have the correct BASE_PATH. About the monitoring error, could you send the output of the execution of the following as oneadmin in the front-end: $ bash -x /var/lib/one/remotes/ datastore/vmfs/monitor PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xMDM8L 0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZ WFkbWluPC9HTkFNRT48TkFNRT5zc2hfZGlFc3hpPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xP C9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4xP C9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wP C9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT 05TPjxEU19NQUQ
Re: [one-users] VM in Opennebula for Esxi 5.1 failed
Hi, The following should executed in the same line: 8- $ bash -x /var/lib/one/remotes/datastore/vmfs/monitor PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xMDM8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5zc2hfZGlFc3hpPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4xPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxEU19NQUQ+dm1mczwvRFNfTUFEPjxUTV9NQUQ+dm1mczwvVE1fTUFEPjxCQVNFX1BBVEg+L3ZtZnMvdm9sdW1lcy8xMDM8L0JBU0VfUEFUSD48VFlQRT4wPC9UWVBFPjxESVNLX1RZUEU+MDwvRElTS19UWVBFPjxDTFVTVEVSX0lEPjEwMDwvQ0xVU1RFUl9JRD48Q0xVU1RFUj5Fc3hpY2x1czwvQ0xVU1RFUj48VE9UQUxfTUI+MDwvVE9UQUxfTUI+PEZSRUVfTUI+MDwvRlJFRV9NQj48VVNFRF9NQj4wPC9VU0VEX01CPjxJTUFHRVM+PC9JTUFHRVM+PFRFTVBMQVRFPjxCUklER0VfTElTVD48IVtDREFUQVsxOTIuMTY4LjE0Ny4xMzFdXT48L0JSSURHRV9MSVNUPjxEU19NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvRFNfTUFEPjxUTV9NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvVE1fTUFEPjxUWVBFPjwhW0NEQVRBW0lNQUdFX0RTXV0+PC9UWVBFPjwvVEVNUExBVEU+PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+ 103 ---8- Regards, -T -- 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 Mon, Nov 11, 2013 at 5:50 PM, Catalina Quinde catalinaqui...@gmail.com wrote: Hi Tino, The comand bash -x /var/lib/one/remotes can't execution because this is directory: oneadmin@ubuntuOpNeb:~$ bash -x /var/lib/one/remotes/ /var/lib/one/remotes/: /var/lib/one/remotes/: es un directorio This directory contains: oneadmin@ubuntuOpNeb:~$ ls /var/lib/one/remotes/ auth datastore hooks im scripts_common.rb scripts_common.sh tm vmm vnm Regards, Caty. 2013/11/11 Tino Vazquez cvazq...@c12g.com Hi, The setup looks correct, both DS 102 and 103 have the correct BASE_PATH. About the monitoring error, could you send the output of the execution of the following as oneadmin in the front-end: $ bash -x /var/lib/one/remotes/ datastore/vmfs/monitor PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xMDM8L 0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZ WFkbWluPC9HTkFNRT48TkFNRT5zc2hfZGlFc3hpPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xP C9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4xP C9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wP C9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT 05TPjxEU19NQUQ+dm1mczwvRFNfTUFEPjxUTV9NQUQ+dm1mczwvVE1fTUFEPjxCQVNFX1BBVEg+L3ZtZ nMvdm9sdW1lcy8xMDM8L0JBU0VfUEFUSD48VFlQRT4wPC9UWVBFPjxESVNLX1RZUEU+MDwvRElTS19UW VBFPjxDTFVTVEVSX0lEPjEwMDwvQ0xVU1RFUl9JRD48Q0xVU1RFUj5Fc3hpY2x1czwvQ0xVU1RFUj48V E9UQUxfTUI+MDwvVE9UQUxfTUI+PEZSRUVfTUI+MDwvRlJFRV9NQj48VVNFRF9NQj4wPC9VU0VEX01CP jxJTUFHRVM+PC9JTUFHRVM+PFRFTVBMQVRFPjxCUklER0VfTElTVD48IVtDREFUQVsxOTIuMTY4LjE0N y4xMzFdXT48L0JSSURHRV9MSVNUPjxEU19NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvRFNfTUFEPjxUTV9NQ UQ+PCFbQ0RBVEFbdm1mc11dPjwvVE1fTUFEPjxUWVBFPjwhW0NEQVRBW0lNQUdFX0RTXV0+PC9UWVBFP jwvVEVNUExBVEU+PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+ 103 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 Mon, Nov 11, 2013 at 4:25 PM, Catalina Quinde
Re: [one-users] Error executing image transfer script
Hai, I'am trying to deploy vm. This seems to be the problem: Tue Nov 12 00:08:56 2013 [ReM][D]: Req:9120 UID:0 VirtualMachineDeploy invoked, 14, 18, false Tue Nov 12 00:08:56 2013 [DiM][D]: Deploying VM 14 Tue Nov 12 00:08:56 2013 [ReM][D]: Req:9120 UID:0 VirtualMachineDeploy result SUCCESS, 14 Tue Nov 12 00:08:56 2013 [TM][D]: Message received: TRANSFER SUCCESS 14 - Tue Nov 12 00:09:02 2013 [VMM][D]: Message received: LOG I 14 ExitCode: 0 Tue Nov 12 00:09:02 2013 [VMM][D]: Message received: LOG I 14 Successfully execute network driver operation: pre. Tue Nov 12 00:09:04 2013 [VMM][D]: Message received: LOG I 14 Command execution fail: cat EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one/var//datastores/0/14/deployment.0' 'onevmhost' 14 onevmhost Tue Nov 12 00:09:04 2013 [VMM][D]: Message received: LOG I 14 error: Failed to create domain from /var/lib/one/var//datastores/0/14/deployment.0 Tue Nov 12 00:09:04 2013 [VMM][D]: Message received: LOG I 14 error: Unable to allow access for disk path /var/lib/one/var//datastores/0/14/disk.0: No such file or directory Tue Nov 12 00:09:04 2013 [VMM][D]: Message received: LOG E 14 Could not create domain from /var/lib/one/var//datastores/0/14/deployment.0 Tue Nov 12 00:09:04 2013 [VMM][D]: Message received: LOG I 14 ExitCode: 255 Tue Nov 12 00:09:04 2013 [VMM][D]: Message received: LOG I 14 Failed to execute virtualization driver operation: deploy. Tue Nov 12 00:09:04 2013 [VMM][D]: Message received: DEPLOY FAILURE 14 Could not create domain from /var/lib/one/var//datastores/0/14/deployment.0 Tue Nov 12 00:09:10 2013 [ReM][D]: Req:8528 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1 Tue Nov 12 00:09:10 2013 [ReM][D]: Req:8528 UID:0 VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID14... Tue Nov 12 00:09:25 2013 [ReM][D]: Req:1392 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] How to use RAW section in VM tempalte
Hi there, I have a need to define serial (and serial over tcp) in KVM VMs. I understood I can use RAW to specify in a template. However I the data is not just appended within the domain section, not merged into the devices section. My input of the RAW is like this: RAW=[DATA=devicesserial type=\tcp\source mode=\bind\ host=\0.0.0.0\ service=\4056\/protocol type=\telnet\/target port=\0\//serialconsole type=\tcp\ source mode=\bind\ host=\0.0.0.0\ service=\4056\/protocol type=\telnet\/target type=\serial\ port=\0\//console/devices,TYPE=kvm] And I got the deployment.0 as below which is not right. Can anyone help to give me suggestions? Thanks very much, Gene domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' nameone-33/name cputune shares1024/shares /cputune memory2097152/memory os type arch='x86_64'hvm/type boot dev='network'/ /os devices emulator/usr/libexec/qemu-kvm/emulator disk type='file' device='disk' source file='/var/lib/one//datastores/0/33/disk.0'/ target dev='hda'/ driver name='qemu' type='qcow2' cache='none' io='native'/ /disk interface type='bridge' source bridge='br1'/ mac address='de:ad:5f:01:38:01'/ model type='virtio'/ /interface graphics type='vnc' listen='0.0.0.0' port='5933'/ /devices features acpi/ /features devicesserial type=tcpsource mode=bind host=0.0.0.0 service=4056/protocol type=telnet/target port=0//serialconsole type=tcp source mode=bind host=0.0.0.0 service=4056/protocol type=telnet/target type=serial port=0//console/devices /domain ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Hybrid deployments with Deltacloud
Daniel, I know thet EC2 is supported but I have thought that some implementations of EC2 might be not comptaibile and in OpenNebula only Amazon access interface is supported. From what you wrote I understand that different deployments of OpenNebula can be integrated trough utilisation of EC2. Is this correct? Marcin Hi, Currently the OpenNebula distribution just includes drivers to interact with EC2 clouds, but it would not be difficult to develop a new driver to interact with the deltacloud API. We can even create a new addon [1] for this and I can give you some guidelines on how to develop this driver. Basically you should create a new VMM_MAD based on the ec2 driver: https://github.com/OpenNebula/one/tree/master/src/vmm_mad/remotes/ec2 The ec2_driver.rb is the library that interacts with the EC2 API and each script (deploy, reboot...) uses this library to send the ec2 commands. If you have any doubts do not hesitate to ask me. Cheers [1] http://opennebula.org/addons:addons On 7 November 2013 15:56, Marcin Jarzab m...@agh.edu.pl mailto:m...@agh.edu.pl wrote: Hello, I just installed the Deltacloud service and wondering if OpenNebula can be integrated with service in such way that inside hosts there can be configured external cloud installation. Such configuration is supported by the EC2 driver when using Amazon clouds. In the following blog there is elaborated such deployment but how this can be achieved? http://blog.opennebula.org/?p=569 Marcin -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl mailto:m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone:+48 (12) 328 33 72 tel:%2B48%20%2812%29%20328%2033%2072 == ___ Users mailing list Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.OpenNebula.org | dmol...@opennebula.org mailto:dmol...@opennebula.org | @OpenNebula -- Ph.D. Eng. Marcin Jarzab m...@agh.edu.pl http://www.ics.agh.edu.pl/people/mj Department of Computer Science AGH University of Science and Technology Kawiory 21, Building D17, 30-055 Krakow, POLAND phone: +48 (12) 328 33 72 == ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Error creating image in opennebula for OpenVZ
Hi friends, Other problem: I made a VM on OpenVZ node, then this VM I have backed up to a file tar.gz, create an image file in order to register the image in Opennebula but to make image the status is err, this steps I followed: - The file is /var/lib/images/VMopenvzamd64.tar.gz - The template for image contains: oneadmin@ubuntuOpNeb:~$ cat /var/lib/images/VMopenvzamd64.one NAME = VMopenvzamd64 PATH = /var/lib/images/VMopenvzamd64.tar.gz TYPE = OS DESCRIPTION = Pruebas VM OpenVZ - This command to register image oneadmin@ubuntuOpNeb:~$ oneimage create /var/lib/images/VMopenvzamd64.one -d default ID: 14 - This displays comand oneimage show 14 oneadmin@ubuntuOpNeb:~$ oneimage show 14 IMAGE 14 INFORMATION ID : 14 NAME : VMopenvzamd64 USER : oneadmin GROUP : oneadmin DATASTORE : default TYPE : OS REGISTER TIME : 11/11 14:47:30 PERSISTENT : No SOURCE : PATH : /var/lib/images/VMopenvzamd64.tar.gz SIZE : 189M STATE : err RUNNING_VMS: 0 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- IMAGE TEMPLATE DESCRIPTION=Pruebas VM OpenVZ DEV_PREFIX=hd ERROR=Mon Nov 11 14:48:39 2013 : Error copying image in the datastore: Error copying /var/lib/images/VMopenvzamd64.tar.gz to /var/lib/one/datastores/1/c1d6f4ca8d3b8d2c7aee8705b43019d1 VIRTUAL MACHINES Please help me is very important. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] How to manage vm created by opennebula by virsh tools?
Dear All: How to manage vm created by opennebula by virsh tool? Best Wishes! Dennis___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] How to manage vm created by opennebula by virsh tools?
Hi Dennis, What actually that you want to achieve? Thanks. On Tue, Nov 12, 2013 at 9:58 AM, caohf ca...@wedogame.com wrote: Dear All: How to manage vm created by opennebula by virsh tool? -- Best Wishes! Dennis ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Sharuzzaman Ahmat Raslan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] How to manage vm created by opennebula by virsh tools?
Hi : I have another system use virsh(libvirt) manage the kvm vms,when i use opennebula ,I also want to use my old system. Opennebula provide the libvirt drivers in the old version. Best Wishes! Dennis From: Sharuzzaman Ahmat Raslan Date: 2013-11-12 11:13 To: caohf CC: users@lists.opennebula.org Subject: Re: [one-users] How to manage vm created by opennebula by virsh tools? Hi Dennis, What actually that you want to achieve? Thanks. On Tue, Nov 12, 2013 at 9:58 AM, caohf ca...@wedogame.com wrote: Dear All: How to manage vm created by opennebula by virsh tool? Best Wishes! Dennis ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Sharuzzaman Ahmat Raslan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] How to manage vm created by opennebula by virsh tools?
Hi Dennis, When Opennebula shutdown a VM, it will destroy the XML file on the host, and unregister the VM from KVM. If you just want it to stop, so that you can do something to the image, eg. making a backup, you can use the command onevm suspend vmid then the VM will still be available in the host, and can be queried by virsh list command. Read more at: http://opennebula.org/documentation:rel4.2:vm_guide_2 http://opennebula.org/doc/4.2/cli/onevm.1.html On Tue, Nov 12, 2013 at 12:33 PM, caohf ca...@wedogame.com wrote: Thanks But when i use virsh list --all command - [root@opennebula-node1 ~]# virsh list --all IdName State 43one-111running 44one-104running 48one-123running - centos5.6.kvm shut off if the vm managed by one is runnning ,it can be list by virsh list --all command when I destory a vm. - [root@opennebula-node1 ~]# virsh destroy 44 Domain 44 destroyed It can't be display by virsh command [root@opennebula-node1 ~]# virsh list --all IdName State 43one-111running 48one-123running - centos5.6.kvm shut off --- How to fix this -- Best Wishes! Dennis *From:* Sharuzzaman Ahmat Raslan sharuzza...@gmail.com *Date:* 2013-11-12 11:48 *To:* caohf ca...@wedogame.com *CC:* users@lists.opennebula.org Users@lists.opennebula.org *Subject:* Re: Re: [one-users] How to manage vm created by opennebula by virsh tools? Hi Dennis, Opennebula is still using libvirt for KVM-based nodes. You can still stop/start the VM using normal virsh command, such as virsh stop, virsh start, virsh attach-device etc. But doing so directly to the VM, will cause your VM to not shutting down properly if you onevm shutdown from Opennebula later. That's what I have experience before. Thanks. On Tue, Nov 12, 2013 at 11:34 AM, caohf ca...@wedogame.com wrote: Hi : I have another system use virsh(libvirt) manage the kvm vms,when i use opennebula ,I also want to use my old system. Opennebula provide the libvirt drivers in the old version. -- Best Wishes! Dennis *From:* Sharuzzaman Ahmat Raslan sharuzza...@gmail.com *Date:* 2013-11-12 11:13 *To:* caohf ca...@wedogame.com *CC:* users@lists.opennebula.org Users@lists.opennebula.org *Subject:* Re: [one-users] How to manage vm created by opennebula by virsh tools? Hi Dennis, What actually that you want to achieve? Thanks. On Tue, Nov 12, 2013 at 9:58 AM, caohf ca...@wedogame.com wrote: Dear All: How to manage vm created by opennebula by virsh tool? -- Best Wishes! Dennis ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Sharuzzaman Ahmat Raslan -- Sharuzzaman Ahmat Raslan -- Sharuzzaman Ahmat Raslan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] opennebula4.2 with esxi5.1 when install vms faild
Tue Nov 12 15:11:07 2013 [DiM][I]: New VM state is ACTIVE. Tue Nov 12 15:11:07 2013 [LCM][I]: New VM state is PROLOG. Tue Nov 12 15:11:14 2013 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/vmfs/clone nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b 10.24.101.72:/vmfs/volumes/0/5/disk.0 5 1 Tue Nov 12 15:11:14 2013 [TM][I]: clone: Cloning nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b in 10.24.101.72:/vmfs/volumes/0/5/disk.0 Tue Nov 12 15:11:14 2013 [TM][E]: clone: Command cd /vmfs/volumes/0/5 Tue Nov 12 15:11:14 2013 [TM][I]: Tue Nov 12 15:11:14 2013 [TM][I]: export PATH=/usr/sbin:/sbin:$PATH Tue Nov 12 15:11:14 2013 [TM][I]: Tue Nov 12 15:11:14 2013 [TM][I]: if [ FILE != CDROM ]; then Tue Nov 12 15:11:14 2013 [TM][I]: if [ ! -d /vmfs/volumes/0/5/disk.0 ]; then Tue Nov 12 15:11:14 2013 [TM][I]: mkdir -p /vmfs/volumes/0/5/disk.0 Tue Nov 12 15:11:14 2013 [TM][I]: fi Tue Nov 12 15:11:14 2013 [TM][I]: Tue Nov 12 15:11:14 2013 [TM][I]: vmkfstools -U /vmfs/volumes/0/5/disk.0/disk.vmdk Tue Nov 12 15:11:14 2013 [TM][I]: rm -f /vmfs/volumes/0/5/disk.0/* Tue Nov 12 15:11:14 2013 [TM][I]: Tue Nov 12 15:11:14 2013 [TM][I]: vmkfstools -i /var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b/disk.vmdk -d thin /vmfs/volumes/0/5/disk.0/disk.vmdk Tue Nov 12 15:11:14 2013 [TM][I]: else Tue Nov 12 15:11:14 2013 [TM][I]: if [ ! -d /vmfs/volumes/0/5 ]; then Tue Nov 12 15:11:14 2013 [TM][I]: mkdir -p /vmfs/volumes/0/5 Tue Nov 12 15:11:14 2013 [TM][I]: fi Tue Nov 12 15:11:14 2013 [TM][I]: Tue Nov 12 15:11:14 2013 [TM][I]: rm -f /vmfs/volumes/0/5/disk.0 Tue Nov 12 15:11:14 2013 [TM][I]: Tue Nov 12 15:11:14 2013 [TM][I]: cp /var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b /vmfs/volumes/0/5/disk.0 Tue Nov 12 15:11:14 2013 [TM][I]: ln -s /vmfs/volumes/0/5/disk.0 /vmfs/volumes/0/5/disk.0.iso Tue Nov 12 15:11:14 2013 [TM][I]: fi failed: Permission denied (publickey,keyboard-interactive). Tue Nov 12 15:11:14 2013 [TM][E]: Error cloning nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b to 10.24.101.72:/vmfs/volumes/0/5/disk.0 Tue Nov 12 15:11:14 2013 [TM][I]: ExitCode: 255 Tue Nov 12 15:11:14 2013 [TM][E]: Error executing image transfer script: Error cloning nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b to 10.24.101.72:/vmfs/volumes/0/5/disk.0 Tue Nov 12 15:11:14 2013 [DiM][I]: New VM state is FAILED Tue Nov 12 15:11:14 2013 [DiM][I]: New VM state is CLEANUP. Tue Nov 12 15:11:14 2013 [HKM][I]: Success executing Hook: on_failure_recreate: . ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org