[one-users] how to connect Sunstone
Dear All I have down Virtualbox Sandbox under the tab try-out on opennebula.org website. Now as per instruction on the website, when i am opening sunstone in browser such as http://:9869;, it is not connecting. while i execute all commands in CLI such as onevnet, onehost list, onecluster list. etc. Please help me for the aforementioned problem. Thanks regards Suleman ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] strange EC2 beahvior in 4.8
I have updated my config to use the EC2 templates in one instead of old template files. It works fine when I am the oneadmin user. However, when I am using an other user I have this error when I create a new VM: Unexpected server error. response.body is: ResponseRequestId/ErrorsErrorCodeInvalidInstanceAttributeValue.NotFound/CodeMessageInvalidInstanceAttributeValue.NotFound m1.small/Message/Error/Errors/Response The code is: response = ec2.run_instances( :image_id = 'ami-0280', :min_count = 1, :max_count = 1, :instance_type = 'm1.small', :user_data = user_data, :base64_encoded = true ) It works fine if I use the oneadmin credentials, but not for other users. m1.small is a template in one: TEMPLATE 143 INFORMATION ID : 143 NAME : m1.small USER : oneadmin GROUP : oneadmin REGISTER TIME : 09/23 10:26:52 PERMISSIONS OWNER : um- GROUP : u-- OTHER : u-- All users have USE right access. Any idea? Thanks Olviier -- gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] strange EC2 beahvior in 4.8
As more info, if I change the group ownership of the template to users instead of oneadmin it works. However, as Permissions to Use on Other are set, it should work. Olivier On 09/24/2014 10:16 AM, Olivier Sallou wrote: I have updated my config to use the EC2 templates in one instead of old template files. It works fine when I am the oneadmin user. However, when I am using an other user I have this error when I create a new VM: Unexpected server error. response.body is: ResponseRequestId/ErrorsErrorCodeInvalidInstanceAttributeValue.NotFound/CodeMessageInvalidInstanceAttributeValue.NotFound m1.small/Message/Error/Errors/Response The code is: response = ec2.run_instances( :image_id = 'ami-0280', :min_count = 1, :max_count = 1, :instance_type = 'm1.small', :user_data = user_data, :base64_encoded = true ) It works fine if I use the oneadmin credentials, but not for other users. m1.small is a template in one: TEMPLATE 143 INFORMATION ID : 143 NAME : m1.small USER : oneadmin GROUP : oneadmin REGISTER TIME : 09/23 10:26:52 PERMISSIONS OWNER : um- GROUP : u-- OTHER : u-- All users have USE right access. Any idea? Thanks Olviier -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Datastore and Gluster + Cluster
The cluster endpoint is only needed in the datastore template. Sunstone does not need to know anything about it On Tue, Sep 23, 2014 at 9:44 PM, Amier Anis myma...@gmail.com wrote: thanks javier. i'm really appreciate it. i did almost same configuration without using this guide. where by i just do normal mount via fstab and create empty system and images in the sunstone. it works. by the way is that correct way or i still need to ensure the details of gluster must be in the sunstone setting? my first attempt did not work that time. On Tue, Sep 23, 2014 at 11:55 PM, Javier Fontan jfon...@opennebula.org wrote: GlusterFS is a bit different to the other shared storage as it needs to see the same files in both the system and images datastores. It needs both. Cluster 0 Mount gluster_vol_0 in /storage Link /storage - /var/lib/one/datastores/100 (system) Link /storage - /var/lib/one/datastores/101 (images) Cluster 1 Mount gluster_vol_1 in /storage Link /storage - /var/lib/one/datastores/102 (system) Link /storage - /var/lib/one/datastores/103 (images) Cluster 2 Mount gluster_vol_2 in /storage Link /storage - /var/lib/one/datastores/104 (system) Link /storage - /var/lib/one/datastores/105 (images) Frontend Mount gluster_vol_0 in /storage/0 Mount gluster_vol_0 in /storage/1 Mount gluster_vol_0 in /storage/2 Link /storage/0 - /var/lib/one/datastores/100 (system) Link /storage/0 - /var/lib/one/datastores/101 (images) Link /storage/1 - /var/lib/one/datastores/102 (system) Link /storage/1 - /var/lib/one/datastores/103 (images) Link /storage/2 - /var/lib/one/datastores/104 (system) Link /storage/2- /var/lib/one/datastores/105 (images) On Sat, Sep 20, 2014 at 7:28 PM, Amier Anis myma...@gmail.com wrote: Dear Team, I would like to know little bit more about system datastore + gluster and cluster. node 0 - FrontEnd node 1 - Hypervisor 1 node 2 - Hypervisor 2 Cluster 1 node 3 Hypervisor 3 node 4 Hypervisor 4 Cluster 2 node 5 Hypervisor 5 node 6 Hypervisor 6 GlusterFS Storage 1 - mount to frontend to datastore 0 GlusterFS Storage 2 - mount to frontend to datastore 100 - for Cluster 1 GlusterFS Storage 3 - mount to frontend to datastore 101 - for Cluster 2 I believe that all glusterfs storage need to mount to Frontend and hypervisor node. my question is Should I mount datastore 0 to all hypervisor node even it is clusters? or Do i only mount for each datastore to each clusters. let say GlusterFS Storage 1 for non-cluster node, glusterfs 2 for cluster 2 and etc. In cluster 1, I only mount glusterfs 2 and set it as system datastore and image datastore. no datastore 0,1,2 in cluster 2. Which is the proper one? How do I set glusterfs as system and image datastore in opennebula. I only can set images datastore. Thanks in advance your kind help. Thanks you. Regards Best Wishes, .: Amier Anis :. Mobile: +6012-260-0819 IMPORTANT: This e-mail (including any attachment hereto) is intended solely for the addressee and is confidential and privileged. If this should have been sent to you in error, you are not to reproduce, distribute or take any action in reliance on it. Kindly notify us and delete the e-mail and all attachments immediately. As e-mail and/or attachments may contain viruses and other interfering or damaging elements, the receipt and/or downloading of e-mail and/or attachments will be at your own risk and we accept no liability for any damage sustained as a result of any such viruses; you should carry out your own virus checks before opening any attachment. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | @OpenNebula | github.com/jfontan -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple 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] VNC - Timeout on Sunstone ONE 4.6
Hi Galimba, On 22 September 2014 19:50, Galimba gali...@gmail.com wrote: I have configured nova with mysql Have you also installed oned? Cheers -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Adding network interface doesn't change vm context
The file with data of the context CD (context.sh) is generated by OpenNebula daemon itself, not by a script, so this change is trickier. There is already a ticket about it: http://dev.opennebula.org/issues/3150 On Tue, Sep 16, 2014 at 5:22 AM, Marcin Stolarek ms...@icm.edu.pl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Guys, I've noticed that when a network interface is added to running VM, this doesn't change VM context, so even if VM is restarted this network interface isn't configured via contextualization mechanism. Should it be considered a bug? Where should I look to patch this issue? I believe that there is a shell script which executes appropriate commands on my physical host to add a network interface to vm, maybe it's possible to add context modification to this script? It won't change context of running machine, but in case of restart the context will be changed and NIC configured appropriately. cheers, marcin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAEBAgAGBQJUF6zWAAoJEEjNHARke2+evFkIAL9oUFVYETSWMzAzN1O9Su6u kWluAw7pahkShuv0GPEJcpoS70IbVvhLAmWLfHFcBgIBx1zhVMx9Q1SpNVUJmvuE P4DZkEhioAnqig9L7fMkJyzexbuQg0omIszHXSJpEZSD8yYyPkab+A4KHGoY7DfB 2JwyGsgLhWOERHflCrZBHAJHyvMMBMPpo3BUg14vqhxsmCKD8pStUk8k47SZIVz4 kR8uZ1FptDEOD2FB7Y5MnpMtIxdrKdmyMQyeLvvv8WxGRCAasGijRaq5eh8sywRu 9CG0feoku2iVU6Jsb0SocDzOGyPNtpk+/0/TzGDnPMEWbrQHA5kevdQXDYfym3M= =NpUt -END PGP SIGNATURE- ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple 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] Where are the CentOS one-context-4.8.0-1.noarch rpm files?
That looks like a bug in the documentation indeed. We will take a look at it. Thanks. On Tue, Sep 23, 2014 at 11:47 AM, Pavel Tankov pavel.tan...@strategyobject.com wrote: Thank you for the response! I was just about to reply to my thread that I'd found the package and help other people but, fortunately, you were faster. I would have given false information. Anyway, please, see below how I got confused: I wasn't getting a response for a while and thought I was asking a too obvious question, so I went to re-read the documentation once again more carefully. The documentation here: (1) http://docs.opennebula.org/4.8/user/virtual_machine_setup/bcont.html says: Install from our repositories package one-context in Ubuntu/Debian or opennebula-context in CentOS/RedHat. Instructions to add the repository at the installation guide. where installation guide is a hyperlink to (2) http://docs.opennebula.org/4.8/design_and_installation/building_your_cloud/ignc.html#ignc However, (2) explains how to add the opennebula repo for CentOS and the link to the repo is: (3) http://downloads.opennebula.org/repo/4.8/CentOS/6/x86_64. But (3) DOES NOT have the contextualization rpm packages. On the other hand, (1) also says: Download and install the package for your distribution: DEB: Compatible with Ubuntu 11.10 to 14.04 and Debian 6/7 RPM: Compatible with CentOS and RHEL 6/7 where RPM is a hyperlink to (4) http://dev.opennebula.org/attachments/download/804/one-context_4.8.0.rpm which, apparently according to your mail, is not the latest version. Please, fix the documentation in (1) to mention http://dev.opennebula.org/projects/opennebula/files instead. -- Pavel Tankov On 09/23/2014 12:22 PM, Javier Fontan wrote: The images from the marketpace already come with the context packages installed. To download the packages you can go to one of these places: http://dev.opennebula.org/projects/opennebula/files https://github.com/OpenNebula/addon-context-linux/releases/tag/v4.8.1 On Fri, Sep 19, 2014 at 1:49 PM, Pavel Tankov pavel.tan...@strategyobject.com wrote: Hello, I am installing a CentOS 6.5 VM from scratch. I would like, of course, to contextualize it. Where can I download the one-context-4.8.0-1.noarch.rpm from? It is installed by default on a CentOS 6.5 VM that I deploy from the Marketplace. Thank you. -- Pavel Tankov ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Pavel Tankov ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple 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] Where are the CentOS one-context-4.8.0-1.noarch rpm files?
I'm working in upstream cloud-init to try to add all the features of context packages. We will move to them when all the features are there. Centos 6 support included. On Tue, Sep 23, 2014 at 12:41 PM, Karanbir Singh mail-li...@karan.org wrote: On 09/23/2014 10:22 AM, Javier Fontan wrote: The images from the marketpace already come with the context packages installed. To download the packages you can go to one of these places: http://dev.opennebula.org/projects/opennebula/files https://github.com/OpenNebula/addon-context-linux/releases/tag/v4.8.1 Given that we can have CentOS-7 now run with cloud-init, is it worth trying to backport this cloud-init to 6 as well ? - KB -- Karanbir Singh +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh GnuPG Key : http://www.karan.org/publickey.asc ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Sunstone problem
Dear Javier Fontan I have down Virtualbox Sandbox under the tab try-out on opennebula.org website. Now as per instruction on the website, when i am opening sunstone in browser such as http://:9869;, it is not connecting. while i execute all commands in CLI such as onevnet, onehost list, onecluster list. etc. Please help me for the aforementioned problem. Thanks regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Fwd: Fwd: 4.8 with vSphere single node 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. -- Forwarded message -- From: Stan Yarbrough stan.yarbro...@oriontech.com Date: 23 September 2014 16:59 Subject: RE: [one-users] Fwd: 4.8 with vSphere single node datastores To: Tino Vazquez cvazq...@c12g.com Here is what vi_driver.rb looks like now. It produced a successful monitoring output. However, the system datastore is not working: ENV['LANG'] = 'C' $: LIB_LOCATION+'/ruby/vendors/rbvmomi/lib' $:. require 'rbvmomi' require 'yaml' [oneadmin@otscsfe01 vmware]$ /var/lib/one/remotes/im/vmware.d/vmware.rb itwesx04 MODELNAME=Intel(R) Xeon(R) CPU X5680 @ 3.33GHz CPUSPEED=3332 TOTALCPU=400 USEDCPU=4.56 FREECPU=395.44 TOTALMEMORY=8388084 USEDMEMORY=1285120 FREEMEMORY=7102964 NETRX=63011 NETTX=27 DS=[ID=NestedDS,USED_MB=892,TOTAL_MB=12800,FREE_MB=11908] DS=[ID=ITWNTAP01-VOL01,USED_MB=399858,TOTAL_MB=1802240,FREE_MB=1402382] DS=[ID=ITWNTAP01-VOL02,USED_MB=247948,TOTAL_MB=1781760,FREE_MB=1533812] DS=[ID=ITWNTAP01-VOL03,USED_MB=11529,TOTAL_MB=87142,FREE_MB=75613] DS=[ID=OTSCSFE01-DS0,USED_MB=1505,TOTAL_MB=51175,FREE_MB=49670] DS=[ID=OTSCSFE01-DS1,USED_MB=1505,TOTAL_MB=51175,FREE_MB=49670] VM_POLL=YES [oneadmin@otscsfe01 vmware]$ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 0 system0M - - 0 sys -vmfs 1 default 249M 37% - 0 img vmfs vmfs 2 files50G 97% - 0 fil fs ssh [oneadmin@otscsfe01 vmware]$ tail /var/log/one/sched.log 0 0 Tue Sep 23 10:58:33 2014 [Z0][SCHED][D]: VM 0: Local Datastore 0 in Host 2 filtered out. Not enough capacity. Tue Sep 23 10:58:33 2014 [Z0][SCHED][I]: VM 0: No suitable System DS found for Host: 2. Filtering out host. Tue Sep 23 10:58:33 2014 [Z0][SCHED][D]: VM 0: Local Datastore 0 in Host 1 filtered out. Not enough capacity. Tue Sep 23 10:58:33 2014 [Z0][SCHED][I]: VM 0: No suitable System DS found for Host: 1. Filtering out host. Tue Sep 23 10:58:33 2014 [Z0][SCHED][D]: VM 0: Local Datastore 0 in Host 0 filtered out. Not enough capacity. Tue Sep 23 10:58:33 2014 [Z0][SCHED][I]: VM 0: No suitable System DS found for Host: 0. Filtering out host. Stan Yarbrough Chief Technology Officer Orion Technology Services 704-307-1633 600 Galleria Parkway SE | Suite 1450 Atlanta, Georgia 30339 stan.yarbro...@oriontech.com | www.oriontech.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -Original Message- From: Tino Vazquez [mailto:cvazq...@c12g.com] Sent: Tuesday, September 23, 2014 10:42 AM To: Stan Yarbrough Cc: users Subject: Re: [one-users] Fwd: 4.8 with vSphere single node datastores Hi Stan, Thanks for the detailed info. The installation seems correct, at least it doesn't explain why the driver is not been found. Let's try adding the ruby path, in the vi_driver.rb, add the following in line 39: $: . and try the monitoring again. Best, -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
Re: [one-users] Fwd: 4.8 with vSphere single node datastores
Hi Stan, Excellent. The monitoring is probably failing due to the name of the DS in the ESX host: On 23 September 2014 16:59, Stan Yarbrough stan.yarbro...@oriontech.com wrote: DS=[ID=NestedDS,USED_MB=892,TOTAL_MB=12800,FREE_MB=11908] DS=[ID=ITWNTAP01-VOL01,USED_MB=399858,TOTAL_MB=1802240,FREE_MB=1402382] DS=[ID=ITWNTAP01-VOL02,USED_MB=247948,TOTAL_MB=1781760,FREE_MB=1533812] DS=[ID=ITWNTAP01-VOL03,USED_MB=11529,TOTAL_MB=87142,FREE_MB=75613] DS=[ID=OTSCSFE01-DS0,USED_MB=1505,TOTAL_MB=51175,FREE_MB=49670] DS=[ID=OTSCSFE01-DS1,USED_MB=1505,TOTAL_MB=51175,FREE_MB=49670] The output should include two DS, one with ID=0 and another with ID=1. Best, -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. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] updated from 3.2 to 4.6
Yeah, thats the problem! at the end, I decide to unnistall ON3.2, update centos to last 6 estable and install again from rpm (with out ONE_LOCATION) Thanks Javi. El 23/09/14 15:12, Javier Fontan escribió: Make sure that PATH is not pointing to the old OpenNebula installation and ONE_LOCATION environment variable is unset. On Tue, Sep 23, 2014 at 8:59 AM, Alejandro Feijóo alfei...@cesga.es wrote: Hi. I have a VM that runn opennebula utils (onevm, onevnet, oneimage) from 3.2 version. This utils conect to Opennebula server that yesterday had a 4.6 version, and worked fine (conect using RPC) but now, we updated server to 4.8 and onevnet stop working (if a did a onevnet show ID_net) The problem: I decided to update to 4.8 the utils at MV, remember that 3.2 was installing using a tar.gz, but now we use a yum install opennebula. All was fine at VM, but after that... the Opennebula utils say that are a 3.2 version (I can see that using onevnet -h)... but rpm say that was installed 4.8 any idea? i think there are a problem at ruby or similar... Thanks in advance. -- Alejandro Feijóo Fraga Systems Technician CESGA ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Alejandro Feijóo Fraga Systems Technician CESGA ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] strange EC2 beahvior in 4.8
Hi Olivier, What about the image (280) permissions? Cheers On 24 September 2014 10:18, Olivier Sallou olivier.sal...@irisa.fr wrote: As more info, if I change the group ownership of the template to users instead of oneadmin it works. However, as Permissions to Use on Other are set, it should work. Olivier On 09/24/2014 10:16 AM, Olivier Sallou wrote: I have updated my config to use the EC2 templates in one instead of old template files. It works fine when I am the oneadmin user. However, when I am using an other user I have this error when I create a new VM: Unexpected server error. response.body is: ResponseRequestId/ErrorsErrorCodeInvalidInstanceAttributeValue.NotFound/CodeMessageInvalidInstanceAttributeValue.NotFound m1.small/Message/Error/Errors/Response The code is: response = ec2.run_instances( :image_id = 'ami-0280', :min_count = 1, :max_count = 1, :instance_type = 'm1.small', :user_data = user_data, :base64_encoded = true ) It works fine if I use the oneadmin credentials, but not for other users. m1.small is a template in one: TEMPLATE 143 INFORMATION ID : 143 NAME : m1.small USER : oneadmin GROUP : oneadmin REGISTER TIME : 09/23 10:26:52 PERMISSIONS OWNER : um- GROUP : u-- OTHER : u-- All users have USE right access. Any idea? Thanks Olviier -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list 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 | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] strange EC2 beahvior in 4.8
All users have use permissions on image. And as I said, template group ownership modification fix the issue... On 09/24/2014 01:06 PM, Daniel Molina wrote: Hi Olivier, What about the image (280) permissions? Cheers On 24 September 2014 10:18, Olivier Sallou olivier.sal...@irisa.fr mailto:olivier.sal...@irisa.fr wrote: As more info, if I change the group ownership of the template to users instead of oneadmin it works. However, as Permissions to Use on Other are set, it should work. Olivier On 09/24/2014 10:16 AM, Olivier Sallou wrote: I have updated my config to use the EC2 templates in one instead of old template files. It works fine when I am the oneadmin user. However, when I am using an other user I have this error when I create a new VM: Unexpected server error. response.body is: ResponseRequestId/ErrorsErrorCodeInvalidInstanceAttributeValue.NotFound/CodeMessageInvalidInstanceAttributeValue.NotFound m1.small/Message/Error/Errors/Response The code is: response = ec2.run_instances( :image_id = 'ami-0280', :min_count = 1, :max_count = 1, :instance_type = 'm1.small', :user_data = user_data, :base64_encoded = true ) It works fine if I use the oneadmin credentials, but not for other users. m1.small is a template in one: TEMPLATE 143 INFORMATION ID : 143 NAME : m1.small USER : oneadmin GROUP : oneadmin REGISTER TIME : 09/23 10:26:52 PERMISSIONS OWNER : um- GROUP : u-- OTHER : u-- All users have USE right access. Any idea? Thanks Olviier -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org http://keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ 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 -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] CentOS-7 mainline GenericCloud test image
Here is the problem. There is already a configuration file for eth0 that is configured for dhcp. When the system starts it tries to start network service but gives an error as there is no dhcp server. network.target is not started. The sshd service depends on network.target so it does not start. The way cloud-init configures the network is with ifup command. This configures the interface with the OpenNebula provided info but even if the network is up the service is not. This happens after the network service gives error. I see two ways to fix this: * Delete /etc/sysconfig/network-interfaces/ifcfg-eth0 * Add this patch to cloud-init to restart network service (the first lines are already in DataSourceOpenNebula.py, just added the start/stop network): --8-- # apply static network configuration only in 'local' dsmode if ('network-interfaces' in results and self.dsmode == local): LOG.debug(Updating network interfaces from %s, self) self.distro.apply_network(results['network-interfaces']) try: (out, _err) = util.subp([systemctl, stop, network]) (out, _err) = util.subp([systemctl, start, network]) except util.ProcessExecutionError: util.logexc(LOG, Restart network command failed) --8-- Another thing I would do is to delete the nameserver already configured in /etc/resolv.com: --8-- nameserver 10.0.2.3 --8-- Another thing I've noticed is that NetworkManager is no longer installed in the image. It was in previous versions. On Tue, Sep 23, 2014 at 3:46 PM, Javier Fontan jfon...@opennebula.org wrote: There is another bigger problem. I've found out that I had a DHCP server running in my machine. Deactivating it configures the IP correctly (can be pinged) but SSH is inaccessible (port closed?). It also adds the DNS configuration but there is already a nameserver in /etc/resolv.conf in the original image. Can you delete or make the file /etc/resolv.conf empty in the image? After restarting the VM it works correctly. I'm looking into the SSH problem. On Tue, Sep 23, 2014 at 3:28 PM, Javier Fontan jfon...@opennebula.org wrote: IP, hostname and SSH key configuration work but not DNS configuration. I think it worked in older versions of the image. Any change in the cloud-init code? On Fri, Sep 19, 2014 at 12:18 PM, Karanbir Singh mail-li...@karan.org wrote: hi, http://cloud.centos.org/centos/7/devel/CentOS-7-x86_64-GenericCloud-20140917_02.qcow2 sha256: 836934ff633a7c8accabe44a1196f0b89b4553c29fb270c7d44798000ea6f35a This is the last Release Candidate for the Generic cloud mainline image, these will be build and released monthly to include all security updates and bugfix's. These are compressed qcow2 images, with cloud-init and growpart utils installed, root logins are deprecated in favour of default 'centos' logins. Please test, and I will monitor this thread for comments. unless there is a major blocker, I will move to release this early next week. Please note : this is a common image, and repsents an identical footprint on all official centos images in public and private clouds. Regards and thanks for the work that Javier Fontan did to bring in the opennebula support to cloud-init, -- Karanbir Singh +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh GnuPG Key : http://www.karan.org/publickey.asc ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | @OpenNebula | github.com/jfontan -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | @OpenNebula | github.com/jfontan -- Javier Fontán Muiños Developer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Cannot create a VM snapshot
Hello, I have Opennebula 4.8 on CentOS 6.5. I have installed from the Marketplace CentOS 7 - KVM - OpenNebula 4.8 I am able to instantiate it and it runs fine. However, when I click on the running VM -- Snapshots -- Take snapshot, It doesn't get created and in the log there is this: --- log begin --- Wed Sep 24 17:13:41 2014 [Z0][DiM][I]: New VM state is ACTIVE. Wed Sep 24 17:13:41 2014 [Z0][LCM][I]: New VM state is PROLOG. Wed Sep 24 17:13:42 2014 [Z0][LCM][I]: New VM state is BOOT Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/61/deployment.0 Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0 Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: Successfully execute network driver operation: pre. Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0 Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: Successfully execute virtualization driver operation: deploy. Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0 Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: Successfully execute network driver operation: post. Wed Sep 24 17:13:43 2014 [Z0][LCM][I]: New VM state is RUNNING Wed Sep 24 17:15:05 2014 [Z0][VMM][I]: Command execution fail: 'if [ -x /var/tmp/one/vmm/kvm/snapshot_create ]; then /var/tmp/one/vmm/kvm/snapshot_create one-61 0 61 localhost; else exit 42; fi' Wed Sep 24 17:15:05 2014 [Z0][VMM][I]: Warning: Permanently added 'localhost' (RSA) to the list of known hosts. Wed Sep 24 17:15:05 2014 [Z0][VMM][I]: ExitCode: 42 Wed Sep 24 17:15:05 2014 [Z0][VMM][E]: Error creating new VM Snapshot --- log end --- Please, note that the image is from the Marketplace and is supposed to be qcow2, e.g. to support snapshots. I tried both with the image set to Persistent: no and Persistent: yes. I tried with both the image set to Type: OS and Type: DATABLOCK. What could be the problem? Thanks! -- Pavel Tankov ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Getting Ceph VM to boot--Re: Configuring Ceph datastore 4.6
Now have upgraded to opennebula 4.8.0 and still struggling with successfully launching a Ceph VM. We have worked out all permissions issues on the client host and in the Ceph datastore and have gotten to the point where opennebula can deploy the VM from RBD and the virtual machine starts.. but we get Geom Error on the console of the VM and that is all. Has anyone seen this error before and have any idea how to deal with it? I presume that it means that the virtual machine can not even find the boot sector of the disk that it sees as /dev/vda but I can't find any information on this error anywhere. Any help is appreciated. We are trying to replace an old san-gfs file store with Ceph but need better success than that if this is going to work. Steve Timm On Wed, 10 Sep 2014, Steven Timm wrote: The first and most obvious problem below was that we were running an old version of qemu-img and qemu-kvm that ships with RHEL6/Centos6/SL6 that doesn't support the rbd format. We were able to find a modified version that the Ceph people had back-ported and now we can import an image into the datastore and have gotten as far to getting a deployment.0 written on the hypervisor. It can't contact Ceph as yet, is getting connection refused but we think that is an authentication issue. http://ceph.com/packages/qemu-kvm/redhat/x86_64/ is where these packages for 6.2 live. Hopefully this all gets easier pretty soon now that RedHat has bought Ceph and all the right packages will be in RHEL7. Or will they be only proprietarily available in Redhat Enterprise Virtualization? Has anyone tried yet? Steve On Wed, 10 Sep 2014, Steven Timm wrote: I have configured a Ceph datastore on one 4.6 and have gotten as far as to get opennebula to accept the datastore. But when we try to do the first oneimage create into the datastore we get the following error in oned.log : Wed Sep 10 13:10:44 2014 [ImM][I]: Command execution fail: /var/lib/one/remotes/datastore/ceph/cp PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjE4PC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+Y2VwaHRlc3Q8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjA8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