Network Interface order changed after reboot

Hi List, I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot. The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM. Is there any option to get this configured to be stable? Best regards and thank you Christoph

Christoph, Are those nodes bare-metal or they're VMs? Regards, Yevgeny On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

BTW, what oVirt (vdsm&engine) version do you use? On Sun, Jun 26, 2016 at 3:15 PM, Yevgeny Zaspitsky <yzaspits@redhat.com> wrote:
Christoph,
Are those nodes bare-metal or they're VMs?
Regards, Yevgeny
On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------660CA66865BF60D32DB90FF5 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm using currently the following: But the problem is not new. ovirt-engine.noarch 3.6.6.2-1.el7.centos @ovirt-3.6 vdsm.noarch 4.17.28-1.el7 @centos-ovirt36 Best regards Christoph Am 26.06.2016 um 14:19 schrieb Yevgeny Zaspitsky:
BTW, what oVirt (vdsm&engine) version do you use?
On Sun, Jun 26, 2016 at 3:15 PM, Yevgeny Zaspitsky <yzaspits@redhat.com <mailto:yzaspits@redhat.com>> wrote:
Christoph,
Are those nodes bare-metal or they're VMs?
Regards, Yevgeny
On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org <mailto:ovirt@timmi.org>> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
--------------660CA66865BF60D32DB90FF5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>Hi,</p> <p>I'm using currently the following:</p> <p>But the problem is not new.<br> </p> <p>ovirt-engine.noarch 3.6.6.2-1.el7.centos @ovirt-3.6 <br> </p> <p>vdsm.noarch 4.17.28-1.el7 @centos-ovirt36<br> <br> </p> <p>Best regards</p> <p>Christoph<br> </p> <br> <div class="moz-cite-prefix">Am 26.06.2016 um 14:19 schrieb Yevgeny Zaspitsky:<br> </div> <blockquote cite="mid:CAOQTZNeAJuWnbBLinJ2VYTVa91QT46_45JRojOH2r2V_788p+g@mail.gmail.com" type="cite"> <div dir="ltr">BTW, what oVirt (vdsm&engine) version do you use?<br> </div> <div class="gmail_extra"><br> <div class="gmail_quote">On Sun, Jun 26, 2016 at 3:15 PM, Yevgeny Zaspitsky <span dir="ltr"><<a moz-do-not-send="true" href="mailto:yzaspits@redhat.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:yzaspits@redhat.com">yzaspits@redhat.com</a></a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr"> <div> <div> <div>Christoph,<br> <br> </div> Are those nodes bare-metal or they're VMs?<br> <br> </div> Regards,<br> </div> Yevgeny</div> <div class="HOEnZb"> <div class="h5"> <div class="gmail_extra"><br> <div class="gmail_quote">On Thu, Jun 23, 2016 at 3:49 PM, <span dir="ltr"><<a moz-do-not-send="true" href="mailto:ovirt@timmi.org" target="_blank">ovirt@timmi.org</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi List,<br> <br> I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.<br> <br> The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.<br> <br> Is there any option to get this configured to be stable?<br> <br> Best regards and thank you<br> <br> Christoph<br> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> </blockquote> </div> <br> </div> </div> </div> </blockquote> </div> <br> </div> </blockquote> <br> </body> </html> --------------660CA66865BF60D32DB90FF5--

