MAAS fails to enlist HPE DL380 Gen10 in PXE-HTTP mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Alberto Donato |
Bug Description
# Environment
MAAS version (SNAP):
maas 2.8.2-8577-
MAAS was cleanly installed. KVM POD setup works.
MAAS status:
bind9 RUNNING pid 9258, uptime 15:13:02
dhcpd RUNNING pid 26173, uptime 15:09:30
dhcpd6 STOPPED Not started
http RUNNING pid 19526, uptime 15:10:49
ntp RUNNING pid 27147, uptime 14:02:18
proxy RUNNING pid 25909, uptime 15:09:33
rackd RUNNING pid 7219, uptime 15:13:20
regiond RUNNING pid 7221, uptime 15:13:20
syslog RUNNING pid 19634, uptime 15:10:48
# Problem
Enlisting HPE DL380 Gen10 servers (latest firmware,U30 v2.34 (04/08/2020) ) fails. Node Fails to PXE boot as it is unable to obtain GRUB config via TFTP from MAAS. The node is correctly assigned IP address, however MAAS does not listen on UDP 5248 and node uses pxe location 10.216.240.1:5248 as obtained in DHCP ACK (Boot file name: http://
The default GRUB config file is available via TFTP, but on port UDP 69:
root@inf1az1cz2
* Trying 10.216.240.1...
* Connected to 10.216.240.1 () port 69 (#0)
set default="0"
set timeout=0
menuentry 'Commission' {
echo 'Booting under MAAS direction...'
linuxefi (http,10.
initrdefi (http,10.
}
The node tries however to obtain the grub.cfg via UDP 5248. It does so as the DHCP Boot file name location denotes 10.216.240.1:5248
# Analysis
1) Node obtains DHCP IP address from MAAS (10.216.240.1)
2778 2020-10-13 07:22:39,796888 10.216.240.1 255.255.255.255 DHCP 389 DHCP ACK - Transaction ID 0x328a9583
Your (client) IP address: 10.216.240.51
Next server IP address: 10.216.240.1
Boot file name: http://
2) Node obtains bootloader via HTTP
2825 2020-10-13 07:22:40,836910 10.216.240.51 10.216.240.1 HTTP 146 GET /bootx64.efi HTTP/1.1
3382 2020-10-13 07:22:40,857714 10.216.240.1 10.216.240.51 HTTP 2921 HTTP/1.1 200 OK (text/html)
3404 2020-10-13 07:22:40,865559 10.216.240.51 10.216.240.1 TCP 60 1995 → 5248 [RST] Seq=186 Win=65535 Len=0
3410 2020-10-13 07:22:40,910505 10.216.240.51 10.216.240.1 HTTP 152 GET //grubx64.efi HTTP/1.1
3897 2020-10-13 07:22:40,929345 10.216.240.1 10.216.240.51 HTTP 15018 HTTP/1.1 200 OK (text/html)
3919 2020-10-13 07:22:40,930069 10.216.240.51 10.216.240.1 TCP 60 1996 → 5248 [RST] Seq=99 Win=65535 Len=0
3) Node obtains GRUB config location via HTTP
3947 2020-10-13 07:22:41,401169 10.216.240.51 10.216.240.1 HTTP 154 GET /grub/x86_
3951 2020-10-13 07:22:41,406033 10.216.240.1 10.216.240.51 HTTP 59 HTTP/1.1 404 Not Found (text/html) (text/html)
3959 2020-10-13 07:22:41,406285 10.216.240.51 10.216.240.1 HTTP 149 GET /grub/x86_
3963 2020-10-13 07:22:41,413525 10.216.240.1 10.216.240.51 HTTP 59 HTTP/1.1 404 Not Found (text/html) (text/html)
3971 2020-10-13 07:22:41,413750 10.216.240.51 10.216.240.1 HTTP 153 GET /grub/x86_
3975 2020-10-13 07:22:41,415447 10.216.240.1 10.216.240.51 HTTP 59 HTTP/1.1 404 Not Found (text/html) (text/html)
3983 2020-10-13 07:22:41,415647 10.216.240.51 10.216.240.1 HTTP 155 GET /grub/x86_
3987 2020-10-13 07:22:41,418531 10.216.240.1 10.216.240.51 HTTP 59 HTTP/1.1 404 Not Found (text/html) (text/html)
3995 2020-10-13 07:22:41,418890 10.216.240.51 10.216.240.1 HTTP 140 GET /grub/grub.cfg HTTP/1.1
3997 2020-10-13 07:22:41,421687 10.216.240.1 10.216.240.51 HTTP 481 HTTP/1.1 200 OK (text/html)
--- /grub/grub.cfg ---
# MAAS GRUB2 pre-loader configuration file
# Load based on MAC address first.
configfile (pxe)/grub/
# Failed to load based on MAC address.
# Load amd64 by default, UEFI only supported by 64-bit
configfile (pxe)/grub/
--- /grub/grub.cfg ---
4) Node tries to obtain GRUB config via TFTP based on MAAS given location ( configfile (pxe)/grub/
3999 2020-10-13 07:22:41,439578 10.216.240.51 10.216.240.1 TFTP 104 Read Request, File: /grub/grub.
Internet Protocol Version 4, Src: 10.216.240.51, Dst: 10.216.240.1
User Datagram Protocol, Src Port: 25300, Dst Port: 5248
4000 2020-10-13 07:22:41,439613 10.216.240.1 10.216.240.51 ICMP 132 Destination unreachable (Port unreachable)
4847 2020-10-13 07:23:13,085446 10.216.240.51 10.216.240.1 TFTP 100 Read Request, File: /grub/grub.
4848 2020-10-13 07:23:13,085496 10.216.240.1 10.216.240.51 ICMP 128 Destination unreachable (Port unreachable)
<DROPS to GRUB prompt>
In GRUB prompt:
grub> net_ls_addr
efinet d4:f5:ef:02:3d:e8 10.216.240.51
grub> configfile (http,10.
<drops to the prompt again>
grub> configfile (tftp,10.
<starts bootup process>
Changed in maas: | |
assignee: | nobody → Alberto Donato (ack) |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.9.0b6 |
Changed in maas: | |
milestone: | 2.9.0b6 → 2.9.0b7 |
Changed in maas: | |
milestone: | 2.9.0b7 → 2.9.x |
Changed in maas: | |
status: | Fix Committed → Fix Released |
no longer affects: | maas/2.8 |
This looks like a duplicate of https:/ /bugs.launchpad .net/maas/ +bug/1879012, where grub doesn't bring up networking when loaded over http.