
Hello oVirt users, I'm running into network setup problems. http://www.ovirt.org/Vdsm_Network Shows this as a supported topology. bridge1 --- v1 --- bond --- nic1 bridge2 --- v2 --/ \-- nic2 Problem is I have to configure at least this on each host in order to the connect to an activate: v1 --- bond --- nic1 \-- nic2 Which oVirt does not like because I already created the bond and attached a vlan interface to it. So I configured this ahead of time (without vdsm) bridge1 --- v1 --- bond --- nic1 bridge2 --- v2 --/ \-- nic2 Those work fine. I can use each bridge statically or with DHCP. Problem is that oVirt refuses to use the bridge interfaces (they don't show up in the web gui), it only wants to use the bond interface. If I was using libvirt/kvm-manager I would preconfigure this (without vdsm): bridge1 --- v1 --- bond --- nic1 bridge2 --- v2 --/ \-- nic2 And I'm be able to run VMs on other VLAN. (Which is what I want to achieve with oVirt). Is there a way I can achieve what I need to do (connecting VMs to either VLAN) with one of my preconfigured setups without resorting to another nic (or bonded pair?) -- Dwight

Hi, the "solution" to your problem is, that you don't need to setup any "on top" networking at all, after basic setup, so: no bonds, no vlans. Just configure everything in ovirt, you can easily construct some bonded setup with v-lans on top, ovirt creates it all for you. HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

On Mon, 2014-07-07 at 06:40 +0000, Sven Kieske wrote:
Hi,
the "solution" to your problem is, that you don't need to setup any "on top" networking at all, after basic setup, so: no bonds, no vlans.
Just configure everything in ovirt, you can easily construct some bonded setup with v-lans on top, ovirt creates it all for you.
Yes, I've found that out doing some more playing around with it. However, I can't connect to it initially without an existing minimal setup, which requires me to have set up the bond and and at least one vlan. If I use an initial vlan tag that is not one that OVirt networks will need to use, then I'm getting Ovirt to cooperate. -- Dwight

On Sat, Jul 05, 2014 at 03:05:51AM +0000, Dwight Schauer wrote:
Hello oVirt users,
I'm running into network setup problems.
http://www.ovirt.org/Vdsm_Network
Shows this as a supported topology.
bridge1 --- v1 --- bond --- nic1 bridge2 --- v2 --/ \-- nic2
Problem is I have to configure at least this on each host in order to the connect to an activate:
v1 --- bond --- nic1 \-- nic2
Which oVirt does not like because I already created the bond and attached a vlan interface to it.
What do you mean by "not like"? If v1 has an IP address attached to it, you should be able to add this host to an oVirt cluster. Once the host is added, you can use the GUI to seup more stuff on your host.
So I configured this ahead of time (without vdsm)
bridge1 --- v1 --- bond --- nic1 bridge2 --- v2 --/ \-- nic2
Those work fine. I can use each bridge statically or with DHCP.
Problem is that oVirt refuses to use the bridge interfaces (they don't show up in the web gui), it only wants to use the bond interface.
I would not recommend this, but you could define a libvirt network per bridge to make it show in the web gui: <network> <name>vdsm-bridge1</name> <forward mode='bridge'/> <bridge name='bridge1' /> </network>
If I was using libvirt/kvm-manager I would preconfigure this (without vdsm):
bridge1 --- v1 --- bond --- nic1 bridge2 --- v2 --/ \-- nic2
And I'm be able to run VMs on other VLAN. (Which is what I want to achieve with oVirt).
Is there a way I can achieve what I need to do (connecting VMs to either VLAN) with one of my preconfigured setups without resorting to another nic (or bonded pair?)

On Mon, 2014-07-07 at 10:52 +0100, Dan Kenigsberg wrote:
On Sat, Jul 05, 2014 at 03:05:51AM +0000, Dwight Schauer wrote:
Which oVirt does not like because I already created the bond and attached a vlan interface to it.
What do you mean by "not like"? If v1 has an IP address attached to it, you should be able to add this host to an oVirt cluster.
By "not like" I mean I can try to configure oVirt networking but it won't work with the way I had it set up.
I would not recommend this, but you could define a libvirt network per bridge to make it show in the web gui: <network> <name>vdsm-bridge1</name> <forward mode='bridge'/> <bridge name='bridge1' /> </network>
Thanks. I don't think I'll need to use that since I've found that if I use an initial vlan interface with an id I won't be using in the oVirt networking setup then I don't run into problems. While I need to have some initial network pre-configuration, I've found out who to do it in a way that oVirt will accept and work with. -- Dwight
participants (3)
-
Dan Kenigsberg
-
Dwight Schauer
-
Sven Kieske