This is a multi-part message in MIME format. --------------D5F3D769607C3156818F7F02 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Yevgeny, this are real machines. Best regards Christoph Am 26.06.2016 um 14:15 schrieb Yevgeny Zaspitsky:
Christoph,
Are those nodes bare-metal or they're VMs?
Regards, Yevgeny
On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org <mailto:ovirt@timmi.org>> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
--------------D5F3D769607C3156818F7F02 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>Hi Yevgeny,</p> <p>this are real machines.</p> <p>Best regards<br> Christoph<br> </p> <div class="moz-cite-prefix">Am 26.06.2016 um 14:15 schrieb Yevgeny Zaspitsky:<br> </div> <blockquote cite="mid:CAOQTZNfmkn5_NSwaXrRkSbStUQL+MTtD1sEqzmYxPFw=hh7iKA@mail.gmail.com" type="cite"> <div dir="ltr"> <div> <div> <div>Christoph,<br> <br> </div> Are those nodes bare-metal or they're VMs?<br> <br> </div> Regards,<br> </div> Yevgeny</div> <div class="gmail_extra"><br> <div class="gmail_quote">On Thu, Jun 23, 2016 at 3:49 PM, <span dir="ltr"><<a moz-do-not-send="true" href="mailto:ovirt@timmi.org" target="_blank">ovirt@timmi.org</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi List,<br> <br> I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.<br> <br> The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.<br> <br> Is there any option to get this configured to be stable?<br> <br> Best regards and thank you<br> <br> Christoph<br> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> </blockquote> </div> <br> </div> </blockquote> <br> </body> </html> --------------D5F3D769607C3156818F7F02--

On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Hi Christoph, VDSM indeed edits and takes ownership of the interfaces for the networks it manages. However, editing the ifcfg files should not change anything in the order of the devices, unless it was originally set in an unsupported fashion. An ifcfg file is bound to a specific device name and I'm not familiar to device names floating around randomly. Perhaps you should elaborate more on what it means by 'order changed'. Here is an example of a setup we do not support (pre adding the host to Engine): The initial ifcfg file name: ifcfg-eth0 The initial ifcfg file content: DEVICE="eth1" In this configuration, the name of the ifcfg file is inconsistent with the name of the device it represents. VDSM expects them to me in sync. Please provide the ifcfg files before and after you add the host to Engine. Thanks, Edy.

On Sun, Jun 26, 2016 at 3:51 PM, Edward Haas <ehaas@redhat.com> wrote:
On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Hi Christoph,
VDSM indeed edits and takes ownership of the interfaces for the networks it manages. However, editing the ifcfg files should not change anything in the order of the devices, unless it was originally set in an unsupported fashion. An ifcfg file is bound to a specific device name and I'm not familiar to device names floating around randomly. Perhaps you should elaborate more on what it means by 'order changed'.
Here is an example of a setup we do not support (pre adding the host to Engine): The initial ifcfg file name: ifcfg-eth0 The initial ifcfg file content: DEVICE="eth1" In this configuration, the name of the ifcfg file is inconsistent with the name of the device it represents. VDSM expects them to me in sync.
Please provide the ifcfg files before and after you add the host to Engine.
Perhaps Christoph refers to the problem that [1] was meant to solve? [1] https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfac... -- Didi

On Sun, Jun 26, 2016 at 03:59:31PM +0300, Yedidyah Bar David wrote:
On Sun, Jun 26, 2016 at 3:51 PM, Edward Haas <ehaas@redhat.com> wrote:
On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Hi Christoph,
VDSM indeed edits and takes ownership of the interfaces for the networks it manages. However, editing the ifcfg files should not change anything in the order of the devices, unless it was originally set in an unsupported fashion. An ifcfg file is bound to a specific device name and I'm not familiar to device names floating around randomly. Perhaps you should elaborate more on what it means by 'order changed'.
Here is an example of a setup we do not support (pre adding the host to Engine): The initial ifcfg file name: ifcfg-eth0 The initial ifcfg file content: DEVICE="eth1" In this configuration, the name of the ifcfg file is inconsistent with the name of the device it represents. VDSM expects them to me in sync.
Please provide the ifcfg files before and after you add the host to Engine.
Perhaps Christoph refers to the problem that [1] was meant to solve?
[1] https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfac...
To add on what didi says, this should be the default with el7's systemd. It is surprising that your nics are named eth*, and not by the predictable nic name scheme. Maybe if you share your `lspci -vvv` and /var/log/messages of two different boots, we can have a hint regarding your instability.

