Re: [Users] vlan on mgmt network
There is an open bug in regards to configuring the management network on top of a vlan: https://bugzilla.redhat.com/show_bug.cgi?id=906359 The system stability might get worse due to the new feature multi host network configuration which applies logical network changes to the entire DC's hosts. - Original Message - From: jplor...@gmail.com To: Peter Styk polf...@gmail.com Cc: William Kwan pota...@yahoo.com, users users@ovirt.org Sent: Sunday, January 19, 2014 3:31:31 AM Subject: Re: [Users] vlan on mgmt network Hi Peter, Try to check if ovirmgmt is defined in the vlan you desire (or without vlan). Maybe when you sync ovirt is trying to configure the network with options different from what you desire. I never got ovirt to finish properly to install a host, it fails to get ovirtmgmt working right so I always manually configure the vlan interfaces and the ovirtmgmt bridge in the hosts. You can get your host back if you manually correct the network, also you may take a look of what ovirt configured to try to find out if something is not set properly in the network definition. Regards El ene 18, 2014 7:56 PM, Peter Styk polf...@gmail.com escribió: On 18 January 2014 17:11, Itamar Heim ih...@redhat.com wrote: On 01/18/2014 04:52 PM, Peter Styk wrote: So I got ovirtmgmt VM ticked off. Had to remove it from all VM's then tried to add new Logical network to eth0 by drag drop but refused since ovirtmgmt was out of sync. So I synced it. and that's how I lost access to my hosted remote system. End of story. So that's it I guess, automated install doesn't work (during switch network goes dead and doesn't come back remote access is lost) so I found manual way that works. But then I need to sync it to get my ovirtmgmt not to be a VM network. And even if its not to get another network on the interface i need to sync it. this sounds like a bug - can you provide clear reproduction steps? Reproduction steps are in network configuration alone. After installing Engine, i have to set up network to the config listed here: http://styk.tv/wp-content/uploads/2014/01/oVirtHosted1_almost_working.png . Unfortunately can't rely on engine-vdsm duo to help out. Anything above the host line on the diagram is physical setup and is the only configuration that doesn't disconnect me from the net. Only thing missing on the diagram is ifcfg-eth0 has also HWADDR attribute with MAC address of physical eth0 device. Once this survives service network restart I can proceed to VDSM install and then its straight forwardthat is until I'm trying to SYNC ovirtmgmt on host inside. I should mention after ovirt engine is working I destroy default cluster and create new local one. Obviously I cannot access logs since access to host is no longer but entire setup is scripted including provisioning so I can easily rebuild entire setup within 15 or so minutes by running a script. Anyone who would like to benefit from my findings can use this script and gain access to my host and learn with me on how to overcome this. Script will provision the host (fresh os install), log in, get the files: ifcfg-eth0, ifcfg-ovirtmgmt, ifcfg-ovirtmgmt-range0, ovrit_answers and route-ovirtmgmt, then install epel 6-8, install pgp, localinstall ovirt-el6.10-1. install bridge-utils, upgrade, set hostname, then after reboot ssh alive, set local data,images,iso folders, install ovrit-engine, set ipv4 forwarding and proxy_arp=1, restart-network, and run engine-setup with ovirt_answers including cli and stop iptables as engine and vdsm rules still prevent connection if on. that's it. working system in 15 mins still to do is engine-api calls to create local cluster, join engine with vdsm local and setup private network with pfSense instance as router/nat/dhcp for 10.0.0.0/24 Peter ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
Hi Peter, Sorry for being late to the party. I hope you and William are working on the same deployment so I'll be responding to both of you. On 18/01/14 23:56, Peter Styk wrote: On 18 January 2014 17:11, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 01/18/2014 04:52 PM, Peter Styk wrote: So I got ovirtmgmt VM ticked off. Had to remove it from all VM's then tried to add new Logical network to eth0 by drag drop but refused since ovirtmgmt was out of sync. So I synced it. and that's how I lost access to my hosted remote system. End of story. So that's it I guess, automated install doesn't work (during switch network goes dead and doesn't come back remote access is lost) so I found manual way that works. But then I need to sync it to get my ovirtmgmt not to be a VM network. And even if its not to get another network on the interface i need to sync it. So basically what you're saying is that switching the management network to non-VM while it is provisioned on hosts, then trying to synchronize it, leads to loss of connection? We'll need to have a look. this sounds like a bug - can you provide clear reproduction steps? Reproduction steps are in network configuration alone. After installing Engine, i have to set up network to the config listed here: http://styk.tv/wp-content/uploads/2014/01/oVirtHosted1_almost_working.png. Unfortunately can't rely on engine-vdsm duo to help out. Anything above the host line on the diagram is physical setup and is the only configuration that doesn't disconnect me from the net. Only thing missing on the diagram is ifcfg-eth0 has also HWADDR attribute with MAC address of physical eth0 device. Once this survives service network restart I can proceed to VDSM install and then its straight forwardthat is until I'm trying to SYNC ovirtmgmt on host inside. I should mention after ovirt engine is working I destroy default cluster and create new local one. Obviously I cannot access logs since access to host is no longer but entire setup is scripted including provisioning so I can easily rebuild entire setup within 15 or so minutes by running a script. Anyone who would like to benefit from my findings can use this script and gain access to my host and learn with me on how to overcome this. From the above information I understand that you are still in the initial stages of installation and are not scared of starting anew. If that is the case, I would suggest that you do start from a clean DC again. Try to configure the management network as non-VM prior to adding any host, then add the hosts. As far as I know, this should provision the network correctly on the hosts to begin with (it should work when synchronizing it as well, but let's try this way and see if it works better). Script will provision the host (fresh os install), log in, get the files: ifcfg-eth0, ifcfg-ovirtmgmt, ifcfg-ovirtmgmt-range0, ovrit_answers and route-ovirtmgmt, then install epel 6-8, install pgp, localinstall ovirt-el6.10-1. install bridge-utils, upgrade, set hostname, then after reboot ssh alive, set local data,images,iso folders, install ovrit-engine, set ipv4 forwarding and proxy_arp=1, restart-network, and run engine-setup with ovirt_answers including cli and stop iptables as engine and vdsm rules still prevent connection if on. that's it. working system in 15 mins still to do is engine-api calls to create local cluster, join engine with vdsm local and setup private network with pfSense instance as router/nat/dhcp for 10.0.0.0/24 http://10.0.0.0/24 Peter ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
So I got ovirtmgmt VM ticked off. Had to remove it from all VM's then tried to add new Logical network to eth0 by drag drop but refused since ovirtmgmt was out of sync. So I synced it. and that's how I lost access to my hosted remote system. End of story. So that's it I guess, automated install doesn't work (during switch network goes dead and doesn't come back remote access is lost) so I found manual way that works. But then I need to sync it to get my ovirtmgmt not to be a VM network. And even if its not to get another network on the interface i need to sync it. I will keep trying, Thanks for the tips. P. On 17 January 2014 22:06, Itamar Heim ih...@redhat.com wrote: On 01/18/2014 12:05 AM, William Kwan wrote: I tried to define a virtual interface for vlan102, by adding ifcfg-bond0.102 manually and restarted network services. why not via ovirt-engine? On Friday, January 17, 2014 4:45 PM, Itamar Heim ih...@redhat.com wrote: On 01/17/2014 11:38 PM, William Kwan wrote: OK.. tested with bond0.102 for vlan102 I guess I can't do this with oVirt? It wouldn't pickup this interface. It still shows up eth0, eth1 and bond0 only you tried to define a vlan youself on the bond, or use a vlan via a logical network over the bond via ovirt-engine (which should work)? Will On Friday, January 17, 2014 1:15 PM, William Kwan pota...@yahoo.com mailto:pota...@yahoo.com wrote: Thanks all for the info. I'm trying the suggestions with 3.3.2-1.el6 Assaf mentioned the following which is true. You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. I tried a few things and I haven't been able to find a way through. Obviously or not, there are more facts/rules. Just put up a few of them here Cannot have more than one non-VLAN network on one interface Cannot have a non-VLAN VM network and VLAN-tagged networks on one interface. ( got this when I tried to drag a VLAN-tagged VM network on the same interface as the non-VLAN VM network). I'll try to test adding a bond0.vlan. I need to have bond0 - for both mgmt network and a vlan bond1 - for another subnet. Will On Thursday, January 16, 2014 1:50 PM, Juan Pablo Lorier jplor...@gmail.com mailto:jplor...@gmail.com wrote: Hi William, You can have several logical networks on the same interface. If ovirtmgmt is not a vm network you can even mix tagged and untagged networks (if not, you can't mix). You don's have to do anything besides creating the logical networks in ovirt and assign them to the interface, ovirt takes care of creating the virtual interfaces it needs. What you can't do is have more than one logical network per vlan (I think there's a feature request on this, I know I've asked it on the list:-) ). Regards, ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
On 01/18/2014 04:52 PM, Peter Styk wrote: So I got ovirtmgmt VM ticked off. Had to remove it from all VM's then tried to add new Logical network to eth0 by drag drop but refused since ovirtmgmt was out of sync. So I synced it. and that's how I lost access to my hosted remote system. End of story. So that's it I guess, automated install doesn't work (during switch network goes dead and doesn't come back remote access is lost) so I found manual way that works. But then I need to sync it to get my ovirtmgmt not to be a VM network. And even if its not to get another network on the interface i need to sync it. this sounds like a bug - can you provide clear reproduction steps? I will keep trying, Thanks for the tips. P. On 17 January 2014 22:06, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 01/18/2014 12:05 AM, William Kwan wrote: I tried to define a virtual interface for vlan102, by adding ifcfg-bond0.102 manually and restarted network services. why not via ovirt-engine? On Friday, January 17, 2014 4:45 PM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 01/17/2014 11:38 PM, William Kwan wrote: OK.. tested with bond0.102 for vlan102 I guess I can't do this with oVirt? It wouldn't pickup this interface. It still shows up eth0, eth1 and bond0 only you tried to define a vlan youself on the bond, or use a vlan via a logical network over the bond via ovirt-engine (which should work)? Will On Friday, January 17, 2014 1:15 PM, William Kwan pota...@yahoo.com mailto:pota...@yahoo.com mailto:pota...@yahoo.com mailto:pota...@yahoo.com wrote: Thanks all for the info. I'm trying the suggestions with 3.3.2-1.el6 Assaf mentioned the following which is true. You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. I tried a few things and I haven't been able to find a way through. Obviously or not, there are more facts/rules. Just put up a few of them here Cannot have more than one non-VLAN network on one interface Cannot have a non-VLAN VM network and VLAN-tagged networks on one interface. ( got this when I tried to drag a VLAN-tagged VM network on the same interface as the non-VLAN VM network). I'll try to test adding a bond0.vlan. I need to have bond0 - for both mgmt network and a vlan bond1 - for another subnet. Will On Thursday, January 16, 2014 1:50 PM, Juan Pablo Lorier jplor...@gmail.com mailto:jplor...@gmail.com mailto:jplor...@gmail.com mailto:jplor...@gmail.com wrote: Hi William, You can have several logical networks on the same interface. If ovirtmgmt is not a vm network you can even mix tagged and untagged networks (if not, you can't mix). You don's have to do anything besides creating the logical networks in ovirt and assign them to the interface, ovirt takes care of creating the virtual interfaces it needs. What you can't do is have more than one logical network per vlan (I think there's a feature request on this, I know I've asked it on the list:-) ). Regards, _ Users mailing list Users@ovirt.org mailto:Users@ovirt.org mailto:Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/__mailman/listinfo/users http://lists.ovirt.org/mailman/listinfo/users _ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/__mailman/listinfo/users http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
Hi Peter, Try to check if ovirmgmt is defined in the vlan you desire (or without vlan). Maybe when you sync ovirt is trying to configure the network with options different from what you desire. I never got ovirt to finish properly to install a host, it fails to get ovirtmgmt working right so I always manually configure the vlan interfaces and the ovirtmgmt bridge in the hosts. You can get your host back if you manually correct the network, also you may take a look of what ovirt configured to try to find out if something is not set properly in the network definition. Regards El ene 18, 2014 7:56 PM, Peter Styk polf...@gmail.com escribió: On 18 January 2014 17:11, Itamar Heim ih...@redhat.com wrote: On 01/18/2014 04:52 PM, Peter Styk wrote: So I got ovirtmgmt VM ticked off. Had to remove it from all VM's then tried to add new Logical network to eth0 by drag drop but refused since ovirtmgmt was out of sync. So I synced it. and that's how I lost access to my hosted remote system. End of story. So that's it I guess, automated install doesn't work (during switch network goes dead and doesn't come back remote access is lost) so I found manual way that works. But then I need to sync it to get my ovirtmgmt not to be a VM network. And even if its not to get another network on the interface i need to sync it. this sounds like a bug - can you provide clear reproduction steps? Reproduction steps are in network configuration alone. After installing Engine, i have to set up network to the config listed here: http://styk.tv/wp-content/uploads/2014/01/oVirtHosted1_almost_working.png. Unfortunately can't rely on engine-vdsm duo to help out. Anything above the host line on the diagram is physical setup and is the only configuration that doesn't disconnect me from the net. Only thing missing on the diagram is ifcfg-eth0 has also HWADDR attribute with MAC address of physical eth0 device. Once this survives service network restart I can proceed to VDSM install and then its straight forwardthat is until I'm trying to SYNC ovirtmgmt on host inside. I should mention after ovirt engine is working I destroy default cluster and create new local one. Obviously I cannot access logs since access to host is no longer but entire setup is scripted including provisioning so I can easily rebuild entire setup within 15 or so minutes by running a script. Anyone who would like to benefit from my findings can use this script and gain access to my host and learn with me on how to overcome this. Script will provision the host (fresh os install), log in, get the files: ifcfg-eth0, ifcfg-ovirtmgmt, ifcfg-ovirtmgmt-range0, ovrit_answers and route-ovirtmgmt, then install epel 6-8, install pgp, localinstall ovirt-el6.10-1. install bridge-utils, upgrade, set hostname, then after reboot ssh alive, set local data,images,iso folders, install ovrit-engine, set ipv4 forwarding and proxy_arp=1, restart-network, and run engine-setup with ovirt_answers including cli and stop iptables as engine and vdsm rules still prevent connection if on. that's it. working system in 15 mins still to do is engine-api calls to create local cluster, join engine with vdsm local and setup private network with pfSense instance as router/nat/dhcp for 10.0.0.0/24 Peter ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
I'm sorry. This seems to be getting too long from a possible confused user =) Yes, I followed the step and it works as expected. However I want to have VMs able to reach the mgmt network. let's make it simpler. eth0 - mgmt network, untagged, this is where I ssh to systems eth1 - some other subnet I have two nodes built and setup with ovirt. They run fine. ovirtmgmt runs on eth0 But I want to have a VM able reach to both - mgmt network on eth0 - vlanX on eth0 That's why I was testing different things I added eth0.X for VLAN X under the OS, but it won't show up under oVirt. I can add more physical interface to separate the traffic 1. subnet for ovirt 2. subnet for management traffic 3. subnet for whatever subnet VM reach out to W On Friday, January 17, 2014 5:27 PM, Itamar Heim ih...@redhat.com wrote: On 01/16/2014 08:35 PM, Assaf Muller wrote: Ok so if you want to set the management network (untagged) and VM networks (tagged) on the same bond, then the management network has to be non-VM. IE: You won't be able to connect instances to the management network. William - did this work for you followin assaf steps below? you don't need to change anything at host level, all should be done from the webadmin Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: William Kwan pota...@yahoo.com To: Assaf Muller amul...@redhat.com Cc: users@ovirt.org, Christian Hernandez christi...@4over.com Sent: Thursday, January 16, 2014 7:59:46 PM Subject: Re: [Users] vlan on mgmt network Assaf, Thanks a lot. Will I be able to mix tagged and untagged traffic? Example: - bond0 on my two systems are on the management network, untagged - my VMs all have one connection to this management network - I want to setup a new VM with two interfaces, one on the management network, one on the tagged VLAN This will work it out? Thanks Will On Thursday, January 16, 2014 12:26 PM, Assaf Muller amul...@redhat.com wrote: You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. Here's a working upgrade procedure: 1) Edit ovirtmgmt, mark it as non-VM. 2) Go to all hosts using this network, select Setup Host Networks. You'll see that ovirtmgmt is out of sync. Edit the network and mark sync. Hit ok on the dialog of course :) Step 2 will be done for you automatically when you edit logical networks in oVirt 3.4 3) Create VM, VLAN networks 4) Go to all hosts you wish to place those networks, and drag the new VLAN networks on bond0. You don't need to do any prep work on your hosts before this procedure. oVirt will take care of this stuff for you. Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: Christian Hernandez christi...@4over.com To: William Kwan pota...@yahoo.com Cc: users@ovirt.org Sent: Thursday, January 16, 2014 6:36:49 PM Subject: Re: [Users] vlan on mgmt network Assuming it's on the same VLAN... I would make the subinterface (i.e. bond0.1) Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto: christi...@4over.com www.4over.com http://www.4over.com On Thu, Jan 16, 2014 at 8:31 AM, William Kwan pota...@yahoo.com wrote: Hi all, CentOS 6.5 and oVirt 3.3 Let's say I have bond0 (eth0 and eth1) on a management network. Logical network ovirtmgmt is set and working on top of Interfaces bond0. Is it possible to have another Logical network, e.g. ovirt777, on the same Interface bond0? Or I should add a virtual interface, e.g. bond0.1, tie it to VLAN 777 and create logical network with this virtual interface? Wil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
On 01/18/2014 01:07 AM, William Kwan wrote: I'm sorry. This seems to be getting too long from a possible confused user =) Yes, I followed the step and it works as expected. However I want to have VMs able to reach the mgmt network. let's make it simpler. eth0 - mgmt network, untagged, this is where I ssh to systems eth1 - some other subnet I have two nodes built and setup with ovirt. They run fine. ovirtmgmt runs on eth0 But I want to have a VM able reach to both - mgmt network on eth0 - vlanX on eth0 That's why I was testing different things I added eth0.X for VLAN X under the OS, but it won't show up under oVirt. I can add more physical interface to separate the traffic 1. subnet for ovirt 2. subnet for management traffic 3. subnet for whatever subnet VM reach out to W this may sound weird, but why does the mgmt network has to be untagged? you could just have mgmt network in a vlan as well? On Friday, January 17, 2014 5:27 PM, Itamar Heim ih...@redhat.com wrote: On 01/16/2014 08:35 PM, Assaf Muller wrote: Ok so if you want to set the management network (untagged) and VM networks (tagged) on the same bond, then the management network has to be non-VM. IE: You won't be able to connect instances to the management network. William - did this work for you followin assaf steps below? you don't need to change anything at host level, all should be done from the webadmin Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: William Kwan pota...@yahoo.com mailto:pota...@yahoo.com To: Assaf Muller amul...@redhat.com mailto:amul...@redhat.com Cc: users@ovirt.org mailto:users@ovirt.org, Christian Hernandez christi...@4over.com mailto:christi...@4over.com Sent: Thursday, January 16, 2014 7:59:46 PM Subject: Re: [Users] vlan on mgmt network Assaf, Thanks a lot. Will I be able to mix tagged and untagged traffic? Example: - bond0 on my two systems are on the management network, untagged - my VMs all have one connection to this management network - I want to setup a new VM with two interfaces, one on the management network, one on the tagged VLAN This will work it out? Thanks Will On Thursday, January 16, 2014 12:26 PM, Assaf Muller amul...@redhat.com mailto:amul...@redhat.com wrote: You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. Here's a working upgrade procedure: 1) Edit ovirtmgmt, mark it as non-VM. 2) Go to all hosts using this network, select Setup Host Networks. You'll see that ovirtmgmt is out of sync. Edit the network and mark sync. Hit ok on the dialog of course :) Step 2 will be done for you automatically when you edit logical networks in oVirt 3.4 3) Create VM, VLAN networks 4) Go to all hosts you wish to place those networks, and drag the new VLAN networks on bond0. You don't need to do any prep work on your hosts before this procedure. oVirt will take care of this stuff for you. Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: Christian Hernandez christi...@4over.com mailto:christi...@4over.com To: William Kwan pota...@yahoo.com mailto:pota...@yahoo.com Cc: users@ovirt.org mailto:users@ovirt.org Sent: Thursday, January 16, 2014 6:36:49 PM Subject: Re: [Users] vlan on mgmt network Assuming it's on the same VLAN... I would make the subinterface (i.e. bond0.1) Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com mailto: christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com http://www.4over.com/ On Thu, Jan 16, 2014 at 8:31 AM, William Kwan pota...@yahoo.com mailto:pota...@yahoo.com wrote: Hi all, CentOS 6.5 and oVirt 3.3 Let's say I have bond0 (eth0 and eth1) on a management network. Logical network ovirtmgmt is set and working on top of Interfaces bond0. Is it possible to have another Logical network, e.g. ovirt777, on the same Interface bond0? Or I should add a virtual interface, e.g. bond0.1, tie it to VLAN 777 and create logical network with this virtual interface? Wil ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman
Re: [Users] vlan on mgmt network
Thanks all for the info. I'm trying the suggestions with 3.3.2-1.el6 Assaf mentioned the following which is true. You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then placeas many VM, tagged networks as you'd like on the same NIC or bond. I tried a few things and I haven't been able to find a way through. Obviously or not, there are more facts/rules. Just put up a few of them here Cannot have more than one non-VLAN network on one interface Cannot have a non-VLAN VM network and VLAN-tagged networks on one interface. ( got this when I tried to drag a VLAN-tagged VM network on the same interface as the non-VLAN VM network). I'll try to test adding a bond0.vlan. I need to have bond0 - for both mgmt network and a vlan bond1 - for another subnet. Will On Thursday, January 16, 2014 1:50 PM, Juan Pablo Lorier jplor...@gmail.com wrote: Hi William, You can have several logical networks on the same interface. If ovirtmgmt is not a vm network you can even mix tagged and untagged networks (if not, you can't mix). You don's have to do anything besides creating the logical networks in ovirt and assign them to the interface, ovirt takes care of creating the virtual interfaces it needs. What you can't do is have more than one logical network per vlan (I think there's a feature request on this, I know I've asked it on the list:-) ). Regards,___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
OK.. tested with bond0.102 for vlan102 I guess I can't do this with oVirt? It wouldn't pickup this interface. It still shows up eth0, eth1 and bond0 only Will On Friday, January 17, 2014 1:15 PM, William Kwan pota...@yahoo.com wrote: Thanks all for the info. I'm trying the suggestions with 3.3.2-1.el6 Assaf mentioned the following which is true. You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then placeas many VM, tagged networks as you'd like on the same NIC or bond. I tried a few things and I haven't been able to find a way through. Obviously or not, there are more facts/rules. Just put up a few of them here Cannot have more than one non-VLAN network on one interface Cannot have a non-VLAN VM network and VLAN-tagged networks on one interface. ( got this when I tried to drag a VLAN-tagged VM network on the same interface as the non-VLAN VM network). I'll try to test adding a bond0.vlan. I need to have bond0 - for both mgmt network and a vlan bond1 - for another subnet. Will On Thursday, January 16, 2014 1:50 PM, Juan Pablo Lorier jplor...@gmail.com wrote: Hi William, You can have several logical networks on the same interface. If ovirtmgmt is not a vm network you can even mix tagged and untagged networks (if not, you can't mix). You don's have to do anything besides creating the logical networks in ovirt and assign them to the interface, ovirt takes care of creating the virtual interfaces it needs. What you can't do is have more than one logical network per vlan (I think there's a feature request on this, I know I've asked it on the list:-) ). Regards,___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
On 01/17/2014 11:38 PM, William Kwan wrote: OK.. tested with bond0.102 for vlan102 I guess I can't do this with oVirt? It wouldn't pickup this interface. It still shows up eth0, eth1 and bond0 only you tried to define a vlan youself on the bond, or use a vlan via a logical network over the bond via ovirt-engine (which should work)? Will On Friday, January 17, 2014 1:15 PM, William Kwan pota...@yahoo.com wrote: Thanks all for the info. I'm trying the suggestions with 3.3.2-1.el6 Assaf mentioned the following which is true. You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. I tried a few things and I haven't been able to find a way through. Obviously or not, there are more facts/rules. Just put up a few of them here Cannot have more than one non-VLAN network on one interface Cannot have a non-VLAN VM network and VLAN-tagged networks on one interface. ( got this when I tried to drag a VLAN-tagged VM network on the same interface as the non-VLAN VM network). I'll try to test adding a bond0.vlan. I need to have bond0 - for both mgmt network and a vlan bond1 - for another subnet. Will On Thursday, January 16, 2014 1:50 PM, Juan Pablo Lorier jplor...@gmail.com wrote: Hi William, You can have several logical networks on the same interface. If ovirtmgmt is not a vm network you can even mix tagged and untagged networks (if not, you can't mix). You don's have to do anything besides creating the logical networks in ovirt and assign them to the interface, ovirt takes care of creating the virtual interfaces it needs. What you can't do is have more than one logical network per vlan (I think there's a feature request on this, I know I've asked it on the list:-) ). Regards, ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
I tried to define a virtual interface for vlan102, by adding ifcfg-bond0.102 manually and restarted network services. On Friday, January 17, 2014 4:45 PM, Itamar Heim ih...@redhat.com wrote: On 01/17/2014 11:38 PM, William Kwan wrote: OK.. tested with bond0.102 for vlan102 I guess I can't do this with oVirt? It wouldn't pickup this interface. It still shows up eth0, eth1 and bond0 only you tried to define a vlan youself on the bond, or use a vlan via a logical network over the bond via ovirt-engine (which should work)? Will On Friday, January 17, 2014 1:15 PM, William Kwan pota...@yahoo.com wrote: Thanks all for the info. I'm trying the suggestions with 3.3.2-1.el6 Assaf mentioned the following which is true. You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. I tried a few things and I haven't been able to find a way through. Obviously or not, there are more facts/rules. Just put up a few of them here Cannot have more than one non-VLAN network on one interface Cannot have a non-VLAN VM network and VLAN-tagged networks on one interface. ( got this when I tried to drag a VLAN-tagged VM network on the same interface as the non-VLAN VM network). I'll try to test adding a bond0.vlan. I need to have bond0 - for both mgmt network and a vlan bond1 - for another subnet. Will On Thursday, January 16, 2014 1:50 PM, Juan Pablo Lorier jplor...@gmail.com wrote: Hi William, You can have several logical networks on the same interface. If ovirtmgmt is not a vm network you can even mix tagged and untagged networks (if not, you can't mix). You don's have to do anything besides creating the logical networks in ovirt and assign them to the interface, ovirt takes care of creating the virtual interfaces it needs. What you can't do is have more than one logical network per vlan (I think there's a feature request on this, I know I've asked it on the list:-) ). Regards, ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
On 01/18/2014 12:05 AM, William Kwan wrote: I tried to define a virtual interface for vlan102, by adding ifcfg-bond0.102 manually and restarted network services. why not via ovirt-engine? On Friday, January 17, 2014 4:45 PM, Itamar Heim ih...@redhat.com wrote: On 01/17/2014 11:38 PM, William Kwan wrote: OK.. tested with bond0.102 for vlan102 I guess I can't do this with oVirt? It wouldn't pickup this interface. It still shows up eth0, eth1 and bond0 only you tried to define a vlan youself on the bond, or use a vlan via a logical network over the bond via ovirt-engine (which should work)? Will On Friday, January 17, 2014 1:15 PM, William Kwan pota...@yahoo.com mailto:pota...@yahoo.com wrote: Thanks all for the info. I'm trying the suggestions with 3.3.2-1.el6 Assaf mentioned the following which is true. You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. I tried a few things and I haven't been able to find a way through. Obviously or not, there are more facts/rules. Just put up a few of them here Cannot have more than one non-VLAN network on one interface Cannot have a non-VLAN VM network and VLAN-tagged networks on one interface. ( got this when I tried to drag a VLAN-tagged VM network on the same interface as the non-VLAN VM network). I'll try to test adding a bond0.vlan. I need to have bond0 - for both mgmt network and a vlan bond1 - for another subnet. Will On Thursday, January 16, 2014 1:50 PM, Juan Pablo Lorier jplor...@gmail.com mailto:jplor...@gmail.com wrote: Hi William, You can have several logical networks on the same interface. If ovirtmgmt is not a vm network you can even mix tagged and untagged networks (if not, you can't mix). You don's have to do anything besides creating the logical networks in ovirt and assign them to the interface, ovirt takes care of creating the virtual interfaces it needs. What you can't do is have more than one logical network per vlan (I think there's a feature request on this, I know I've asked it on the list:-) ). Regards, ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
On 01/16/2014 08:35 PM, Assaf Muller wrote: Ok so if you want to set the management network (untagged) and VM networks (tagged) on the same bond, then the management network has to be non-VM. IE: You won't be able to connect instances to the management network. William - did this work for you followin assaf steps below? you don't need to change anything at host level, all should be done from the webadmin Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: William Kwan pota...@yahoo.com To: Assaf Muller amul...@redhat.com Cc: users@ovirt.org, Christian Hernandez christi...@4over.com Sent: Thursday, January 16, 2014 7:59:46 PM Subject: Re: [Users] vlan on mgmt network Assaf, Thanks a lot. Will I be able to mix tagged and untagged traffic? Example: - bond0 on my two systems are on the management network, untagged - my VMs all have one connection to this management network - I want to setup a new VM with two interfaces, one on the management network, one on the tagged VLAN This will work it out? Thanks Will On Thursday, January 16, 2014 12:26 PM, Assaf Muller amul...@redhat.com wrote: You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. Here's a working upgrade procedure: 1) Edit ovirtmgmt, mark it as non-VM. 2) Go to all hosts using this network, select Setup Host Networks. You'll see that ovirtmgmt is out of sync. Edit the network and mark sync. Hit ok on the dialog of course :) Step 2 will be done for you automatically when you edit logical networks in oVirt 3.4 3) Create VM, VLAN networks 4) Go to all hosts you wish to place those networks, and drag the new VLAN networks on bond0. You don't need to do any prep work on your hosts before this procedure. oVirt will take care of this stuff for you. Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: Christian Hernandez christi...@4over.com To: William Kwan pota...@yahoo.com Cc: users@ovirt.org Sent: Thursday, January 16, 2014 6:36:49 PM Subject: Re: [Users] vlan on mgmt network Assuming it's on the same VLAN... I would make the subinterface (i.e. bond0.1) Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto: christi...@4over.com www.4over.com http://www.4over.com On Thu, Jan 16, 2014 at 8:31 AM, William Kwan pota...@yahoo.com wrote: Hi all, CentOS 6.5 and oVirt 3.3 Let's say I have bond0 (eth0 and eth1) on a management network. Logical network ovirtmgmt is set and working on top of Interfaces bond0. Is it possible to have another Logical network, e.g. ovirt777, on the same Interface bond0? Or I should add a virtual interface, e.g. bond0.1, tie it to VLAN 777 and create logical network with this virtual interface? Wil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
Assuming it's on the same VLAN... I would make the subinterface (i.e. bond0.1) Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com On Thu, Jan 16, 2014 at 8:31 AM, William Kwan pota...@yahoo.com wrote: Hi all, CentOS 6.5 and oVirt 3.3 Let's say I have bond0 (eth0 and eth1) on a management network. Logical network ovirtmgmt is set and working on top of Interfaces bond0. Is it possible to have another Logical network, e.g. ovirt777, on the same Interface bond0? Or I should add a virtual interface, e.g. bond0.1, tie it to VLAN 777 and create logical network with this virtual interface? Wil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. Here's a working upgrade procedure: 1) Edit ovirtmgmt, mark it as non-VM. 2) Go to all hosts using this network, select Setup Host Networks. You'll see that ovirtmgmt is out of sync. Edit the network and mark sync. Hit ok on the dialog of course :) Step 2 will be done for you automatically when you edit logical networks in oVirt 3.4 3) Create VM, VLAN networks 4) Go to all hosts you wish to place those networks, and drag the new VLAN networks on bond0. You don't need to do any prep work on your hosts before this procedure. oVirt will take care of this stuff for you. Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: Christian Hernandez christi...@4over.com To: William Kwan pota...@yahoo.com Cc: users@ovirt.org Sent: Thursday, January 16, 2014 6:36:49 PM Subject: Re: [Users] vlan on mgmt network Assuming it's on the same VLAN... I would make the subinterface (i.e. bond0.1) Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto: christi...@4over.com www.4over.com http://www.4over.com On Thu, Jan 16, 2014 at 8:31 AM, William Kwan pota...@yahoo.com wrote: Hi all, CentOS 6.5 and oVirt 3.3 Let's say I have bond0 (eth0 and eth1) on a management network. Logical network ovirtmgmt is set and working on top of Interfaces bond0. Is it possible to have another Logical network, e.g. ovirt777, on the same Interface bond0? Or I should add a virtual interface, e.g. bond0.1, tie it to VLAN 777 and create logical network with this virtual interface? Wil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
Assaf, Thanks a lot. Will I be able to mix tagged and untagged traffic? Example: - bond0 on my two systems are on the management network, untagged - my VMs all have one connection to this management network - I want to setup a new VM with two interfaces, one on the management network, one on the tagged VLAN This will work it out? Thanks Will On Thursday, January 16, 2014 12:26 PM, Assaf Muller amul...@redhat.com wrote: You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. Here's a working upgrade procedure: 1) Edit ovirtmgmt, mark it as non-VM. 2) Go to all hosts using this network, select Setup Host Networks. You'll see that ovirtmgmt is out of sync. Edit the network and mark sync. Hit ok on the dialog of course :) Step 2 will be done for you automatically when you edit logical networks in oVirt 3.4 3) Create VM, VLAN networks 4) Go to all hosts you wish to place those networks, and drag the new VLAN networks on bond0. You don't need to do any prep work on your hosts before this procedure. oVirt will take care of this stuff for you. Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: Christian Hernandez christi...@4over.com To: William Kwan pota...@yahoo.com Cc: users@ovirt.org Sent: Thursday, January 16, 2014 6:36:49 PM Subject: Re: [Users] vlan on mgmt network Assuming it's on the same VLAN... I would make the subinterface (i.e. bond0.1) Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto: christi...@4over.com www.4over.com http://www.4over.com On Thu, Jan 16, 2014 at 8:31 AM, William Kwan pota...@yahoo.com wrote: Hi all, CentOS 6.5 and oVirt 3.3 Let's say I have bond0 (eth0 and eth1) on a management network. Logical network ovirtmgmt is set and working on top of Interfaces bond0. Is it possible to have another Logical network, e.g. ovirt777, on the same Interface bond0? Or I should add a virtual interface, e.g. bond0.1, tie it to VLAN 777 and create logical network with this virtual interface? Wil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vlan on mgmt network
Ok so if you want to set the management network (untagged) and VM networks (tagged) on the same bond, then the management network has to be non-VM. IE: You won't be able to connect instances to the management network. Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: William Kwan pota...@yahoo.com To: Assaf Muller amul...@redhat.com Cc: users@ovirt.org, Christian Hernandez christi...@4over.com Sent: Thursday, January 16, 2014 7:59:46 PM Subject: Re: [Users] vlan on mgmt network Assaf, Thanks a lot. Will I be able to mix tagged and untagged traffic? Example: - bond0 on my two systems are on the management network, untagged - my VMs all have one connection to this management network - I want to setup a new VM with two interfaces, one on the management network, one on the tagged VLAN This will work it out? Thanks Will On Thursday, January 16, 2014 12:26 PM, Assaf Muller amul...@redhat.com wrote: You can make ovirtmgmt a non-VM, untagged (non-VLAN) network, then place as many VM, tagged networks as you'd like on the same NIC or bond. Here's a working upgrade procedure: 1) Edit ovirtmgmt, mark it as non-VM. 2) Go to all hosts using this network, select Setup Host Networks. You'll see that ovirtmgmt is out of sync. Edit the network and mark sync. Hit ok on the dialog of course :) Step 2 will be done for you automatically when you edit logical networks in oVirt 3.4 3) Create VM, VLAN networks 4) Go to all hosts you wish to place those networks, and drag the new VLAN networks on bond0. You don't need to do any prep work on your hosts before this procedure. oVirt will take care of this stuff for you. Assaf Muller, Cloud Networking Engineer Red Hat - Original Message - From: Christian Hernandez christi...@4over.com To: William Kwan pota...@yahoo.com Cc: users@ovirt.org Sent: Thursday, January 16, 2014 6:36:49 PM Subject: Re: [Users] vlan on mgmt network Assuming it's on the same VLAN... I would make the subinterface (i.e. bond0.1) Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto: christi...@4over.com www.4over.com http://www.4over.com On Thu, Jan 16, 2014 at 8:31 AM, William Kwan pota...@yahoo.com wrote: Hi all, CentOS 6.5 and oVirt 3.3 Let's say I have bond0 (eth0 and eth1) on a management network. Logical network ovirtmgmt is set and working on top of Interfaces bond0. Is it possible to have another Logical network, e.g. ovirt777, on the same Interface bond0? Or I should add a virtual interface, e.g. bond0.1, tie it to VLAN 777 and create logical network with this virtual interface? Wil ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users