PXE not working after upgrading to 2.5.0

after some more digging it does seem like the root of the problem is in the bnx2 NIC support (or lack thereof)…

Would either of the following work?:

1: With my (working) external PXE server, set MAAS as next-server for commissioning and deployment, or does the machine need to PXE boot from MAAS directly?

2: Could I replace the pxelinux.0 that MAAS uses with my older version, or with a new version that has the bnx2 driver compiled in? (And probably replace the initrd also)?

I’ve the same issue…my ver is 2.5.3. I’ve made the same lab on another server with the 2.4.X and it works fine!!!

Hi,
I’ve tried to make the upgrade from 2.5 to 2.6 as suggested here, and that issue has been resolved.
But to make up on my lab I’ll wait that the 2.6 go to ppa stable.

upgrade:
Used the stable repository the issue has not been fixed, it’s still present.

2.6 hasn’t fixed it for me. I think in my case the issue is the fw for the bnx2 is not distributable as it’s under a proprietary license.

I found an old article describing a workaround here to add the bnx2 firmware into the initrd for pxebooting to work. It’s not clear to me which initrd is used by Maas for pxeboot. is it /var/lib/maas/boot-resources/current/boot-initrd? Would this approach still work although the advice is 10 years old?

Here’s how my boot looks right now:

https://imgur.com/v83qdz3

More head scratching here. I managed to get a second NIC installed into 1 box to test, (a modern intel NIC) and I see same issue still.

Right, I have one of these boxes in front of me now, and am able to reproduce this issue 100%. It seems like some other network issue may be causing this, as I’ve installed a test MAAS region/rack to bare metal on a simple LAN, and the issue still occurs as stated above regardless of if I’m attempting to boot from the bnx2 card or the test second NIC I’ve installed (an Intel 82574L card). I guess next steps are to run some Wireshark captures and see what’s actually happening.

I wasn’t able to glean much from Wireshark. 2.4.x successfully commissions/deploys the servers however.

I need pod deployment for those machines to complete my environment buildout. Is it possible to restore a 2.5.x package to a ppa please? I assume some iteration on 2.6 is in the works to improve the compatibility regression that was introduced, but I’d really appreciate an interim solution that I might get from a 2.5.x version.

So MAAS 2.4 vs MAAS 2.5/2.6 has differences in that 2.4 fully uses TFTP and in MAAS 2.5/2.6 the PXE process for legacy (which seems to be the case here) leverages HTTP boot. That means that lpxelinux.0 gets downloaded over TFTP and the initrd/kernel do so over HTTP.

This was introduced in MAAS 2.5. What’s interesting here is that MAAS 2.6 has not had any changes wrt to this for legacy systems. The changes that MAAS 2.6 has introduced all relate to:

  1. KVM VMs will now use iPXE
  2. For EFI machines and arm64 with older firmware, we do something similar in which grub is downloaded over TFTP and the rest over HTTP.
  3. For EFI machines with newer firmware, it supports full HTTP boot.
  4. Changes in the DHCP config to support all of the above.

So I’m surprised this won’t work on 2.6 when it did work on 2.5. While the machine is PXE booting, can you paste the output of rackd.log ?

It’s possible the issue did occur on 2.5 also, but I haven’t been able to verify as 2.5 seems to be unavailable. I was suggesting 2.5 as to me it was the last known good version to my environment.

I’m collecting logs and detail here.

my lab is on vmware fusion, I’ve the same issue on 2.6.0

27

hi, did you resolve that?

No. Reverting back to 2.4.2 allows me to PXE boot those servers, but at a loss of all the 2.5.x+ functionality.

I’ve reported that on bugs.launchpad.net here is the link is the link. Let’s see if someone has our same issue.

I’ve made the same thing… reverting back to 2.4.2 with the 2.5 and 2.6 the PXE boot on vmware fusion not works.

I’m facing the same problem. Is there really no solution other than downgrading to 2.4?

What can one do to help with moving the ball forward?

Having this same issue with a BL460c Gen8 on MAAS 2.5/2.6 (Legacy BIOS), this is blocking deployment.

For those still having this issue, this was my workaround:

if option arch = 00:00 {
    filename "pxelinux.0";
}

Insert this as a DHCP snippet at the subnet level and PXE will work.

Looking at this post, it seems like it may be a firmware issue with the NIC.