Re: [one-users] hardware requirements
Hello Cyrill, When you say hardware requirements are you referring to the OpenNebula frontend node and/or compute nodes? The best answer I can find is 'it depends' :). I have a couple of OpenNebula deployments in the wild and I will tell you what kind of hardware I use. Most probably others have different configurations. 16GB RAM, Intel Quad Core CPU, 1 TB Storage space - Frontend 16GB RAM, Intel Quad Core CPU, 1 TB Storage space - Compute Node 32GB RAM, Intel Quad Core CPU, 2 TB Storage space - Frontend 32GB RAM, Intel Quad Core CPU, 2 TB Storage space - Compute Node 24GB RAM, Intel Quad Core CPU, 2 TB Storage space - Frontend 24GB RAM, Intel Quad Core CPU, 2 TB Storage space - Compute Node I don't make the Frontend a compute node also because it also has SaltStack Master installed and I don't want the services on the Frontend node to be slow because of virtual workload on top of them. I think it depends on what kind of services you plan to run on top of your Cloud when you choose the hardware configuration. Best, Valentin On Sun, Oct 12, 2014 at 3:23 PM, Cyrill Häfeli i...@cyle.ch wrote: Valentin Can you assist me with documentation to hardware requirements? Cyrill *Von:* Sudeep Narayan Banerjee [mailto:snbaner...@iitgn.ac.in] *Gesendet:* Friday, October 10, 2014 5:12 PM *An:* Cyrill Häfeli; Valentin Bud *Betreff:* Re: [one-users] hardware requirements Dear Cyrill, I am looping Valentin who has helped me a lot. Dear Valentin, Please help Cyrill. Regards, Sudeep On Fri, Oct 10, 2014 at 7:18 PM, Cyrill Häfeli i...@cyle.ch wrote: HI Sudeep, Thanks very helpful, but i need something written. To compare vendors. Do you know where I can found these? Best Cyrill *Von:* Sudeep Narayan Banerjee [mailto:snbaner...@iitgn.ac.in] *Gesendet:* Friday, October 10, 2014 2:51 PM *An:* Cyrill Häfeli *Betreff:* Re: [one-users] hardware requirements If you want to make it on 2 nodes(that is, one frontend other worker node) then, you can have i7 processors, 4-8GB RAM, 500GB HDD setup a bridge network. With CentOS6.x as OS The above specs I have used for my pilot project On Fri, Oct 10, 2014 at 5:45 PM, Cyrill Häfeli i...@cyle.ch wrote: Hi Sudeep I know this guide, but there is no hardware requirements included. -Cyrill *Von:* Sudeep Narayan Banerjee [mailto:snbaner...@iitgn.ac.in] *Gesendet:* Friday, October 10, 2014 2:07 PM *An:* i...@cyle.ch *Betreff:* Re: [one-users] hardware requirements PFA On Fri, Oct 10, 2014 at 4:38 PM, i...@cyle.ch wrote: Where can i find a list of hardware requirements to setup an OpenNebula Private Cloud, e.g CPU, Storage capacity, network..? -Cyrill ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Thanks Regards, Sudeep Narayan Banerjee -- Thanks Regards, Sudeep Narayan Banerjee -- Thanks Regards, Sudeep Narayan Banerjee ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Fwd: Re: Images backup
Hello Carlos No right to install the xpath package I am developing a python script .. Thanks you for giving to me the light best regards bruno Le 13/10/2014 15:06, Carlos Martín Sánchez a écrit : Hi, On Thu, Oct 9, 2014 at 11:35 AM, Bruno Grandjean bruno.grandj...@mife90.org mailto:bruno.grandj...@mife90.org wrote: Hi Carlos Thanks a lot for replying to me so quickly In fact I would like to cron the backup with a simple script: # create hot snap from the running VM $ onevm snapshot-create 68 My initial image is already persistent But how can I manage and especially delete the succesive snapshots? For instance I would like to remove the snapshots older than 1 week Is that possible to do that? thanks in advance, Bruno Each snapshot has a timestamp, so it's easy to find them in your cron script with xpath. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org mailto:cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Fwd: Re: Images backup
Hello Bruno, I think Carlos was referring to the xpath.rb script from inside OpenNebula [1]. And you can use that script in a bash program to achieve what you desire. You can find an example at [2]. Python is great and it's easy to hit the XML-RPC API to achieve pretty much everything you want :). [1]: https://github.com/OpenNebula/one/blob/master/src/datastore_mad/remotes/xpath.rb [2]: https://github.com/OpenNebula/one/blob/master/src/datastore_mad/remotes/fs/cp Best, Valentin On Tue, Oct 14, 2014 at 10:03 AM, Bruno Grandjean bruno.grandj...@mife90.org wrote: Hello Carlos No right to install the xpath package I am developing a python script .. Thanks you for giving to me the light best regards bruno Le 13/10/2014 15:06, Carlos Martín Sánchez a écrit : Hi, On Thu, Oct 9, 2014 at 11:35 AM, Bruno Grandjean bruno.grandj...@mife90.org wrote: Hi Carlos Thanks a lot for replying to me so quickly In fact I would like to cron the backup with a simple script: # create hot snap from the running VM $ onevm snapshot-create 68 My initial image is already persistent But how can I manage and especially delete the succesive snapshots? For instance I would like to remove the snapshots older than 1 week Is that possible to do that? thanks in advance, Bruno Each snapshot has a timestamp, so it's easy to find them in your cron script with xpath. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula ___ 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] problem with user-view in sunstone 4.8
cool !! so fine issue resolved good job Daniel thank you for your support ira El 06/10/2014, a les 11:14, Daniel Molina dmol...@opennebula.org va escriure: Hi, Could you try adding the following line to the files-tab.js file? https://github.com/OpenNebula/one/commit/1dabebb84829732fdac84d7055dee17a0045c033#diff-51d4b00f711385d3e847685c14216863R129 Cheers On 6 October 2014 10:40, I Ribot ri...@uv.es wrote: good morning … yes!, I get a Uncaught ReferenceError Uncaught ReferenceError: size_files is not definedfiles-tab.js?v=4.8.0:403 fileElementArray files-tab.js?v=4.8.0:403 (anonymous function) templates-tab.js?v=4.8.0:1161 n.extend.eachjquery-2.1.1.min.js?v=4.8.0:2 OpenNebula.Image.list.successtemplates-tab.js?v=4.8.0:1160 OpenNebula.Action.list opennebula.js?v=4.8.0:407 OpenNebula.Image.listopennebula.js?v=4.8.0:1217 update_datatable_template_files templates-tab.js?v=4.8.0:1155 setup_os_tab_content templates-tab.js?v=4.8.0:2963 initialize_create_template_dialogtemplates-tab.js?v=4.8.0:3572 setupCreateTemplateDialogtemplates-tab.js?v=4.8.0:3543 popUpCreateTemplateDialogtemplates-tab.js?v=4.8.0:3864 Sunstone.runAction sunstone.js?v=4.8.0:338 (anonymous function) sunstone.js?v=4.8.0:4477 n.event.dispatch jquery-2.1.1.min.js?v=4.8.0:3 r.handle jquery-2.1.1.min.js?v=4.8.0:3 thank you very much for your support ira El 02/10/2014, a les 11:15, Daniel Molina dmol...@opennebula.org va escriure: Hi, On 30 September 2014 17:28, I Ribot ri...@uv.es wrote: Hi ... We just upgraded from 4.6.2 to 4.8.0 (with Debian packages from opennebula repositories) All seems to work fine, but: - logging in as non-privileged user with a user-view in Sunstone - pushing the create template button (green + inside the template tab, of course) nothing happens trying to investigate we found that: - selecting one created template - pushing the 'Update' button nothing happens but if we press the 'Template' button of the selected template, we see its info (as expected), and then the 'Update' button works. We don't have that problem with oneadmin user. can you help us? Thank you Could you check if there is any error in the browser console? Cheers IRA ___ 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 -- -- 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
[one-users] oneflow patch not work
Hi. today i tried to patch oneflow as Carlos said at: http://dev.opennebula.org/issues/3177 [code] $.each(service_template_json.DOCUMENT.TEMPLATE.BODY.roles, function(index, role){ var div_id = user_input_role_+index; tmp_json = {}; retrieveWizardFields($(#+div_id, dialog), tmp_json); // alfeijoo // $.each(role.elasticity_policies, function(i, pol){ pol.expression = htmlDecode(pol.expression); }); // alfeijoo // role.user_inputs_values = tmp_json; extra_info.merge_template.roles.push(role); }); [/code] --- but the problems remain.. something that i did wrong? 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
Re: [one-users] oneflow patch not work
Hi Alejandro, this patch has worked for me. Restart sunstone-server after apply the patch Xavi. On October 14, 2014 at 12:58 PM Alejandro Feijóo alfei...@cesga.es wrote: Hi. today i tried to patch oneflow as Carlos said at: http://dev.opennebula.org/issues/3177 [code] $.each(service_template_json.DOCUMENT.TEMPLATE.BODY.roles, function(index, role){ var div_id = user_input_role_+index; tmp_json = {}; retrieveWizardFields($(#+div_id, dialog), tmp_json); // alfeijoo // $.each(role.elasticity_policies, function(i, pol){ pol.expression = htmlDecode(pol.expression); }); // alfeijoo // role.user_inputs_values = tmp_json; extra_info.merge_template.roles.push(role); }); [/code] --- but the problems remain.. something that i did wrong? 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 -- .. Xavier Peralta Ramos Unitat d'Operacions i Seguretat Consorci de Serveis Universitaris de Catalunya (CSUC) Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona T. T 93 205 6464· F. 93 205 6979 · xavier.pera...@csuc.cat ..___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Typo Mistake in 4.8 Template Documentation
Hello Everyone, There seems to be a typing error in the 4.8 template section documentation.[1] [1] http://docs.opennebula.org/4.8/user/references/template.html Under *DISK SECTION :* *Persistent and clone disk / volatile disk * I/O throttling attributes TOTAL_BYTES_SEC READ_BYTES_SEC WRITE_BYTES_SEC TOTAL_IOPS_SEC READ_IOPS_SEC *WRITE_BYTES_SEC* It should be *WRITE_IOPS_SEC* Regards Kiran Ranjane ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] oneflow patch not work
Hi Xavi. Yes service was restarted after that. The problem is on templates (oneflow ) that i created at 4.6 opennebula version... in that templates is not possible for me instantiate... but... creating new all fine! Thanks! pd: I think im going to see you tomorrow through skype ;) El 14/10/14 13:19, Xavier Peralta escribió: Hi Alejandro, this patch has worked for me. Restart sunstone-server after apply the patch Xavi. On October 14, 2014 at 12:58 PM Alejandro Feijóo alfei...@cesga.es wrote: Hi. today i tried to patch oneflow as Carlos said at: http://dev.opennebula.org/issues/3177 [code] $.each(service_template_json.DOCUMENT.TEMPLATE.BODY.roles, function(index, role){ var div_id = user_input_role_+index; tmp_json = {}; retrieveWizardFields($(#+div_id, dialog), tmp_json); // alfeijoo // $.each(role.elasticity_policies, function(i, pol){ pol.expression = htmlDecode(pol.expression); }); // alfeijoo // role.user_inputs_values = tmp_json; extra_info.merge_template.roles.push(role); }); [/code] --- but the problems remain.. something that i did wrong? 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 -- .. Xavier Peralta Ramos Unitat d'Operacions i Seguretat Consorci de Serveis Universitaris de Catalunya (CSUC) Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona T. T 93 205 6464· F. 93 205 6979 · xavier.pera...@csuc.cat .. -- Alejandro Feijóo Fraga Systems Technician CESGA ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] LDAP Authentication with TLS
Hello, I have Opennebula 4.8 and OpenLDAP 2.4.23 on a CentOS 6.5. I followed the doc [1] and succeeded in getting LDAP users to log on the Sunstone UI. Then I made my OpenLDAP accept TLS connections only and can't connect anymore. The documentation [1] says: Considerations Limitations LDAP auth driver has a bug that does not let it connect to TLS LDAP instances. A patch is available in the bug issue [2] to fix this. The fix will be applied in future releases. However, the bug [2] is fixed by Javi Fontan almost 2 years ago. He said in his commit message: I've applied the patch mostly verbatim. Thanks! So, is the documentation for 4.8 wrong or is this limitation still valid now? Thanks! [1] http://docs.opennebula.org/4.8/administration/authentication/ldap.html [2] http://dev.opennebula.org/issues/1171 -- Pavel Tankov ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] User within LDAP group authentication
On 10/10/2014 02:42 PM, Manuel Alfonso López Rourich wrote: Hello, Thank you very much for your so quickly response, but I would prefer not to change any OpenNebula script. Anyway, I wonder why that simple configuration doesn't work. Could someone who has integrated OpenLDAP groups with OpenNebula let us know his configuration and OpenLDAP entry types? this is very simple change :) I believe the objecClass: groupofnames in openLDAP will work with current opennebula implementation. cheers, marcin Thank you very much Best regards 2014-10-08 12:42 GMT+02:00 Marcin Stolarek ms...@icm.edu.pl mailto:ms...@icm.edu.pl: On 10/08/2014 12:32 PM, Manuel Alfonso López Rourich wrote: Good morning, I'd like to ask you about an issue with user authentication in SunStone: I've configured SunStone so that new users from an OpenLDAP directory can log in (the user is created automatically in OpenNebula). It works fine but when I configure *:group* in *ldap_auth.conf*, I can't authenticate new users within a LDAP group. The error that ONE throws is clear (*User ulopez is not in group cn=grupo_nuevo,ou=ou_nueva,dc=__one,dc=es*) but I don't know what could be do so that it works. The documentation about LDAP groups with ONE is not very clear for me. The LDAP configuration is: server 1: :auth_method: :simple :host: 10.12.0.3 :port: 389 :base: 'dc=one,dc=es' # group the users need to belong to. If not set any user will do :group: 'cn=grupo_nuevo,ou=ou_nueva,__dc=one,dc=es' # field that holds the user name, if not set 'cn' will be used :user_field: 'uid' # field name for group membership, by default it is 'member' :group_field: 'memberUid' # user field that that is in in the group group_field, if not set 'dn' will be used #user_group_field: 'gidNumber' The directory entry for the group is the next one: # extended LDIF # # LDAPv3 # base cn=grupo_nuevo,ou=ou_nueva,__dc=one,dc=es with scope subtree # filter: (objectclass=*) # requesting: ALL # # grupo_nuevo, ou_nueva, one.es http://one.es http://one.es dn: cn=grupo_nuevo,ou=ou_nueva,dc=__one,dc=es gidNumber: 503 cn: grupo_nuevo objectClass: posixGroup objectClass: top memberUid: ulopez # us_nuevo_lopez, grupo_nuevo, ou_nueva, one.es http://one.es http://one.es dn: cn=us_nuevo_lopez,cn=grupo___nuevo,ou=ou_nueva,dc=one,dc=es givenName: us_nuevo gidNumber: 503 homeDirectory: /home/users/ulopez sn: lopez loginShell: /bin/sh objectClass: inetOrgPerson objectClass: posixAccount objectClass: top uidNumber: 1009 uid: ulopez cn: us_nuevo_lopez Thank you very much, Best regards _ Users mailing list Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/__listinfo.cgi/users-opennebula.__org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org Currently openebula supports only scheme with listofmembers (not sure if haven't make a mistake in name) objecClass. You can use my patch: https://github.com/cinek810/__one/commit/__925a124c96018aa8b4b44805aafa76__280830a461 https://github.com/cinek810/one/commit/925a124c96018aa8b4b44805aafa76280830a461 to support groups in memberUid format. cheers, marcin _ Users mailing list Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/__listinfo.cgi/users-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] Cloud View with Persistent Image
Quoting Ruben S. Montero (rsmont...@opennebula.org): Hi These two are on our radar and probably scheduled for the next release. I totally agree that we need to simplify the provision process even more. About feature 1. We have two issues: [1] Clone a running VM. http://dev.opennebula.org/issues/2637 [2] Clone a template . http://dev.opennebula.org/issues/2051 Last one includes images (pretty much the procedure outlined by Anandharaj under New VM request) and I think this will cover exactly your request. About feature 2. We want to add the ability to update any part of a template for VM, most of it can be done if the VM is running (eg. attach a new disk or nic). Others like memory can be resized when the VM is powered off. You would not need to update and recreate the template. [3] http://dev.opennebula.org/issues/2065 It would be nice if some actions could be suspended until the desired state has been reached. This would give you the possibility to perform for example resize actions (change (v)CPU, RAM, etc.) and have them be applied later, after the VM changes state: running - poweroff - running. Similar to the Some changes may require a guest shutdown to take effect. message of virt-manager. You can then schedule a power cycle to have the VM resized when convenient (midnight for example). Sure you could script this as (one)admin but for an end user this is more convenient. Gr. Stefan -- | BIT BV http://www.bit.nl/Kamer van Koophandel 09090351 | GPG: 0xD14839C6 +31 318 648 688 / i...@bit.nl ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] VM stuck - what to do?
Hello, I have a VM which is in the following state in Sunstone: State ACTIVE LCM State SHUTDOWN I can't reach it through IP so it must be somehow stuck but the problem is that Sunstone does not allow me to boot or reboot it. I always get the following error message: [VirtualMachineAction] Wrong state to perform action resume [VirtualMachineAction] Wrong state to perform action reboot-hard etc... What can I do to get this VM back up and running? Thanks! ML ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org