尝试在 MAAS 中调试节点时,启动后目标屏幕上会显示以下内容:
Booting from PXE Device 1: Integrated NIC 1 Port 1 Partition 1
>>Start PXE over IPv4.
Station IP address is 10.22.20.191
Server IP address is 10.22.20.48
NBP filename is bootx64.efi
NBP filesize is 1169992 Bytes
Downloading NBP file...
PXE-E99 Unexpected network error.
Boot Failed: PXE Device 1: Integrated NIC 1 Port 1 Partition 1
知道是什么原因造成的吗? maas 日志中没有值得注意的内容。
MAAS 的 TCP 转储:
17:45:03.279587 IP 10.22.20.191.1721 > 10.22.20.48.69: 41 RRQ "bootx64.efi" octet tsize 0 blksize 1468
17:45:03.285344 IP 10.22.20.48.53395 > 10.22.20.191.1721: UDP, length 29
17:45:04.285873 IP 10.22.20.48.53395 > 10.22.20.191.1721: UDP, length 29
17:45:05.286848 IP 10.22.20.48.53395 > 10.22.20.191.1721: UDP, length 29
17:45:06.287664 IP 10.22.20.48.53395 > 10.22.20.191.1721: UDP, length 29
17:45:07.288373 IP 10.22.20.48.53395 > 10.22.20.191.1721: UDP, length 29
17:45:08.289217 IP 10.22.20.48.53395 > 10.22.20.191.1721: UDP, length 29
17:45:08.298572 ARP, Request who-has 10.22.20.191 tell 10.22.20.48, length 28
17:45:09.298576 ARP, Request who-has 10.22.20.191 tell 10.22.20.48, length 28
17:45:10.298575 ARP, Request who-has 10.22.20.191 tell 10.22.20.48, length 28
答案1
MAAS 服务器有两个 NIC:1 个用于管理/gui/ipmi(eth0),1 个用于 PXE(eth1)。
用于 PXE (eth1) 的 MAAS 网卡与网络上其他主机的 IP 地址发生冲突。IP 冲突不会阻止 DHCP 分配,但会导致 bootx64.efi 的 TFTP 交换失败。
这最初并不明显,因为 MAAS 可以通过 eth0 成功访问,而 DHCP 则通过 eth1 分配地址。