Hi,
Do I understand it correctly that:
                -your OS uses PCI addresses to order NICSs?
                -PCI addresses of NICs are in fact non-consistent between VMs?
So you boot VM1 (with NICs vNIC1 and vNIC2) and VM2 (vNIC3 and vNIC4) with same 
order in eg. API (->GUI) and you sometimes see different PCI addresses (vNIC2 
has higher PCI address than vNIC1; however vNIC3 has higher PCI address than 
vNIC4)? I am surprised about that…

BR,
Konstantin

Von: Alan G <alan+ov...@griff.me.uk>
Datum: Mittwoch, 24. Mai 2023 um 10:50
An: Guillaume Pavese <guillaume.pav...@interactiv-group.com>
Cc: users <users@ovirt.org>
Betreff: [ovirt-users] Re: NIC Ordering

I don't create the VMs directly in the UI but use the API with Foreman. If I 
change the MACs on the NICs I have to go back and update Foreman as well.

My workaround today is unplug the NIC I want to be second, briefly power-up the 
VM so the "first" NIC gets assigned a PCI address, shutdown and re-plug the 
"second" NIC. On power-up the "second" NIC will be assigned a later PCI address 
and so achieve the ordering I want.

It's just fiddly and can only be done on first boot. I was hoping for a more 
elegant solution that works when you have large numbers of VMs to provision.



---- On Wed, 24 May 2023 08:09:21 +0100 Guillaume Pavese 
<guillaume.pav...@interactiv-group.com> wrote ---

I think it depends on the mac addresses.
If you see that the MAC addresses are not sequential, delete the NICs and 
recreate them in the order you want them to be
it world for us


Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Wed, May 24, 2023 at 1:46 AM Alan G 
<alan+ov...@griff.me.uk<mailto:alan%2bov...@griff.me.uk>> wrote:



Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à 
l’intention exclusive de ses destinataires et sont confidentiels. Si vous 
recevez ce message par erreur, merci de le détruire et d’en avertir 
immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa 
destination, toute diffusion ou toute publication, totale ou partielle, est 
interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer 
l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) 
toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été 
modifié. IT, ES, UK. <https://interactiv-group.com/disclaimer.html>

Is there any way to enforce NIC ordering so the vNICs match the ordering in the 
Engine UI?

I found this but not clear if it was ever implemented?

https://www.ovirt.org/develop/release-management/features/network/predictable-vnic-order.html


_______________________________________________
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/I3CSHZWQBSIGPKZKJBGVQUIJEGLHZNF3/



_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z5AJNBQ2TWMI5ZBFP2IN2NBTK3ROEOKY/

Reply via email to