Comment 3 for bug 1398572

Revision history for this message
Rod Smith (rodsmith) wrote : Re: MAAS 1.7 is fails to download boot images when local mirror is missing some files

FWIW, the writeup to which Jeff refers is:

https://docs.google.com/a/canonical.com/document/d/1jrBA4KeKb2oTjM3eHQJx0bxHe9LnMGheYWOiJjxzWAI/edit#

The key is this:

> MAAS also requires some grub net booting files, which aren’t included in the content apt-mirror typically mirrors. These can be included by adding this line (as one line) to /var/spool/apt-mirror/var/postmirror.sh:
>
> wget -nH --cut-dirs 4 -r --no-parent -P /var/spool/apt-mirror/mirror/tw.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/ http://tw.archive.ubuntu.com/ubuntu/dists/trusty/main/uefi/grub2-amd64/

The mirror issue isn't really a MAAS bug per se, but this needs to be documented whenever a mirror to be used for MAAS is documented -- or maybe apt-mirror should be updated. (Should a bug be filed against apt-mirror?) As Jeff says, better error logging would be extremely helpful.