VM Network Interfaces - bad cluster network and VLAN assignment

Hello, I have 4 Cluster networks and I am trying to add 2 NICs to VM now: nic0 -> br0 nic1 -> br1 At ovirt-engine it seems ok, but assignment in qemu is incorrect - going to this: nic0 -> br1 nic1 -> br0 So nics belongs to incorrect bridges and so incorrect VLANs. It does oVirt totally unusable for me (we strictly use 0 network for public IPs and 1 for intranet use) :( With one NIC I not see this problem. http://tinypic.com/view.php?pic=29pzxbr&s=8#.VBjLUxYoEiw http://tinypic.com/view.php?pic=2hdd07m&s=8#.VBjLgRYoEiw Thank for help. J.

Ahoj Jiří, Are you sure that the networks are indeed wrong, for example that guest's NIC with ...:11 MAC is plugged to br0 network and ...:ef NIC is plugged to br1 network? If so that would be a serious bug. I thing however that you just see guest OS NIC naming race conditions, maybe if ovirt's NIC names would be prefixed with nic- instead of eth- by default, such confusions wouldn't happen... For some reference, bug [1] is implemented consistent NIC order in the portal and [2] to be able to modify pci addresses as well (as they are used by some OSs to base NIC naming on). David [1] https://bugzilla.redhat.com/show_bug.cgi?id=1040630 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1108926 On St, 2014-09-17 at 07:33 +0200, J. Mikulec wrote:
Hello,
I have 4 Cluster networks and I am trying to add 2 NICs to VM now:
nic0 -> br0 nic1 -> br1
At ovirt-engine it seems ok, but assignment in qemu is incorrect - going to this: nic0 -> br1 nic1 -> br0
So nics belongs to incorrect bridges and so incorrect VLANs. It does oVirt totally unusable for me (we strictly use 0 network for public IPs and 1 for intranet use) :(
With one NIC I not see this problem.
http://tinypic.com/view.php?pic=29pzxbr&s=8#.VBjLUxYoEiw http://tinypic.com/view.php?pic=2hdd07m&s=8#.VBjLgRYoEiw
Thank for help.
J. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Ahoj :) After huge testing today :) I see it is problem just if I add NICs after VM creation and automatically assigned MACs are 00:1a:4a:c4:e4:11 and 00:1a:4a:c4:e4:ef. In this case there is also desc alphabetical sorting of nic (sorting by MAC?). This problem is NOT when: - NICs are added in time of VM creation (windows New Virtual Machine, tab General) - 1 NIC is added in time of VM creation and 1 added later - when all NICs are added later and oVirt assign another MAC J. Dne 17.9.2014 11:16, David Jaša napsal(a):
Ahoj Jiří,
Are you sure that the networks are indeed wrong, for example that guest's NIC with ...:11 MAC is plugged to br0 network and ...:ef NIC is plugged to br1 network? If so that would be a serious bug. I thing however that you just see guest OS NIC naming race conditions, maybe if ovirt's NIC names would be prefixed with nic- instead of eth- by default, such confusions wouldn't happen...
For some reference, bug [1] is implemented consistent NIC order in the portal and [2] to be able to modify pci addresses as well (as they are used by some OSs to base NIC naming on).
David
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1040630 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1108926
On St, 2014-09-17 at 07:33 +0200, J. Mikulec wrote:
Hello,
I have 4 Cluster networks and I am trying to add 2 NICs to VM now:
nic0 -> br0 nic1 -> br1
At ovirt-engine it seems ok, but assignment in qemu is incorrect - going to this: nic0 -> br1 nic1 -> br0
So nics belongs to incorrect bridges and so incorrect VLANs. It does oVirt totally unusable for me (we strictly use 0 network for public IPs and 1 for intranet use) :(
With one NIC I not see this problem.
http://tinypic.com/view.php?pic=29pzxbr&s=8#.VBjLUxYoEiw http://tinypic.com/view.php?pic=2hdd07m&s=8#.VBjLgRYoEiw
Thank for help.
J. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
David Jaša
-
J. Mikulec