[one-users] Which are your favourite open-source components to build clouds?
Dear OpenNebula users, Linux.com and The New Stack are doing a survey about what you think are the most popular open source cloud projects. Your choices will help identify and recognise the most popular open source projects that are defining the new way to build and manage applications and systems: http://www.linux.com/news/enterprise/cloud-computing/781062-survey-what-are-the-best-open-source-cloud-projects We hope you are enjoying your Lemon Slice! -- The OpenNebula Team -- 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] Genenare VM list
Hi Carlos, Thank you very much for the valuable information. I have done the changes in onevm_helper.rb to add new column “IP” and also added into default column list, but somehow it didn’t work for me. Anything I have missed? Appreciate if you can guide more on this. column :IP, IP address of VM, :size=4 do |d| d[IP] end default :IP, :USER, :GROUP, :NAME, :STAT, :UCPU, :UMEM, :HOST, :TIME end -- Regards, Anandharaj From: Carlos Martín Sánchez [mailto:cmar...@opennebula.org] Sent: Tuesday, July 15, 2014 9:14 PM To: Anandharaj Subramaniam Cc: users@lists.opennebula.org Subject: Re: [one-users] Genenare VM list Hi, On Thu, Jul 10, 2014 at 11:15 AM, Anandharaj Subramaniam anandharaj.man...@mimos.mymailto:anandharaj.man...@mimos.my wrote: Hi, I would like to have an inventory of all the VM running on OpenNebula. Running “onevm list” doesn’t not have all the info that I need. According to “onevm” help page (--list x y c ), I can define the column name but what are the columns available to define there? You have the --describe option for that: $ onevm list --describe ID : ONE identifier for Virtual Machine NAME: Name of the Virtual Machine USER: Username of the Virtual Machine owner GROUP : Group of the Virtual Machine STAT: Actual status UCPU: CPU percentage used by the VM UMEM: Memory used by the VM HOST: Host where the VM is running TIME: Time since the VM was submitted More or less, “onevm list” output is fine but I need the IP address as well (same as VM list in Sunstone) How can I achieve this? As you can see, the IP column does not exist. You can however customize the command easily. Take a look at /usr/lib/one/ruby/cli/one_helper/onevm_helper.rb, line 129 [1]. You can add a new column that shows the VM/TEMPLATE/NIC/IP filed. Use onevm show -x to see the VM object structure. Regards [1] https://github.com/OpenNebula/one/blob/one-4.6/src/cli/one_helper/onevm_helper.rb#L129 -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.orghttp://www.opennebula.org/ | cmar...@opennebula.orgmailto:cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebula DISCLAIMER: This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments). MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. -- - - DISCLAIMER: This e-mail (including any attachments) is for the addressee(s) only and may contain confidential information. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message. MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e- mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] DHCP
As far as I understand, GATEWAY, DNS and DHCP should be variables configured on the VNET template, and appart you have to set NETWORK=YES on the vm template. Then, each time a VM is instantiated from that VM template, it will automatically populate some variables that are ETH[n]_GATEWAY, ETH[n]_DHCP and ETH[n]_DNS with the variables you configured on the VNET templated. With the only one I'm not sure is the DNS, but the other ones you can find some informaton on the user guide, and some more on the admin guide. Best regards,Diego M. Date: Wed, 23 Jul 2014 12:45:15 -0700 From: kerryh...@gmail.com To: users@lists.opennebula.org Subject: Re: [one-users] DHCP I have managed to figure out how to edit my template (onetemplate update TEMPLATE_ID) so I can now set the hostname. However, DNS and DHCP are tied into one system on my network, so I can't perform a dig on my new server and get the IP back. I just need to know what lines to add to my template file to get my vms to use DHCP only. I'm sure it's something really simple, I just can't find any info here: http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html If you know how to get DHCP working, please let me know. Thank you!! On Tue, Jul 22, 2014 at 3:48 PM, kerryhall . kerryh...@gmail.com wrote: Hi folks, I want to configure Open Nebula to contextualize two items for ifcfg-eth0. BOOTPROTO=dhcp and DHCP_HOSTNAME=parameter passed in via ONE web interface, even just vm-name would work I need no other networking settings. DHCP on my network handles the rest. I have tried manually setting these two parameters in ifcfg-eth0 and it looks like it works. (Although the new IP given via DHCP doesn't match the original IP) Is this possible to do in ONE? If so, where do I start? Thanks! Kerry ___ 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] DHCP
Hello Kerry, When you say DNS and DHCP are tied into one system on my network you mean your DNS server is configured with a dynamic zone that is updated from the DHCP server? If that is so, I guess you want a VM to acquire a lease from the DHCP server equal to the IP given by OpenNebula to that specific VM. This way it maintains consistency. If you populate CONTEXT with NETWORK=YES, the contextualization packages will do the job of configuring the network. As far as I know it's not possible to tell the contextualization packages to leave the network unconfigured. So using this approach would not get you where you want. One way of achieving what you desire is to program a hook that inserts a host in the DHCP server via OMAPI [1]. From the hook you have access to the entire template. I am assuming you are using ISC DHCP. This would solve the consistency issue. Now the VM needs to be configured for DHCP as you mentioned in your previous E-Mail. For that you can define SET_HOSTNAME in the CONTEXT to have it available in the VM, create a simple (bash) program that reads it and sets ifcfg-eth0 accordingly. Put the script in the files datastore and update the context to use it via FILES_DS and INIT_SCRIPTS. For example you name your super script set_dhcp.sh. You can insert in the files datastore [2] using `oneimage create -d files --name set_dhcp.sh --type CONTEXT /path/to/set_dhcp.sh`. Update the template to use it. CONTEXT=[ FILES_DS=$FILE[IMAGE=\set_dhcp.sh\, INIT_SCRIPTS=set_dhcp.sh] This way the vmcontext init.d script from the contextualization packages would skip the network configuration, note NETWORK=YES is missing and it would run the set_dhcp.sh script. One more thing that comes to mind, SET_HOSTNAME would instruct the vmcontext init script to set the hostname and maybe that's not what you want, maybe you want your VM to set it's hostname from DHCP. In this case use another variable, like DHCP_HOSTNAME in CONTEXT and process it in set_dhcp.sh to configure ifcfg-eth0. You can set DHCP_HOSTNAME=$NAME inside the template. This way the name you give the VM in Sunstone would end up being used. Take the above with a grain of salt, I am sure there are other (better) ways of achieving what you desire. @Diego could you please point me where have you find DHCP in the VNET template? I have looked over the docs and couldn't find it. [1]: http://ipamworldwide.com/dhcp-api.html [2]: http://docs.opennebula.org/4.6/administration/storage/file_ds.html Best, Valentin On Wed, Jul 23, 2014 at 10:45 PM, kerryhall . kerryh...@gmail.com wrote: I have managed to figure out how to edit my template (onetemplate update TEMPLATE_ID) so I can now set the hostname. However, DNS and DHCP are tied into one system on my network, so I can't perform a dig on my new server and get the IP back. I just need to know what lines to add to my template file to get my vms to use DHCP only. I'm sure it's something really simple, I just can't find any info here: http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html If you know how to get DHCP working, please let me know. Thank you!! On Tue, Jul 22, 2014 at 3:48 PM, kerryhall . kerryh...@gmail.com wrote: Hi folks, I want to configure Open Nebula to contextualize two items for ifcfg-eth0. BOOTPROTO=dhcp and DHCP_HOSTNAME=parameter passed in via ONE web interface, even just vm-name would work I need no other networking settings. DHCP on my network handles the rest. I have tried manually setting these two parameters in ifcfg-eth0 and it looks like it works. (Although the new IP given via DHCP doesn't match the original IP) Is this possible to do in ONE? If so, where do I start? Thanks! Kerry ___ 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] VNC proxy is working but Sustone VNC window does show error
Hello Paweł, Maybe your issue is somehow connected to the Same-Origin-Policy discussed in the following thread: http://lists.opennebula.org/pipermail/users-opennebula.org/2014-February/026405.html Best, Valentin On Wed, Jul 23, 2014 at 4:16 PM, Daniel Molina dmol...@opennebula.org wrote: On 22 July 2014 16:44, pawel.orzechow...@budikom.net wrote: I had similar situation. When I switched on secure websockets connection in my profile settings I could not open VNC connection to any virtual machine. Isn't it a bug? What is the error message that is shown in Susntone? Cheers Pawel I have found my mistake! It was silly - Some time ago I pressed Secure websockets connection chekbox in configuration tab and forgot about it. So now it's working! THANK YOU. 23.08.2012, 17:17, Пярн Артур dekkart at yandex.ru http://lists.opennebula.org/listinfo.cgi/users-opennebula.org: * If I go direclty from browser to http://10.18.1.7:35792/ http://10.18.1.7:35792/ ** it shows me in websockify output the following message: Normal web request received but disallowed ** 23.08.2012, 16:54, Пярн Артур dekkart at yandex.ru http://lists.opennebula.org/listinfo.cgi/users-opennebula.org: ** Just in case, my configuration: ** 10.2.2.2 - KVM host with VMs ** 10.18.1.7 - only OpenNebula and Sunstone front-end ** * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 http://10.2.2.2:5916 for example) with a standard vnc client ** Yes, with no problem ** If I start proxy manualy /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 http://10.2.2.2:5916, I can't connetct from VNC client to 10.18.1.7:35792 http://10.18.1.7:35792, it shows me ignoring socket not ready: ** root at ubuntu http://lists.opennebula.org/listinfo.cgi/users-opennebula.org:/srv/cloud/one/share/noVNC/utils# /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 http://10.2.2.2:5916 ** WARNING: no 'numpy' module, HyBi protocol is slower or disabled ** WebSocket server settings: **- Listen on :35792 **- Flash security policy server **- No SSL/TLS support (no cert file) **- proxying from :35792 to 10.2.2.2:5916 http://10.2.2.2:5916 **1: 10.2.0.3 http://10.2.0.3: ignoring socket not ready **2: 10.2.0.3 http://10.2.0.3: ignoring socket not ready ** I found that I can connect to 10.18.1.7 http://10.18.1.7: 35792 from browser (http://10.18.1.7:6080/vnc.html http://10.18.1.7:6080/vnc.html) when I start both launch.sh script and also websockify 35792 10.2.2.2:5916 http://10.2.2.2:5916 ** 23.08.2012, 16:20, Hector Sanjuan hsanjuan at opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org: ** Your working screenshot shows a VNC session to a VM deployed in the same ** host as the sunstone frontend (10.18.1.7:6080 http://10.18.1.7:6080), but from sunstone you are ** trying to open connections to VMs in a different host (10.2.2.2). My ** questions then, ** * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 http://10.2.2.2:5916 for ** example) with a standard vnc client ** * If you manually launch the proxy with the webserver option like you did, ** would something like ** http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 work? This should ** not work if sunstone doesnt. Perhaps you can get some useful info from the ** websockify stdout when attempting it if it doesnt work. ** (in response to your latest email, dont worry about the timeout thing) ** Hector ** En Thu, 23 Aug 2012 14:08:05 +0200, Пярн Артур dekkart at yandex.ru http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ** escribió: **Sure, logs below. sunstone.error is empty. It's our DEMO network, no **firewall, so no way. **-- ** Server configuration **-- **{:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify, ** :auth=sunstone, ** :vnc_proxy_key=nil, ** :vnc_proxy_support_wss=false, ** :debug_level=3, ** :vnc_proxy_base_port=29876, ** :host=0.0.0.0, ** :port=, ** :one_xmlrpc=http://localhost:2633/RPC2 http://localhost:2633/RPC2, ** :core_auth=cipher, ** :lang=en_US, ** :vnc_proxy_cert=nil} **== Sinatra/1.3.2 has taken the stage on for development with backup **from Thin **Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET / **HTTP/1.1 200 1595 0.0075 **Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET **/css/login.css HTTP/1.1 304 - 0.0022 **Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:43] GET **/vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 304 - 0.0023 **Thu Aug 23 12:04:43 2012 [I]: 10.2.0.3 - - [23/Aug/2012