ifreload failed

Dragon19

Member
Jan 4, 2020
45
2
8
29
Code:
TASK ERROR: command 'ifreload -a' failed: exit code 1
How can I fix this? Happens every time I modify the network.
 

Dragon19

Member
Jan 4, 2020
45
2
8
29
It seems to be throwing an error about the length of mac address (24) not being supported.
 

Dragon19

Member
Jan 4, 2020
45
2
8
29
ifupdown2 ?

if yes, can you send your /etc/network/interfaces, and result of ifreload in debug mode "ifreload -a -d" ?
I'm not home right now but I've used proxmox before without this issue, even while installing on top of buster.

I've verified this issue on multiple nodes and ifupdown2 is installed.

Steps to reproduce:

Install buster. Install proxmox on top. Install opensm/rdma-core and follow the how to for infiniband on the proxmox wiki. Once infiniband is added reboot.

I've removed all network interfaces from the file. I've tried changing it. I've tried setting it back to default. The error continues regardless and network changes require a physical reboot as ifup/ifconfig does not initialize the interfaces correctly.
 

cquest

Member
Feb 21, 2016
11
0
21
53
Same problem for me since a hard reboot of one of my servers which completely lost network :(

I used ifupdown2 previously on this server and had no trouble, so it must be linked with some update.

On another node, infiniband does not causes trouble with ifupdown2.
The IB adapters are different, mellanox causes me troubles, qlogic is ok, but I'm not sure it is linked.
 

spirit

Famous Member
Apr 2, 2010
3,946
214
83
www.odiso.com
Was 2.0.1-1+pve2, now 2.0.1-1+pve3

Same error message: "error: main exception: Length of MACAddress attribute not supported: 24"

It comes from https://github.com/CumulusNetworks/python-nlmanager/blob/master/nlmanager/nlpacket.py#L591

I've replaced the raise.exception with a simple print('error') and the network comes up as expected on all interfaces.
I'm surprised not to have the same problem on another node, with a different IB card.
Thanks for the analysis. Can you send your network interfaces file ? Ans also output of "ifreload -a -d ". Ill make a bugreport to ifupdown2 dev
 

cquest

Member
Feb 21, 2016
11
0
21
53
The network interface file does not seem to have any link with this issue. This part of ifupdown2 scans the available devices, without using the interfaces file.

More details with a new node impacted...

I just got the same problem on a second server, also using a melanox adapter (same as the first one I reported).
lshw reports it as "MT26428 [ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE]"

No problem up to now on my third server using a Qlogic adapter: "IBA7322 QDR InfiniBand HCA"

Kernel versions:
- 1st server (Melanox): 5.3.13-1-pve
- 2nd server (Melanox): 5.3.18-1-pve <- just upgraded /rebooted
- 3rd server (QLogic): 5.3.13-1-pve

2nd and 3rd servers are both Dell R710, 1st is a Supermicro
 

spirit

Famous Member
Apr 2, 2010
3,946
214
83
www.odiso.com
The network interface file does not seem to have any link with this issue. This part of ifupdown2 scans the available devices, without using the interfaces file.

More details with a new node impacted...

I just got the same problem on a second server, also using a melanox adapter (same as the first one I reported).
lshw reports it as "MT26428 [ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE]"

No problem up to now on my third server using a Qlogic adapter: "IBA7322 QDR InfiniBand HCA"

Kernel versions:
- 1st server (Melanox): 5.3.13-1-pve
- 2nd server (Melanox): 5.3.18-1-pve <- just upgraded /rebooted
- 3rd server (QLogic): 5.3.13-1-pve

2nd and 3rd servers are both Dell R710, 1st is a Supermicro
The bug is related to some infiniband nic with big 24 characters length.
(could be verified with "ip addr" , and verify mac address size
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!