Network interfaces not recognised after upgrade 3.0.3 -> 3.1.0
dbutti
28 Posts
May 27, 2022, 1:41 pmQuote from dbutti on May 27, 2022, 1:41 pmGood morning; today I have started updating my 3-node cluster from 3.0.3 to 3.1.0 using the /opt/petasan/scripts/online-updates/update.sh script.
After update, I rebooted the first node and it would display "Failed to start Raise network interfaces"; the node would not be visible on the network anymore.
By connecting through local console, I noticed that the network devices had been renamed to "ens3", "ens4" and so on, instead of the expected "eth0", "eth1" and so on.
I could fix the issue by editing /etc/udev/rules.d/70-persistent-net.rules and removing the KERNEL=="eth*", option on every line:
BEFORE:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:e0:33:91", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
AFTER:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:e0:33:91", ATTR{type}=="1", NAME="eth0"
Now it can reboot normally and everything will start with no issues. Is there anything else I should watch out for? Is this expected? (I assume it happened at sometime when moving to the new Ubuntu Version?) Should I have done anything differently when upgrading?
Thank-you,
Good morning; today I have started updating my 3-node cluster from 3.0.3 to 3.1.0 using the /opt/petasan/scripts/online-updates/update.sh script.
After update, I rebooted the first node and it would display "Failed to start Raise network interfaces"; the node would not be visible on the network anymore.
By connecting through local console, I noticed that the network devices had been renamed to "ens3", "ens4" and so on, instead of the expected "eth0", "eth1" and so on.
I could fix the issue by editing /etc/udev/rules.d/70-persistent-net.rules and removing the KERNEL=="eth*", option on every line:
BEFORE:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:e0:33:91", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
AFTER:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:e0:33:91", ATTR{type}=="1", NAME="eth0"
Now it can reboot normally and everything will start with no issues. Is there anything else I should watch out for? Is this expected? (I assume it happened at sometime when moving to the new Ubuntu Version?) Should I have done anything differently when upgrading?
Thank-you,
Last edited on May 27, 2022, 1:42 pm by dbutti · #1
Network interfaces not recognised after upgrade 3.0.3 -> 3.1.0
dbutti
28 Posts
Quote from dbutti on May 27, 2022, 1:41 pmGood morning; today I have started updating my 3-node cluster from 3.0.3 to 3.1.0 using the /opt/petasan/scripts/online-updates/update.sh script.
After update, I rebooted the first node and it would display "Failed to start Raise network interfaces"; the node would not be visible on the network anymore.
By connecting through local console, I noticed that the network devices had been renamed to "ens3", "ens4" and so on, instead of the expected "eth0", "eth1" and so on.
I could fix the issue by editing /etc/udev/rules.d/70-persistent-net.rules and removing the KERNEL=="eth*", option on every line:
BEFORE:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:e0:33:91", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
AFTER:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:e0:33:91", ATTR{type}=="1", NAME="eth0"
Now it can reboot normally and everything will start with no issues. Is there anything else I should watch out for? Is this expected? (I assume it happened at sometime when moving to the new Ubuntu Version?) Should I have done anything differently when upgrading?
Thank-you,
Good morning; today I have started updating my 3-node cluster from 3.0.3 to 3.1.0 using the /opt/petasan/scripts/online-updates/update.sh script.
After update, I rebooted the first node and it would display "Failed to start Raise network interfaces"; the node would not be visible on the network anymore.
By connecting through local console, I noticed that the network devices had been renamed to "ens3", "ens4" and so on, instead of the expected "eth0", "eth1" and so on.
I could fix the issue by editing /etc/udev/rules.d/70-persistent-net.rules and removing the KERNEL=="eth*", option on every line:
BEFORE:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:e0:33:91", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
AFTER:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:e0:33:91", ATTR{type}=="1", NAME="eth0"
Now it can reboot normally and everything will start with no issues. Is there anything else I should watch out for? Is this expected? (I assume it happened at sometime when moving to the new Ubuntu Version?) Should I have done anything differently when upgrading?
Thank-you,