У меня есть трёхузловой кластер PVE 6.3, работающий на трёх почти идентичных (разница только в ОЗУ — у двух по 48 ГБ, у третьего 96 ГБ) блейдах Dell PowerEdge C6100, каждый с 2x Xeon X5650 и сетевой картой Chelsio T420-CR 2x 10Gbit. При загрузке у каждого узла стабильно не поднимается ни один из интерфейсов. systemctl restart networking выдаёт ошибку; ifup vmbr0 сообщает, что другой экземпляр ifup уже запущен. Но я заметил в последний раз (сегодня утром), что запущено очень много (более 50) процессов systemd-udevd. Это показалось странным, поэтому я перезапустил systemctl restart systemd-udevd. Всё прошло успешно, хоть и заняло больше минуты. После этого я запустил systemctl restart networking — и сеть поднялась менее чем за секунду, оба интерфейса стали активны, система вышла в онлайн.
Файл /etc/network/interfaces у всех трёх узлов одинаковый, за исключением IP-адресов:
root@pve1:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Пожалуйста, НЕ редактируйте этот файл напрямую, если не знаете, что делаете.
# Если хотите управлять частью сетевой конфигурации вручную,
# используйте директивы 'source' или 'source-directory'.
# PVE сохранит эти директивы, но НЕ будет читать сетевую конфигурацию из подключённых файлов,
# так что не переносите управляемые PVE интерфейсы во внешние файлы!
auto lo
iface lo inet loopback
iface enp3s0f4 inet manual
auto enp3s0f4d1
iface enp3s0f4d1 inet static
address 192.168.5.101/24
iface eno1 inet manual
iface eno2 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.3/24
gateway 192.168.1.1
bridge-ports enp3s0f4
bridge-stp off
bridge-fd 0
dmesg показывает отсутствие прошивки — Proxmox почему-то убрали её из своих пакетов (в оригинальных Debian-пакетах она есть), но это, похоже, не мешает поднять интерфейс вручную:
root@pve1:~# dmesg | grep cxgb
[ 2.869044] cxgb4 0000:03:00.4: Direct firmware load for cxgb4/t4fw.bin failed with error -2
[ 2.869050] cxgb4 0000:03:00.4: unable to load firmware image cxgb4/t4fw.bin, error -2
[ 2.869377] cxgb4 0000:03:00.4: Coming up as MASTER: Initializing adapter
[ 3.588928] cxgb4 0000:03:00.4: Direct firmware load for cxgb4/t4-config.txt failed with error -2
[ 3.600882] cxgb4 0000:03:00.4: Hash filter with ofld is not supported by FW
[ 4.352902] cxgb4 0000:03:00.4: Successfully configured using Firmware Configuration File "Firmware Default", version 0x0, computed checksum 0x0
[ 4.560904] cxgb4 0000:03:00.4: max_ordird_qp 255 max_ird_adapter 589824
[ 4.608903] cxgb4 0000:03:00.4: Failed to read filter mode/mask via fw api, using indirect-reg-read
[ 4.707555] cxgb4 0000:03:00.4: 98 MSI-X vectors allocated, nic 16 per uld 16
[ 4.707565] cxgb4 0000:03:00.4: 32.000 Gb/s available PCIe bandwidth (5 GT/s x8 link)
[ 4.742324] cxgb4 0000:03:00.4 eth0: eth0: Chelsio T420-CR (0000:03:00.4) 1G/10GBASE-SFP
[ 4.742685] cxgb4 0000:03:00.4 eth1: eth1: Chelsio T420-CR (0000:03:00.4) 1G/10GBASE-SFP
[ 4.742788] cxgb4 0000:03:00.4: Chelsio T420-CR rev 2
[ 4.742790] cxgb4 0000:03:00.4: S/N: PT36121180, P/N: 110112040F0
[ 4.742793] cxgb4 0000:03:00.4: Firmware version: 1.16.63.0
[ 4.742795] cxgb4 0000:03:00.4: Bootstrap version: 255.255.255.255
[ 4.742797] cxgb4 0000:03:00.4: TP Microcode version: 0.1.9.4
[ 4.742798] cxgb4 0000:03:00.4: No Expansion ROM loaded
[ 4.742800] cxgb4 0000:03:00.4: Serial Configuration version: 0x4271203
[ 4.742802] cxgb4 0000:03:00.4: VPD version: 0x1
[ 4.742804] cxgb4 0000:03:00.4: Configuration: RNIC MSI-X, Offload capable
[ 4.744883] cxgb4 0000:03:00.4 enp3s0f4d1: renamed from eth1
[ 4.765240] cxgb4 0000:03:00.4 enp3s0f4: renamed from eth0
[ 784.532945] cxgb4 0000:03:00.4 enp3s0f4d1: SR module inserted
[ 784.736967] cxgb4 0000:03:00.4 enp3s0f4: SR module inserted
[ 785.108039] cxgb4 0000:03:00.4: Interface enp3s0f4d1 is running DCBx-IEEE
[ 785.108068] cxgb4 0000:03:00.4 enp3s0f4d1: link up, 10Gbps, full-duplex, Tx/Rx PAUSE
[ 785.307924] cxgb4 0000:03:00.4: Interface enp3s0f4 is running DCBx-IEEE
[ 785.307938] cxgb4 0000:03:00.4 enp3s0f4: link up, 10Gbps, full-duplex, Tx/Rx PAUSE
[ 787.206943] cxgb4 0000:03:00.4: Port 0 link down, reason: Link Down
[ 787.206967] cxgb4 0000:03:00.4 enp3s0f4: link down
[ 787.806610] cxgb4 0000:03:00.4: Interface enp3s0f4 is running DCBx-IEEE
[ 787.806634] cxgb4 0000:03:00.4 enp3s0f4: link up, 10Gbps, full-duplex, Tx/Rx PAUSE
[ 787.906568] cxgb4 0000:03:00.4: Port 0 link down, reason: Link Down
[ 787.906586] cxgb4 0000:03:00.4 enp3s0f4: link down
[ 788.406302] cxgb4 0000:03:00.4: Interface enp3s0f4 is running DCBx-IEEE
[ 788.406325] cxgb4 0000:03:00.4 enp3s0f4: link up, 10Gbps, full-duplex, Tx/Rx PAUSE
Файл /etc/network/interfaces у всех трёх узлов одинаковый, за исключением IP-адресов:
root@pve1:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Пожалуйста, НЕ редактируйте этот файл напрямую, если не знаете, что делаете.
# Если хотите управлять частью сетевой конфигурации вручную,
# используйте директивы 'source' или 'source-directory'.
# PVE сохранит эти директивы, но НЕ будет читать сетевую конфигурацию из подключённых файлов,
# так что не переносите управляемые PVE интерфейсы во внешние файлы!
auto lo
iface lo inet loopback
iface enp3s0f4 inet manual
auto enp3s0f4d1
iface enp3s0f4d1 inet static
address 192.168.5.101/24
iface eno1 inet manual
iface eno2 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.3/24
gateway 192.168.1.1
bridge-ports enp3s0f4
bridge-stp off
bridge-fd 0
dmesg показывает отсутствие прошивки — Proxmox почему-то убрали её из своих пакетов (в оригинальных Debian-пакетах она есть), но это, похоже, не мешает поднять интерфейс вручную:
root@pve1:~# dmesg | grep cxgb
[ 2.869044] cxgb4 0000:03:00.4: Direct firmware load for cxgb4/t4fw.bin failed with error -2
[ 2.869050] cxgb4 0000:03:00.4: unable to load firmware image cxgb4/t4fw.bin, error -2
[ 2.869377] cxgb4 0000:03:00.4: Coming up as MASTER: Initializing adapter
[ 3.588928] cxgb4 0000:03:00.4: Direct firmware load for cxgb4/t4-config.txt failed with error -2
[ 3.600882] cxgb4 0000:03:00.4: Hash filter with ofld is not supported by FW
[ 4.352902] cxgb4 0000:03:00.4: Successfully configured using Firmware Configuration File "Firmware Default", version 0x0, computed checksum 0x0
[ 4.560904] cxgb4 0000:03:00.4: max_ordird_qp 255 max_ird_adapter 589824
[ 4.608903] cxgb4 0000:03:00.4: Failed to read filter mode/mask via fw api, using indirect-reg-read
[ 4.707555] cxgb4 0000:03:00.4: 98 MSI-X vectors allocated, nic 16 per uld 16
[ 4.707565] cxgb4 0000:03:00.4: 32.000 Gb/s available PCIe bandwidth (5 GT/s x8 link)
[ 4.742324] cxgb4 0000:03:00.4 eth0: eth0: Chelsio T420-CR (0000:03:00.4) 1G/10GBASE-SFP
[ 4.742685] cxgb4 0000:03:00.4 eth1: eth1: Chelsio T420-CR (0000:03:00.4) 1G/10GBASE-SFP
[ 4.742788] cxgb4 0000:03:00.4: Chelsio T420-CR rev 2
[ 4.742790] cxgb4 0000:03:00.4: S/N: PT36121180, P/N: 110112040F0
[ 4.742793] cxgb4 0000:03:00.4: Firmware version: 1.16.63.0
[ 4.742795] cxgb4 0000:03:00.4: Bootstrap version: 255.255.255.255
[ 4.742797] cxgb4 0000:03:00.4: TP Microcode version: 0.1.9.4
[ 4.742798] cxgb4 0000:03:00.4: No Expansion ROM loaded
[ 4.742800] cxgb4 0000:03:00.4: Serial Configuration version: 0x4271203
[ 4.742802] cxgb4 0000:03:00.4: VPD version: 0x1
[ 4.742804] cxgb4 0000:03:00.4: Configuration: RNIC MSI-X, Offload capable
[ 4.744883] cxgb4 0000:03:00.4 enp3s0f4d1: renamed from eth1
[ 4.765240] cxgb4 0000:03:00.4 enp3s0f4: renamed from eth0
[ 784.532945] cxgb4 0000:03:00.4 enp3s0f4d1: SR module inserted
[ 784.736967] cxgb4 0000:03:00.4 enp3s0f4: SR module inserted
[ 785.108039] cxgb4 0000:03:00.4: Interface enp3s0f4d1 is running DCBx-IEEE
[ 785.108068] cxgb4 0000:03:00.4 enp3s0f4d1: link up, 10Gbps, full-duplex, Tx/Rx PAUSE
[ 785.307924] cxgb4 0000:03:00.4: Interface enp3s0f4 is running DCBx-IEEE
[ 785.307938] cxgb4 0000:03:00.4 enp3s0f4: link up, 10Gbps, full-duplex, Tx/Rx PAUSE
[ 787.206943] cxgb4 0000:03:00.4: Port 0 link down, reason: Link Down
[ 787.206967] cxgb4 0000:03:00.4 enp3s0f4: link down
[ 787.806610] cxgb4 0000:03:00.4: Interface enp3s0f4 is running DCBx-IEEE
[ 787.806634] cxgb4 0000:03:00.4 enp3s0f4: link up, 10Gbps, full-duplex, Tx/Rx PAUSE
[ 787.906568] cxgb4 0000:03:00.4: Port 0 link down, reason: Link Down
[ 787.906586] cxgb4 0000:03:00.4 enp3s0f4: link down
[ 788.406302] cxgb4 0000:03:00.4: Interface enp3s0f4 is running DCBx-IEEE
[ 788.406325] cxgb4 0000:03:00.4 enp3s0f4: link up, 10Gbps, full-duplex, Tx/Rx PAUSE


Я получаю это сообщение перед установкой и после загрузки (когда система уже установлена). Чтобы сеть заработала, приходится выполнять `systemctl restart network`.
).