Comment 7 for bug 2007167

Revision history for this message
James Denton (james-denton) wrote :

Hi Lucas -

An additional hint was provided by https://bugs.launchpad.net/neutron/+bug/1971431:

"But then baremetal node fails to download ipxe.efi. It seems that the TFTP requests are being send towards DHCP server instead of ironic-conductor's TFTP server. So I checked the dhcp_options and realized that `next_server` option was missing. That's the second problem.

As soon as I manually added `next_server` with `ovn-nbctl dhcp-options-set-options <dhcp-option> [...] next_server="10.0.100.9"`, the baremetal node successfully downloaded ipxe.efi and booted just fine."

Worded differently, but exactly the behavior I'm seeing. I just verified that using `ovn-nbctl dhcp-options-set-options <dhcp-option> [...] next_server="<tftp ip>"` kicked off the download of ipxe.efi from the tftp server. It seems that option next_server is missing from the standard offer, but can be seen here once I add it manually:

04:36:28.903073 fa:16:3e:89:90:e6 > 0c:42:a1:d3:3f:e6, ethertype 802.1Q (0x8100), length 392: vlan 6, p 0, ethertype IPv4 (0x0800), (tos 0x0, ttl 64, id 2290, offset 0, flags [none], proto UDP (17), length 374)
    192.168.208.1.67 > 255.255.255.255.68: [no cksum] BOOTP/DHCP, Reply, length 346, xid 0x502f8efd, secs 4, Flags [Broadcast] (0x8000)
   Your-IP 192.168.208.228
   Server-IP 192.168.208.22
   Client-Ethernet-Address 0c:42:a1:d3:3f:e6
   Vendor-rfc1048 Extensions
     Magic Cookie 0x63825363
     DHCP-Message (53), length 1: Offer
     BF (67), length 8: "ipxe.efi"
     Unknown (253), length 4: 3232288790
     Domain-Name-Server (6), length 4: 8.8.4.4
     Domain-Name (15), length 20: "cloud.arcanebyte.com"
     Lease-Time (51), length 4: 43200
     MTU (26), length 2: 1500
     Subnet-Mask (1), length 4: 255.255.252.0
     Default-Gateway (3), length 4: 192.168.208.1
     Server-ID (54), length 4: 192.168.208.1
     TFTP (66), length 14: "192.168.208.22"
     TFTP-Server-Address (150), length 4: 192.168.208.22
     PAD (0), length 0, occurs 4
     END (255), length 0
     PAD (0), length 0, occurs 4

Just to verify, here's what I'm running:

root@lab-infra02:/var/log/ovn# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"

root@lab-infra02:/var/log/ovn# ovn-nbctl --version
ovn-nbctl 22.09.0
Open vSwitch Library 3.0.1
DB Schema 6.3.0