Hi Dan, I'm using the kernal parameter net.ifnames=0 to have the old naming schema. I will try to get rid of it on the machine and check if this is solving my issue. Best regards Christoph Am 27.06.2016 um 08:29 schrieb Dan Kenigsberg:
On Sun, Jun 26, 2016 at 3:51 PM, Edward Haas <ehaas@redhat.com> wrote:
On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Hi Christoph,
VDSM indeed edits and takes ownership of the interfaces for the networks it manages. However, editing the ifcfg files should not change anything in the order of the devices, unless it was originally set in an unsupported fashion. An ifcfg file is bound to a specific device name and I'm not familiar to device names floating around randomly. Perhaps you should elaborate more on what it means by 'order changed'.
Here is an example of a setup we do not support (pre adding the host to Engine): The initial ifcfg file name: ifcfg-eth0 The initial ifcfg file content: DEVICE="eth1" In this configuration, the name of the ifcfg file is inconsistent with the name of the device it represents. VDSM expects them to me in sync.
Please provide the ifcfg files before and after you add the host to Engine.
Perhaps Christoph refers to the problem that [1] was meant to solve?
[1] https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfac... To add on what didi says, this should be the default with el7's systemd. It is surprising that your nics are named eth*, and not by the
On Sun, Jun 26, 2016 at 03:59:31PM +0300, Yedidyah Bar David wrote: predictable nic name scheme.
Maybe if you share your `lspci -vvv` and /var/log/messages of two different boots, we can have a hint regarding your instability.

