Comment 33 for bug 1743249

Revision history for this message
Steve Langasek (vorlon) wrote : Re: Failed Deployment after timeout trying to retrieve grub cfg

Regarding grub requesting the same file 4 times, a surprising finding: I'm able to reproduce this with files of a certain length. By chance my grub.cfg was 1 byte shorter than the one maas serves (269 bytes instead of 270), and I saw multiple requests for this file.

To reproduce this in a VM using UEFI:
- set up dhcp to point to bootx64.efi
- set up tftp with bootx64.efi and grubx64.efi but not grub/grub.cfg
- create files of varying sizes and access them using 'source (pxe)/config-file-on-server'

A simple file consisting of nothing but newlines is sufficient.

confirmed "good" file lengths: 1,2,3,4,266,268,270
confirmed "bad" file lengths: 267,269,271,584,595,627

No pattern established yet.