Re: [one-users] ubuntu 14.04 as image - no network on first boot
Hi Javier, Am 23.04.2014 um 21:18 schrieb Javier Fontan jfon...@opennebula.org: Network restart is not supported in ubuntu. There is new code to overcome this issue but we are still testing the packages. A package with the latest code is attached if you want to try. You can install it over the previous version. I run into the same problem today and tried to figure out what could be a way also to included fixed interfaces configured in /etc/network/interfaces.d. So, I slightly changed at the end of 00-network (from configure_network on) == snip == configure_network() { gen_network_configuration /etc/network/interfaces echo source /etc/network/interfaces.d/*.cfg /etc/network/interfaces } deactivate_network() { . /etc/os-release if [ $ID = ubuntu ]; then IFACES=`/sbin/ifquery -la` for i in $IFACES; do DEV=`get_dev $i` /sbin/ifdown $i done else service networking stop fi } activate_network() { . /etc/os-release if [ $ID = ubuntu ]; then IFACES=`/sbin/ifquery -la` for i in $IFACES; do DEV=`get_dev $i` /sbin/ifup $i done else service networking stop sleep 1 service networking start fi sleep 2 } deactivate_network configure_network activate_network == snip == That works fine for me - especially in a mixed setup where I want to use the context on the one hand, but have the need to configure alias interfaces on the other hand (which is only handy on a VM with a fixed configuration). What I did not check yet if that influences somehow any other kind of package (relying on existing interfaces) Best, Michael On Wed, Apr 23, 2014 at 8:26 PM, ML mail mlnos...@yahoo.com wrote: Hello, I just generated a KVM qcow2 image for the new Ubuntu Server 14.04 LTS release. I usually prepare my images by simply installing the the ONE context package (http://dev.opennebula.org/attachments/download/768/one-context_4.5.0.deb) which I also did for this image. Now when I deploy a VM using this image on the very first boot the network is not working, although the /etc/network/interafaces gets correctly setup by the ONE context package an ifconfig eth0 shows no IP addresses assigned to the interface. Also a service networking restart does not work. The only workaround I found for now is to reboot the VM, then networking works correctly. Is it possible that this is an issue related to the ONE context package? or simply some new networking code that Ubuntu 14.04 might have added or modified? Regards ML ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan one-context_4.5.85.deb___ 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] Virtual machine vlan tagging
Quoting Neil Schneider (n...@ifxonline.com): I'm running OpenNebula in a virtual machine using openvswitch to connect the machines. I've tried creating a virtual network in libvirt attached to the bridge device then attached to it. I tried configuring with the network interfaces connected directly to the bridge. I keep running into a problem, where the virtual machine wants to add it's own tag to the interface. I've been googling 'till I'm blue in the face and I can't seem to find why vlan tags are getting attached to the devices without me configuring them and it's ignoring any vlan tags I try to impose. Here's what ovs-vsctl shows me. ovs-vsctl show c6def17d-2cc6-499e-a461-af4fe9aab78a Bridge management Port veth1_one tag: 1 Interface veth1_one Port management Interface management type: internal Port vlan10 tag: 10 Interface vlan10 type: internal Bridge storage Port storage Interface storage type: internal Port vlan20 tag: 20 Interface vlan20 type: internal Port veth2_one tag: 2 Interface veth2_one Bridge public Port vnet0 Interface vnet0 Port veth3_one Interface veth3_one Port em1 Interface em1 Port public Interface public type: internal ovs_version: 2.1.0 veth1_one and veth2_one are interfaces on the virtual machine. Notice the tags. I have that configured no where and I can't seem to find where it's coming from. Of course it keeps the virtual machines from communicating. The interface that has no vlan associated with it works as expected. It's the two other interfaces designated management and storage that I'm having issues with. I sure could use some help finding why this is happening. I don't mind having vlan tags associated, but I want to determine what they are. I would do this a little bit different. Instead of handling virtual networking yourselve, let libvirt do it for you. I attached management.xml and storage.xml livirt virtual networking definitions. You can enable them like this: virsh net-define /path/to/definition.xml. management is in vlan 10, storage in vlan 20. Start the networks: virsh net-start management, virsh net-start storage. And let's make them auto-started: virsh net-autostart management, virsh net-autostart storage. Know in your vm definition do the following (virsh edit vm_name): Example for managment interface: interface type='bridge' mac address='52:54:00:99:7b:d8'/ source network='management' portgroup='vlan10'/ virtualport type='openvswitch' /virtualport model type='virtio'/ address type='pci' domain='0x' bus='0x00' slot='0x03' function='0x0'/ /interface For storage interface: Example for storage interface: interface type='bridge' mac address='52:54:00:99:7b:d9'/ source network='storage' portgroup='vlan20'/ virtualport type='openvswitch' /virtualport model type='virtio'/ address type='pci' domain='0x' bus='0x00' slot='0x03' function='0x0'/ /interface You should know have your virtual interfaces in the right network with the right vlan tag. Gr. Stefan -- | BIT BV http://www.bit.nl/Kamer van Koophandel 09090351 | GPG: 0xD14839C6 +31 318 648 688 / i...@bit.nl management.xml Description: XML document storage.xml Description: XML document ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Live migration leads to UNKNOWM state
I`m running OpenNebula + CEPH + KVM. When I try to make live migration from one host to other everything looks good, no have errors, process is running on right host but Virtual machine go to UNKNOWN state(RUNNING(host1) - MIGRATE - RUNNING(host2) - UNKNOWN(host2)). In vm log I see this: VM running but it was not found. Boot and delete actions available or try to recover it manually, New VM state is UNKNOWN. About my configuration: Ceph datastore: ID 101 Nameceph_data Cluster SunSystem Base path /var/lib/one/datastores/101 Capacity Total 36.4TB Used3.4TB Free33TB Limit - System datastores: system /var/lib/one//datastores/0 SHARED NO TM_MAD ssh TYPESYSTEM_DS system_mc /var/lib/one//datastores/102 SHARED NO TM_MAD ssh TYPESYSTEM_DS VM LOG: Thu Apr 24 12:15:49 2014 [LCM][I]: New VM state is MIGRATE Thu Apr 24 12:15:49 2014 [VMM][I]: Successfully execute transfer manager driver operation: tm_premigrate. Thu Apr 24 12:15:49 2014 [VMM][I]: ExitCode: 0 Thu Apr 24 12:15:49 2014 [VMM][I]: Successfully execute network driver operation: pre. Thu Apr 24 12:15:55 2014 [VMM][I]: ExitCode: 0 Thu Apr 24 12:15:55 2014 [VMM][I]: Successfully execute virtualization driver operation: migrate. Thu Apr 24 12:15:55 2014 [VMM][I]: ExitCode: 0 Thu Apr 24 12:15:55 2014 [VMM][I]: Successfully execute network driver operation: clean. Thu Apr 24 12:15:55 2014 [VMM][I]: ExitCode: 0 Thu Apr 24 12:15:55 2014 [VMM][I]: Successfully execute network driver operation: post. Thu Apr 24 12:15:55 2014 [VMM][I]: Successfully execute transfer manager driver operation: tm_postmigrate. Thu Apr 24 12:15:55 2014 [LCM][I]: New VM state is RUNNING Thu Apr 24 12:16:04 2014 [VMM][I]: VM running but it was not found. Boot and delete actions available or try to recover it manually Thu Apr 24 12:16:04 2014 [LCM][I]: New VM state is UNKNOWN Version of OpenNebula 4.4.1 CONFIDENTIALITY NOTICE The information contained in this message (including any attachments) is confidential and may be legally privileged or otherwise protected from disclosure. This message is intended solely for the addressee(s). If you are not the intended recipient, please notify the sender by return e-mail and delete this message from your system. Any unauthorised use, reproduction, or dissemination of this message is strictly prohibited. Any liability arising from any third party acting, or refraining from acting, on any information contained in this e-mail is hereby excluded. Please note that e-mails are susceptible to change. Max Telecom shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor shall it be liable for any delay in its receipt. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Cannot remove disk/nic from VM template wizard
Hi, On Wed, Apr 23, 2014 at 8:20 PM, Rolandas Naujikas rolandas.nauji...@mif.vu.lt wrote: Hi, I cannot remove added disk or nic in VM template creation wizard. Regards, Rolandas Fixed [1], thank you! [1] https://github.com/OpenNebula/one/commit/fd4d7f04f8a14aa94f95273daf431a55e9135d63 -- 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 cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] ubuntu 14.04 as image - no network on first boot
Hi Javier, I tried the one-context package (v4.5.85) you attached with a new Ubuntu 14.04 image but unfortunately the same issue: upon first boot the network is not working, only after a restart is the network available. Regards ML On Wednesday, April 23, 2014 9:18 PM, Javier Fontan jfon...@opennebula.org wrote: Network restart is not supported in ubuntu. There is new code to overcome this issue but we are still testing the packages. A package with the latest code is attached if you want to try. You can install it over the previous version. On Wed, Apr 23, 2014 at 8:26 PM, ML mail mlnos...@yahoo.com wrote: Hello, I just generated a KVM qcow2 image for the new Ubuntu Server 14.04 LTS release. I usually prepare my images by simply installing the the ONE context package (http://dev.opennebula.org/attachments/download/768/one-context_4.5.0.deb) which I also did for this image. Now when I deploy a VM using this image on the very first boot the network is not working, although the /etc/network/interafaces gets correctly setup by the ONE context package an ifconfig eth0 shows no IP addresses assigned to the interface. Also a service networking restart does not work. The only workaround I found for now is to reboot the VM, then networking works correctly. Is it possible that this is an issue related to the ONE context package? or simply some new networking code that Ubuntu 14.04 might have added or modified? Regards ML ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] ubuntu 14.04 as image - no network on first boot
Thanks! I'll take a look at it and test it in other distros. On Thu, Apr 24, 2014 at 8:00 AM, Michael Kutzner michael.kutz...@virtion.de wrote: Hi Javier, Am 23.04.2014 um 21:18 schrieb Javier Fontan jfon...@opennebula.org: Network restart is not supported in ubuntu. There is new code to overcome this issue but we are still testing the packages. A package with the latest code is attached if you want to try. You can install it over the previous version. I run into the same problem today and tried to figure out what could be a way also to included fixed interfaces configured in /etc/network/interfaces.d. So, I slightly changed at the end of 00-network (from configure_network on) == snip == configure_network() { gen_network_configuration /etc/network/interfaces echo source /etc/network/interfaces.d/*.cfg /etc/network/interfaces } deactivate_network() { . /etc/os-release if [ $ID = ubuntu ]; then IFACES=`/sbin/ifquery -la` for i in $IFACES; do DEV=`get_dev $i` /sbin/ifdown $i done else service networking stop fi } activate_network() { . /etc/os-release if [ $ID = ubuntu ]; then IFACES=`/sbin/ifquery -la` for i in $IFACES; do DEV=`get_dev $i` /sbin/ifup $i done else service networking stop sleep 1 service networking start fi sleep 2 } deactivate_network configure_network activate_network == snip == That works fine for me - especially in a mixed setup where I want to use the context on the one hand, but have the need to configure alias interfaces on the other hand (which is only handy on a VM with a fixed configuration). What I did not check yet if that influences somehow any other kind of package (relying on existing interfaces) Best, Michael On Wed, Apr 23, 2014 at 8:26 PM, ML mail mlnos...@yahoo.com wrote: Hello, I just generated a KVM qcow2 image for the new Ubuntu Server 14.04 LTS release. I usually prepare my images by simply installing the the ONE context package (http://dev.opennebula.org/attachments/download/768/one-context_4.5.0.deb) which I also did for this image. Now when I deploy a VM using this image on the very first boot the network is not working, although the /etc/network/interafaces gets correctly setup by the ONE context package an ifconfig eth0 shows no IP addresses assigned to the interface. Also a service networking restart does not work. The only workaround I found for now is to reboot the VM, then networking works correctly. Is it possible that this is an issue related to the ONE context package? or simply some new networking code that Ubuntu 14.04 might have added or modified? Regards ML ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan one-context_4.5.85.deb___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] opennebula 4.6-RC problem with migration
I applied your last proposed solution: https://github.com/OpenNebula/one/commit/fac0852c129c92e697395a450645af131a51115c Thanks. -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Apr 23, 2014 at 8:12 PM, Rolandas Naujikas rolandas.nauji...@mif.vu.lt wrote: On 2014-04-23 20:10, Rolandas Naujikas wrote: Hi, Another error (with 4.4.1_to_4.5.80.rb from https://gist.github.com/carlosms/11218311): Running migrators for shared tables Running migrator /var/lib/one/4.6.0/lib/ruby/onedb/shared/4.4.1_to_4.5.80.rb node must be a Nokogiri::XML::Node From http://nokogiri.org/Nokogiri/XML/Document.html#method-i-create_cdatasource I tested change create_cdata(doc,txt) - Nokogiri::XML::CDATA.new(doc,txt) and onedb upgrade passed on Debian 6.0 with nokogiri 1.4.0. Regards, Rolandas Regards, Rolandas On 2014-04-23 17:50, Carlos Martín Sánchez wrote: Hi, We didn't catch that in our tests, Debian 6 is not included in the testing and certification process. Can you try with this file and report if it works? https://gist.github.com/carlosms/11218311 Thanks. -- 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/opennebulamailto:cmar...@opennebula.org On Wed, Apr 23, 2014 at 1:22 PM, Rolandas Naujikas rolandas.nauji...@mif.vu.lt mailto:rolandas.nauji...@mif.vu.lt wrote: It looks like nokogiri (1.4.0) in Debian 6.0 have no create_cdata method. In Debian 7 nokogiri is of 1.5.5 and no problems. Regards, Rolandas On 2014-04-23 14:09, Rolandas Naujikas wrote: (By using git snapshot after version bump to 4.6.0) Version read: Shared tables 4.4.1 : Database migrated from 4.4.0 to 4.4.1 (OpenNebula 4.4.1) by onedb command. Local tables 4.4.1 : Database migrated from 4.4.0 to 4.4.1 (OpenNebula 4.4.1) by onedb command. MySQL dump stored in /var/lib/one/4.6.0/var/mysql___localhost_opennebula.sql Use 'onedb restore' or restore the DB using the mysql command: mysql -u user -h server -P port db_name backup_file Running migrators for shared tables Running migrator /var/lib/one/4.6.0/lib/ruby/__onedb/shared/4.4.1_to_4.5.80.__rb undefined method `create_cdata' for #Nokogiri::XML::Document:__0x7fb442dba0d0 The database will be restored MySQL DB opennebula at localhost restored. _ 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
[one-users] Re-installing OpenNebula from scratch - just keeping the datastores
Hi, I am thinking of re-installing all of my ONE test installation and at the same time move on from 4.4 to 4.6 as soon as its released. The only thing that I will keep are my NFS datastores which includes VMs and images. Now I was wondering after having setup ONE 4.6 with the same network as the previous one and with the same datastore locations, is it somehow possible to recover my already existing VMs form my NFS datastore? Basically all ONE needs to know is already in the deployment.0 file so in theory it should be able to recover from it? If yes, how do I do that? I am thinking here that this procedure could be especially useful in the scenario when someone loses his whole ONE configuration and the only thing left are his datastores... Regards ML ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Create a VM for KVM
Hello, I know this will be easy for most of you here but i'm stuck. I installed opennebula and it works. but i wanted to use my own Images in stead of the ones from the market. So how do I make my own VM??? Please explain from in the begin because I think it is easy but I keep forgetting steps. What I did is to create an empty disk in opennebula. upload my installation CD of CentOS. Create a template with both discs. install the OS trying to set a IP or make connection to the network = FAIL Help me please? -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Force a VM to have a specific IP
Yes, we do this all the time. Use a FIXED network and in the NIC section of the template just specify the IP you want. Steve Timm On Thu, 24 Apr 2014, ML mail wrote: Hello, Is it possible for force the deployment of a VM to have a specific IP address? That IP address would be one which is part of a ranged virtual network (/24 subnet). Regards ML ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Scientific Computing Division, Scientific Computing Services Quad. Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Create a VM for KVM
On 4/24/2014 6:19 PM, Christophe Duez wrote: Hello, I know this will be easy for most of you here but i'm stuck. I installed opennebula and it works. but i wanted to use my own Images in stead of the ones from the market. So how do I make my own VM??? Please explain from in the begin because I think it is easy but I keep forgetting steps. What I did is to create an empty disk in opennebula. upload my installation CD of CentOS. Create a template with both discs. install the OS trying to set a IP or make connection to the network = FAIL id depends if you using vlans .. how dind you configure your bridge's .. don't forget opennbul don't come with any dhcp server .. so if you install from cd you will need to setup manualy the ip if you don't have dhcp server. Help me please? -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be mailto:christophe.d...@student.uantwperen.be L linkedin duez-christophe http://www.linkedin.com/pub/duez-christophe/74/7/39 ___ 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] vm deployment via image stored in ceph datastore
Hi Bill / Ruben, Is there any special settings I need to do on images (i.e. Ubuntu and Centos for KVM) from the marketplace when deploying from a ceph image datastore? The ttylinux for KVM worked great without issue. Thank you, Steve On Wed, Apr 23, 2014 at 3:28 PM, Steve @ MyEvolve st...@myevolve.comwrote: Hello Everyone, I imported ttylinux from the marketplace into ceph and successfully deployed it on the same host, so that would indicate things are working normally. I also imported Ubuntu, but it came up with grub error. I've attached two screenshots to show what the console is showing on boot. Any ideas? Thank you, Steve On Wed, Apr 23, 2014 at 6:03 AM, Steve @ MyEvolve st...@myevolve.comwrote: Hello Everyone, I successfully imported the CentOS contextualized image from the marketplace into my ceph image datastore. I then created a specific template for deploying this image and successfully launched the vm. My problem is that when the vm is booting I am getting the message: Booting from Hard Disk... Geom error Any ideas? Thanks, Steve Template: GRAPHICS TYPE VNCLISTEN 0.0.0.0 OS ARCH x86_64BOOT hd MEMORY 2048 NIC NETWORK_UNAME oneadminNETWORK Public Network SCHED_REQUIREMENTS ID=4FEATURES ACPI yes CPU 1 DISK IMAGE CentOS Server 6.2 - kvm_file0 Ceph IMAGE_UNAME oneadmin CONTEXT NETWORK YESSSH_PUBLIC_KEY $USER[SSH_PUBLIC_KEY] And here is the template for the VM: VMID 90 TEMPLATE_ID 23 GRAPHICS TYPE VNCLISTEN 0.0.0.0PORT 5990 OS ARCHx86_64 BOOT hd MEMORY 2048 AUTOMATIC_REQUIREMENTS CLUSTER_ID = 101 !(PUBLIC_CLOUD = YES) NIC BRIDGE br0NETWORK_UNAME oneadminMAC02:00:26:6b:bb:96 VLAN NO NETWORK Public NetworkIP6_LINK fe80::400:26ff:fe6b:bb96 IP38.107.187.150 NIC_ID 0 NETWORK_ID 0CLUSTER_ID 101 FEATURES ACPI yes CPU 1 DISK TARGEThda DATASTORE_ID 126SIZE 10240IMAGE_ID 52IMAGE CentOS Server 6.2 - kvm_file0 Ceph DISK_ID0 CLONE_TARGET SELFTYPE RBDSAVE NOCEPH_USER libvirtSOURCEone/one-52 CEPH_SECRET *** removed *** CEPH_HOST cloudweb12:6789TM_MAD ceph IMAGE_UNAME oneadminDEV_PREFIX hd LN_TARGET NONEREADONLY NOCLUSTER_ID 101 DATASTORE cephsystemCLONE YES CONTEXT TARGET hdbETH0_MASK 255.255.255.0 ETH0_IP 38.107.187.150 ETH0_NETWORK 38.107.187.0ETH0_GATEWAY 38.107.187.1 ETH0_DNS 8.8.8.8DISK_ID 1NETWORK YESETH0_MAC 02:00:26:6b:bb:96 SSH_PUBLIC_KEY removed ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Force a VM to have a specific IP
Ah yes of course, thanks for the hint! Btw: I am using an IP address as a fixed IP address which is part of my RANGED virtual network, do I need to need to hold IP for that specific IP? or will ONE automatically detect that this IP is already used for another fixed virtual network? ML On Thursday, April 24, 2014 5:20 PM, Steven Timm t...@fnal.gov wrote: Yes, we do this all the time. Use a FIXED network and in the NIC section of the template just specify the IP you want. Steve Timm On Thu, 24 Apr 2014, ML mail wrote: Hello, Is it possible for force the deployment of a VM to have a specific IP address? That IP address would be one which is part of a ranged virtual network (/24 subnet). Regards ML ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Scientific Computing Division, Scientific Computing Services Quad. Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Force a VM to have a specific IP
No, you can specify the IP you want to use out of that range and it will pull the appropriate lease when you deploy the VM. Bill Campbell Infrastructure Architect Axcess Financial Services, Inc. 7755 Montgomery Rd., Suite 400 Cincinnati, OH 45236 - Original Message - From: ML mail mlnos...@yahoo.com To: Users OpenNebula users@lists.opennebula.org Sent: Thursday, April 24, 2014 12:30:44 PM Subject: Re: [one-users] Force a VM to have a specific IP Ah yes of course, thanks for the hint! Btw: I am using an IP address as a fixed IP address which is part of my RANGED virtual network, do I need to need to hold IP for that specific IP? or will ONE automatically detect that this IP is already used for another fixed virtual network? ML On Thursday, April 24, 2014 5:20 PM, Steven Timm t...@fnal.gov wrote: Yes, we do this all the time. Use a FIXED network and in the NIC section of the template just specify the IP you want. Steve Timm On Thu, 24 Apr 2014, ML mail wrote: Hello, Is it possible for force the deployment of a VM to have a specific IP address? That IP address would be one which is part of a ranged virtual network (/24 subnet). Regards ML ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Scientific Computing Division, Scientific Computing Services Quad. Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Virtual machine vlan tagging
On Wed, April 23, 2014 11:40 pm, Stefan Kooman wrote: Quoting Neil Schneider (n...@ifxonline.com): I'm running OpenNebula in a virtual machine using openvswitch to connect the machines. I've tried creating a virtual network in libvirt attached to the bridge device then attached to it. You should know have your virtual interfaces in the right network with the right vlan tag. Thanks for your help. That solved my problem. Now on to the next challenge. -- Neil Schneider Systems Administrator ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula 4.5.85-1 on Ubuntu Trusty Tahr
Javier Fontan jfon...@opennebula.org writes: Hi, Hello, Thanks for taking the time to test it. We have already created packages for Ubuntu 14.04 and we are now in the process of testing them. There was no time for RC but they will be available for the final release. Is the packaging code[1] available somewhere? In #2843[2] someone asked for RC packages but I would like to help in the process of packaging for distribution, at least Debian based. I setup a poor-man wanna-build[3] at home to ease the process of building packages in clean environments, but I did not find the packaging of ONE in git. Regards. Footnotes: [1] i.e the debian/ directory [2] http://dev.opennebula.org/issues/2843 [3] Debian wanna-build is to complex to setup for now. http://git.baby-gnu.net/gitweb/gitweb.cgi?p=packaging-with-dvcs.git;a=summary -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula 4.5.85-1 on Ubuntu Trusty Tahr
Inside the tar.gz that holds the packages there is a source directory [1]. That may be what you are looking for. Context packages are created using a tool called fpm. That may not be a proper way to do it but for that tiny package it seemed OK to me to use it. The files, the script and the documentation on how to create the packages are available in the source repository [2]. Cheers [1] http://downloads.opennebula.org/packages/opennebula-4.5.85/Debian-7/Debian-7-opennebula-4.5.85-1.tar.gz [2] https://github.com/OpenNebula/one/tree/master/share/scripts/context-packages On Thu, Apr 24, 2014 at 9:59 PM, Daniel Dehennin daniel.dehen...@baby-gnu.org wrote: Javier Fontan jfon...@opennebula.org writes: Hi, Hello, Thanks for taking the time to test it. We have already created packages for Ubuntu 14.04 and we are now in the process of testing them. There was no time for RC but they will be available for the final release. Is the packaging code[1] available somewhere? In #2843[2] someone asked for RC packages but I would like to help in the process of packaging for distribution, at least Debian based. I setup a poor-man wanna-build[3] at home to ease the process of building packages in clean environments, but I did not find the packaging of ONE in git. Regards. Footnotes: [1] i.e the debian/ directory [2] http://dev.opennebula.org/issues/2843 [3] Debian wanna-build is to complex to setup for now. http://git.baby-gnu.net/gitweb/gitweb.cgi?p=packaging-with-dvcs.git;a=summary -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] ONE for students?
Hi Is anyone using ONE in classroom/homework environment, where students can quickly create a VM, do an assignment and delete VM? I'm interested in such environment, especially GUI part facing student. I.e. is it possible to customize what students see when they create a VM, add description for image, few help links, how to connect to VM once it's loaded, etc? -- Thank you, Dmitri Chebotarov VCL Sys Eng, Engineering Architectural Support, TSD - Ent Servers Messaging 223 Aquia Building, Ffx, MSN: 1B5 Phone: (703) 993-6175 | Fax: (703) 993-3404 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] System volumes created with no space
I am using Opennebula 4.5.80 on Centos6 with KVM. /var/lib/one is a NFS mount, and has over a terabyte of free space available. I have it shared between my administrative host and my KVM servers, but I cannot launch a VM as there is never any space seen as available in the systems datastore. [oneadmin$] onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 0 system0M - snowman 0 sys -shared 1 default 1.4T 100% snowman 1 img fs shared 2 files 1.4T 100% snowman 0 fil fs ssh All volumes are actually located on the same NFS volume: [oneadmin]$ df -h /var/lib/one FilesystemSize Used Avail Use% Mounted on snowman03.of-1.uk.venda.com:/tank/systems/one 1.4T 946M 1.4T 1% /var/lib/one Yet: [oneadmin]$ onedatastore show 0 DATASTORE 0 INFORMATION ID : 0 NAME : system USER : oneadmin GROUP : oneadmin CLUSTER: snowman TYPE : SYSTEM DS_MAD : - TM_MAD : shared BASE PATH : /var/lib/one//datastores/0 DISK_TYPE : FILE DATASTORE CAPACITY TOTAL: : 0M FREE: : 0M USED: : 0M LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ SHARED=YES TM_MAD=shared TYPE=SYSTEM_DS IMAGES [oneadmin]$ onedatastore show 1 DATASTORE 1 INFORMATION ID : 1 NAME : default USER : oneadmin GROUP : oneadmin CLUSTER: snowman TYPE : IMAGE DS_MAD : fs TM_MAD : shared BASE PATH : /var/lib/one//datastores/1 DISK_TYPE : FILE DATASTORE CAPACITY TOTAL: : 1.4T FREE: : 1.4T USED: : 945M LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ CLONE_TARGET=SYSTEM DISK_TYPE=FILE DS_MAD=fs LN_TARGET=NONE TM_MAD=shared TYPE=IMAGE_DS IMAGES 5 So I tried creating a new systems datastore on separate NFS mount as a test: [oneadmin]$ cat template.ds NAME= systems_nfs TM_MAD = shared TYPE= SYSTEM_DS BASE_PATH = /mnt/systems/one [oneadmin]$ onedatastore create template.ds -c snowman And I get another system volume with no space: [oneadmin@snow-opennebula01 ~]$ onedatastore show 102 DATASTORE 102 INFORMATION ID : 102 NAME : systems_nfs USER : oneadmin GROUP : oneadmin CLUSTER: snowman TYPE : SYSTEM DS_MAD : - TM_MAD : shared BASE PATH : /mnt/systems/one/102 DISK_TYPE : FILE DATASTORE CAPACITY TOTAL: : 0M FREE: : 0M USED: : 0M LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/mnt/systems/one/ SHARED=YES TM_MAD=shared TYPE=SYSTEM_DS IMAGES [oneadmin]$ df -h /mnt/systems/one FilesystemSize Used Avail Use% Mounted on snowman03.of-1.uk.venda.com:/tank/systems 1.4T 945M 1.4T 1% /mnt/systems I am not sure what I am doing wrong. Suggestions? Marius Rex marius...@venda.com Senior linux Engineer cell# 347.565.5037 ___ Users mailing list Users@lists.opennebula.org
[one-users] OpenNebula plus RHEL./Centos/Sci. Linux 6.3 or 6.4
I am wondering if there are any other big OpenNebula clouds out there using RHEL 6.3 or 6.4, Centos 6.3 or 6.4, or Scientific Linux 6.3 or 6.4? We are seeing a fairly nasty performance problem, but only on intel-based Sandy Bridge or Ivy Bridge based hardware. If you have N kvm-based virtual machines running (N=4 as far as I can tell) and then do a lot of disk and I/O activity on the hypervisor, for example migrating several more virtual machines to or from the bare metal, and if at least one of those virtual machines is doing some I/O too, there is a failure mode such that you start seeing sshd processes (from oneadmin monitoring or otherwise) hanging and taking 100% of CPU. Ping times to virtual machines become very widely varied, in extreme cases the VM can even go off the network entirely in such a fashion that ifdown/ifup doesn't bring it back and sometimes you can't even kill it with virsh destroy. A couple times we have even managed to crash the hypervisor irreversibly so it has to be power cycled. If all the surviving virtual machines are shut down, the system then returns to normal and all the hung processes exit. Has anyone else seen problems iike this? If so please let me know. There seems to be little if anything out there about this bug and that is strange since it has been out there for a while. Steve Timm ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] ubuntu 14.04 as image - no network on first boot
Hi Javier, Am 24.04.2014 um 19:02 schrieb Javier Fontan jfon...@opennebula.org: We have tested the package in both 12.04 and 14.04. Network works fine in the first boot. Did you modify interfaces file after installing the package? One of the things the package does is to empty the interfaces file, just has the loopback configured so it does not configure the network before the context package starts. checked, yes, that was one reason, I suppose - there was left an entry from the tests I made (had an older version of the context package before which modified the interface file also at shutdown, there was no check if in „start“ or „stop“ phase). Perhaps this may have been the error? Another issue was the missing source for files in the interfaces.d directory (which is needed if you would like to config fixed configurations - or which sounds to be a way to go in combination with the context package) Best, Michael On Thu, Apr 24, 2014 at 2:55 PM, Javier Fontan jfon...@opennebula.org wrote: Thanks! I'll take a look at it and test it in other distros. On Thu, Apr 24, 2014 at 8:00 AM, Michael Kutzner michael.kutz...@virtion.de wrote: Hi Javier, Am 23.04.2014 um 21:18 schrieb Javier Fontan jfon...@opennebula.org: Network restart is not supported in ubuntu. There is new code to overcome this issue but we are still testing the packages. A package with the latest code is attached if you want to try. You can install it over the previous version. I run into the same problem today and tried to figure out what could be a way also to included fixed interfaces configured in /etc/network/interfaces.d. So, I slightly changed at the end of 00-network (from configure_network on) == snip == configure_network() { gen_network_configuration /etc/network/interfaces echo source /etc/network/interfaces.d/*.cfg /etc/network/interfaces } deactivate_network() { . /etc/os-release if [ $ID = ubuntu ]; then IFACES=`/sbin/ifquery -la` for i in $IFACES; do DEV=`get_dev $i` /sbin/ifdown $i done else service networking stop fi } activate_network() { . /etc/os-release if [ $ID = ubuntu ]; then IFACES=`/sbin/ifquery -la` for i in $IFACES; do DEV=`get_dev $i` /sbin/ifup $i done else service networking stop sleep 1 service networking start fi sleep 2 } deactivate_network configure_network activate_network == snip == That works fine for me - especially in a mixed setup where I want to use the context on the one hand, but have the need to configure alias interfaces on the other hand (which is only handy on a VM with a fixed configuration). What I did not check yet if that influences somehow any other kind of package (relying on existing interfaces) Best, Michael On Wed, Apr 23, 2014 at 8:26 PM, ML mail mlnos...@yahoo.com wrote: Hello, I just generated a KVM qcow2 image for the new Ubuntu Server 14.04 LTS release. I usually prepare my images by simply installing the the ONE context package (http://dev.opennebula.org/attachments/download/768/one-context_4.5.0.deb) which I also did for this image. Now when I deploy a VM using this image on the very first boot the network is not working, although the /etc/network/interafaces gets correctly setup by the ONE context package an ifconfig eth0 shows no IP addresses assigned to the interface. Also a service networking restart does not work. The only workaround I found for now is to reboot the VM, then networking works correctly. Is it possible that this is an issue related to the ONE context package? or simply some new networking code that Ubuntu 14.04 might have added or modified? Regards ML ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan one-context_4.5.85.deb___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org