This is a multi-part message in MIME format. --------------376CCBE775E16609A550A09B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Edy, please find some config files below. I did the interface config only through the oVirt GUI. I mean by reordering that after every reboot some interfaces are not the same as before. That means I need to change the cables after reboot. [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Generated by VDSM version 4.17.28-1.el7 DEVICE=eth0 ONBOOT=yes BOOTPROTO=dhcp MTU=1500 DEFROUTE=yes NM_CONTROLLED=no IPV6INIT=no [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1 # Generated by VDSM version 4.17.23-0.el7.centos DEVICE=eth1 BRIDGE=Test-LAN-SW1 ONBOOT=yes MTU=1500 NM_CONTROLLED=no IPV6INIT=no [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2 # Generated by VDSM version 4.17.23-0.el7.centos DEVICE=eth2 BRIDGE=PC-LAN ONBOOT=yes MTU=1500 NM_CONTROLLED=no IPV6INIT=no Best regards Christoph Am 26.06.2016 um 14:51 schrieb Edward Haas:
On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org <mailto:ovirt@timmi.org>> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
Hi Christoph,
VDSM indeed edits and takes ownership of the interfaces for the networks it manages. However, editing the ifcfg files should not change anything in the order of the devices, unless it was originally set in an unsupported fashion. An ifcfg file is bound to a specific device name and I'm not familiar to device names floating around randomly. Perhaps you should elaborate more on what it means by 'order changed'.
Here is an example of a setup we do not support (pre adding the host to Engine): The initial ifcfg file name: ifcfg-eth0 The initial ifcfg file content: DEVICE="eth1" In this configuration, the name of the ifcfg file is inconsistent with the name of the device it represents. VDSM expects them to me in sync.
Please provide the ifcfg files before and after you add the host to Engine.
Thanks, Edy.
--------------376CCBE775E16609A550A09B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> Hi Edy,<br> <br> please find some config files below. I did the interface config only through the oVirt GUI.<br> <br> I mean by reordering that after every reboot some interfaces are not the same as before. That means I need to change the cables after reboot.<br> <br> [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0<br> # Generated by VDSM version 4.17.28-1.el7<br> DEVICE=eth0<br> ONBOOT=yes<br> BOOTPROTO=dhcp<br> MTU=1500<br> DEFROUTE=yes<br> NM_CONTROLLED=no<br> IPV6INIT=no<br> [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1<br> # Generated by VDSM version 4.17.23-0.el7.centos<br> DEVICE=eth1<br> BRIDGE=Test-LAN-SW1<br> ONBOOT=yes<br> MTU=1500<br> NM_CONTROLLED=no<br> IPV6INIT=no<br> [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2<br> # Generated by VDSM version 4.17.23-0.el7.centos<br> DEVICE=eth2<br> BRIDGE=PC-LAN<br> ONBOOT=yes<br> MTU=1500<br> NM_CONTROLLED=no<br> IPV6INIT=no<br> <br> Best regards<br> Christoph<br> <br> <div class="moz-cite-prefix">Am 26.06.2016 um 14:51 schrieb Edward Haas:<br> </div> <blockquote cite="mid:CALmkdFTPGpiqNyXfkYBOZe-=5F=GPb+LzTGh97Ogmy82WunHTQ@mail.gmail.com" type="cite"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">On Thu, Jun 23, 2016 at 3:49 PM, <span dir="ltr"><<a moz-do-not-send="true" href="mailto:ovirt@timmi.org" target="_blank">ovirt@timmi.org</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi List,<br> <br> I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.<br> <br> The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.<br> <br> Is there any option to get this configured to be stable?<br> <br> Best regards and thank you<br> <br> Christoph<br> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> </blockquote> </div> <br> </div> <div class="gmail_extra">Hi Christoph,<br> <br> </div> <div class="gmail_extra">VDSM indeed edits and takes ownership of the interfaces for the networks it manages.<br> </div> <div class="gmail_extra">However, editing the ifcfg files should not change anything in the order of the devices, unless it was originally set <br> in an unsupported fashion. An ifcfg file is bound to a specific device name and I'm not familiar to device names<br> </div> <div class="gmail_extra">floating around randomly.<br> </div> <div class="gmail_extra">Perhaps you should elaborate more on what it means by 'order changed'.<br> </div> <div class="gmail_extra"><br> Here is an example of a setup we do not support (pre adding the host to Engine): <br> The initial ifcfg file name: ifcfg-eth0<br> </div> <div class="gmail_extra">The initial ifcfg file content: DEVICE="eth1"<br> </div> <div class="gmail_extra">In this configuration, the name of the ifcfg file is inconsistent with the name of the device it represents.<br> </div> <div class="gmail_extra">VDSM expects them to me in sync.<br> <br> </div> <div class="gmail_extra">Please provide the ifcfg files before and after you add the host to Engine.<br> </div> <div class="gmail_extra"><br> </div> <div class="gmail_extra">Thanks,<br> </div> <div class="gmail_extra">Edy.<br> </div> <div class="gmail_extra"><br> </div> </div> </blockquote> <br> </body> </html> --------------376CCBE775E16609A550A09B--

On Sun, Jun 26, 2016 at 4:48 PM, <ovirt@timmi.org> wrote:
Hi Edy,
please find some config files below. I did the interface config only through the oVirt GUI.
I mean by reordering that after every reboot some interfaces are not the same as before. That means I need to change the cables after reboot.
This sounds like the problem Didi referenced to. Before you configured the interfaces through oVirt, wasn't there any ifcfg files? (just to understand why you have not seen this before, without vdsm on the host)
[root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Generated by VDSM version 4.17.28-1.el7 DEVICE=eth0 ONBOOT=yes BOOTPROTO=dhcp MTU=1500 DEFROUTE=yes NM_CONTROLLED=no IPV6INIT=no [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1 # Generated by VDSM version 4.17.23-0.el7.centos DEVICE=eth1 BRIDGE=Test-LAN-SW1 ONBOOT=yes MTU=1500 NM_CONTROLLED=no IPV6INIT=no [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2 # Generated by VDSM version 4.17.23-0.el7.centos DEVICE=eth2 BRIDGE=PC-LAN ONBOOT=yes MTU=1500 NM_CONTROLLED=no IPV6INIT=no
Best regards Christoph
Am 26.06.2016 um 14:51 schrieb Edward Haas:
On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Hi Christoph,
VDSM indeed edits and takes ownership of the interfaces for the networks it manages. However, editing the ifcfg files should not change anything in the order of the devices, unless it was originally set in an unsupported fashion. An ifcfg file is bound to a specific device name and I'm not familiar to device names floating around randomly. Perhaps you should elaborate more on what it means by 'order changed'.
Here is an example of a setup we do not support (pre adding the host to Engine): The initial ifcfg file name: ifcfg-eth0 The initial ifcfg file content: DEVICE="eth1" In this configuration, the name of the ifcfg file is inconsistent with the name of the device it represents. VDSM expects them to me in sync.
Please provide the ifcfg files before and after you add the host to Engine.
Thanks, Edy.

This is a multi-part message in MIME format. --------------DB1A7A23E942A9C9087F5394 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit No I just eth0 was configured during OS installation. All other interface have been configured through the oVirt GUI. Best regards Christoph Am 26.06.2016 um 16:08 schrieb Edward Haas:
On Sun, Jun 26, 2016 at 4:48 PM, <ovirt@timmi.org <mailto:ovirt@timmi.org>> wrote:
Hi Edy,
please find some config files below. I did the interface config only through the oVirt GUI.
I mean by reordering that after every reboot some interfaces are not the same as before. That means I need to change the cables after reboot.
This sounds like the problem Didi referenced to.
Before you configured the interfaces through oVirt, wasn't there any ifcfg files? (just to understand why you have not seen this before, without vdsm on the host)
[root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Generated by VDSM version 4.17.28-1.el7 DEVICE=eth0 ONBOOT=yes BOOTPROTO=dhcp MTU=1500 DEFROUTE=yes NM_CONTROLLED=no IPV6INIT=no [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1 # Generated by VDSM version 4.17.23-0.el7.centos DEVICE=eth1 BRIDGE=Test-LAN-SW1 ONBOOT=yes MTU=1500 NM_CONTROLLED=no IPV6INIT=no [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2 # Generated by VDSM version 4.17.23-0.el7.centos DEVICE=eth2 BRIDGE=PC-LAN ONBOOT=yes MTU=1500 NM_CONTROLLED=no IPV6INIT=no
Best regards Christoph
Am 26.06.2016 um 14:51 schrieb Edward Haas:
On Thu, Jun 23, 2016 at 3:49 PM, <ovirt@timmi.org <mailto:ovirt@timmi.org>> wrote:
Hi List,
I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.
The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.
Is there any option to get this configured to be stable?
Best regards and thank you
Christoph
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
Hi Christoph,
VDSM indeed edits and takes ownership of the interfaces for the networks it manages. However, editing the ifcfg files should not change anything in the order of the devices, unless it was originally set in an unsupported fashion. An ifcfg file is bound to a specific device name and I'm not familiar to device names floating around randomly. Perhaps you should elaborate more on what it means by 'order changed'.
Here is an example of a setup we do not support (pre adding the host to Engine): The initial ifcfg file name: ifcfg-eth0 The initial ifcfg file content: DEVICE="eth1" In this configuration, the name of the ifcfg file is inconsistent with the name of the device it represents. VDSM expects them to me in sync.
Please provide the ifcfg files before and after you add the host to Engine.
Thanks, Edy.
--------------DB1A7A23E942A9C9087F5394 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>No I just eth0 was configured during OS installation. All other interface have been configured through the oVirt GUI.</p> <p>Best regards<br> Christoph</p> <p>Am 26.06.2016 um 16:08 schrieb Edward Haas:<br> </p> <blockquote cite="mid:CALmkdFQQTmU8oxGTOZ90u=7wCd54rTShTOY+d2a80m_-0cC_3A@mail.gmail.com" type="cite"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">On Sun, Jun 26, 2016 at 4:48 PM, <span dir="ltr"><<a moz-do-not-send="true" href="mailto:ovirt@timmi.org" target="_blank">ovirt@timmi.org</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> Hi Edy,<br> <br> please find some config files below. I did the interface config only through the oVirt GUI.<br> <br> I mean by reordering that after every reboot some interfaces are not the same as before. That means I need to change the cables after reboot.<br> </div> </blockquote> <div><br> </div> <div>This sounds like the problem Didi referenced to.<br> <br> </div> <div>Before you configured the interfaces through oVirt, wasn't there any ifcfg files?<br> </div> <div>(just to understand why you have not seen this before, without vdsm on the host)<br> </div> <div> <br> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <br> [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0<br> # Generated by VDSM version 4.17.28-1.el7<br> DEVICE=eth0<br> ONBOOT=yes<br> BOOTPROTO=dhcp<br> MTU=1500<br> DEFROUTE=yes<br> NM_CONTROLLED=no<br> IPV6INIT=no<br> [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1<br> # Generated by VDSM version 4.17.23-0.el7.centos<br> DEVICE=eth1<br> BRIDGE=Test-LAN-SW1<br> ONBOOT=yes<br> MTU=1500<br> NM_CONTROLLED=no<br> IPV6INIT=no<br> [root@lxedna ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2<br> # Generated by VDSM version 4.17.23-0.el7.centos<br> DEVICE=eth2<br> BRIDGE=PC-LAN<br> ONBOOT=yes<br> MTU=1500<br> NM_CONTROLLED=no<br> IPV6INIT=no<br> <br> Best regards<br> Christoph <div> <div class="h5"><br> <br> <div>Am 26.06.2016 um 14:51 schrieb Edward Haas:<br> </div> <blockquote type="cite"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">On Thu, Jun 23, 2016 at 3:49 PM, <span dir="ltr"><<a moz-do-not-send="true" href="mailto:ovirt@timmi.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ovirt@timmi.org">ovirt@timmi.org</a></a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi List,<br> <br> I have two nodes (running CentOS 7) and the network interface order changed for some interfaces after every reboot.<br> <br> The configurations are done through the oVirt GUI. So the ifcfg-ethX scripts are configured automatically by VDSM.<br> <br> Is there any option to get this configured to be stable?<br> <br> Best regards and thank you<br> <br> Christoph<br> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> </blockquote> </div> <br> </div> <div class="gmail_extra">Hi Christoph,<br> <br> </div> <div class="gmail_extra">VDSM indeed edits and takes ownership of the interfaces for the networks it manages.<br> </div> <div class="gmail_extra">However, editing the ifcfg files should not change anything in the order of the devices, unless it was originally set <br> in an unsupported fashion. An ifcfg file is bound to a specific device name and I'm not familiar to device names<br> </div> <div class="gmail_extra">floating around randomly.<br> </div> <div class="gmail_extra">Perhaps you should elaborate more on what it means by 'order changed'.<br> </div> <div class="gmail_extra"><br> Here is an example of a setup we do not support (pre adding the host to Engine): <br> The initial ifcfg file name: ifcfg-eth0<br> </div> <div class="gmail_extra">The initial ifcfg file content: DEVICE="eth1"<br> </div> <div class="gmail_extra">In this configuration, the name of the ifcfg file is inconsistent with the name of the device it represents.<br> </div> <div class="gmail_extra">VDSM expects them to me in sync.<br> <br> </div> <div class="gmail_extra">Please provide the ifcfg files before and after you add the host to Engine.<br> </div> <div class="gmail_extra"><br> </div> <div class="gmail_extra">Thanks,<br> </div> <div class="gmail_extra">Edy.<br> </div> <div class="gmail_extra"><br> </div> </div> </blockquote> <br> </div> </div> </div> </blockquote> </div> <br> </div> </div> </blockquote> <br> </body> </html> --------------DB1A7A23E942A9C9087F5394--
participants (5)
-
Dan Kenigsberg
-
Edward Haas
-
ovirt@timmi.org
-
Yedidyah Bar David
-
Yevgeny Zaspitsky