Hi all,
I am using the latest Maas version (3.4) with Ubuntu 20.04 LTS (the default) as the comissioning distro.
I tried to follow the instructions present at https://github.com/canonical/packer-maas/tree/main/debian but until now I have been unsuccessful to launch a Debian 12 Machine.
Server Specs:
HP DL380 Gen 10+ with EFI enabled
My commands for the image generation:
git clone https://github.com/canonical/packer-maas.git
cd packer-maas/debian/
make debian SERIES=bookworm
sudo cp curtin_userdata_custom_amd64 /var/snap/maas/current/preseeds/curtin_userdata_custom_amd64_generic_debian-12
maas admin $PROFILE boot-resources create name='custom/debian-12' title='Debian 12 Custom' architecture='amd64/generic' filetype='tgz' content@=debian-custom-cloudimg.tar.gz -k
The error after trying the deploy on MaaS:
Thanks a lot
BR
r00ta
15 December 2023 11:10
2
Hi @jonaspaulo ,
if you are running snap could you please run on the rack
tree /var/snap/maas/common/maas/boot-resources/current/
?
Sure here it goes:
tree /var/snap/maas/common/maas/boot-resources/current/
/var/snap/maas/common/maas/boot-resources/current/
βββ bootaa64.efi -> bootloader/uefi/arm64/bootaa64.efi
βββ bootloader
β βββ open-firmware
β β βββ ppc64el
β β βββ bootppc64.bin
β βββ pxe
β β βββ i386
β β βββ cat.c32
β β βββ chain.c32
β β βββ cmd.c32
β β βββ cmenu.c32
β β βββ config.c32
β β βββ cptime.c32
β β βββ cpu.c32
β β βββ cpuid.c32
β β βββ cpuidtest.c32
β β βββ debug.c32
β β βββ dhcp.c32
β β βββ dir.c32
β β βββ disk.c32
β β βββ dmi.c32
β β βββ dmitest.c32
β β βββ elf.c32
β β βββ ethersel.c32
β β βββ gfxboot.c32
β β βββ gpxecmd.c32
β β βββ hdt.c32
β β βββ hexdump.c32
β β βββ host.c32
β β βββ ifcpu64.c32
β β βββ ifcpu.c32
β β βββ ifmemdsk.c32
β β βββ ifplop.c32
β β βββ kbdmap.c32
β β βββ kontron_wdt.c32
β β βββ ldlinux.c32
β β βββ lfs.c32
β β βββ libcom32.c32
β β βββ libgpl.c32
β β βββ liblua.c32
β β βββ libmenu.c32
β β βββ libutil.c32
β β βββ linux.c32
β β βββ lpxelinux.0
β β βββ ls.c32
β β βββ lua.c32
β β βββ mboot.c32
β β βββ meminfo.c32
β β βββ menu.c32
β β βββ pci.c32
β β βββ pcitest.c32
β β βββ pmload.c32
β β βββ poweroff.c32
β β βββ prdhcp.c32
β β βββ pwd.c32
β β βββ pxechn.c32
β β βββ pxelinux.0
β β βββ reboot.c32
β β βββ rosh.c32
β β βββ sanboot.c32
β β βββ sdi.c32
β β βββ sysdump.c32
β β βββ syslinux.c32
β β βββ vesa.c32
β β βββ vesainfo.c32
β β βββ vesamenu.c32
β β βββ vpdtest.c32
β β βββ whichsys.c32
β β βββ zzjson.c32
β βββ uefi
β βββ amd64
β β βββ bootx64.efi
β β βββ grubx64.efi
β βββ arm64
β βββ bootaa64.efi
β βββ grubaa64.efi
βββ bootppc64.bin -> bootloader/open-firmware/ppc64el/bootppc64.bin
βββ bootx64.efi -> bootloader/uefi/amd64/bootx64.efi
βββ chain.c32 -> bootloader/pxe/i386/chain.c32
βββ custom
β βββ amd64
β βββ generic
β βββ debian-12
β β βββ uploaded
β β βββ root-tgz
β βββ ol-8.8
β β βββ uploaded
β β βββ root-tgz
β βββ ol-9.2
β βββ uploaded
β βββ root-tgz
βββ esxi
β βββ amd64
β βββ generic
β βββ 7.0
β βββ uploaded
β βββ root-dd.gz
βββ grub
β βββ grub.cfg
βββ grubaa64.efi -> bootloader/uefi/arm64/grubaa64.efi
βββ grubx64.efi -> bootloader/uefi/amd64/grubx64.efi
βββ ifcpu64.c32 -> bootloader/pxe/i386/ifcpu64.c32
βββ ipxe.cfg
βββ ldlinux.c32 -> bootloader/pxe/i386/ldlinux.c32
βββ libcom32.c32 -> bootloader/pxe/i386/libcom32.c32
βββ libutil.c32 -> bootloader/pxe/i386/libutil.c32
βββ lpxelinux.0 -> bootloader/pxe/i386/lpxelinux.0
βββ maas.meta
βββ pxelinux.0 -> lpxelinux.0
βββ syslinux -> bootloader/pxe/i386
βββ ubuntu
βββ amd64
βββ ga-20.04
β βββ focal
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ ga-20.04-lowlatency
β βββ focal
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ ga-22.04
β βββ jammy
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ ga-22.04-lowlatency
β βββ jammy
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ generic
β βββ focal
β β βββ stable
β β βββ boot-initrd
β β βββ boot-kernel
β β βββ squashfs
β βββ jammy
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ hwe-20.04
β βββ focal
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ hwe-20.04-edge
β βββ focal
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ hwe-20.04-lowlatency
β βββ focal
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ hwe-20.04-lowlatency-edge
β βββ focal
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ hwe-22.04
β βββ jammy
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ hwe-22.04-edge
β βββ jammy
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ hwe-22.04-lowlatency
β βββ jammy
β βββ stable
β βββ boot-initrd
β βββ boot-kernel
β βββ squashfs
βββ hwe-22.04-lowlatency-edge
βββ jammy
βββ stable
βββ boot-initrd
βββ boot-kernel
βββ squashfs
67 directories, 128 files
r00ta
15 December 2023 14:12
4
uhm this is definitely wrong because the machine should ask for
/images/ubuntu/amd64/ga-20.04/focal/stable/boot-kernel
Could you please upload the full logs of the rackd?
r00ta
15 December 2023 14:16
5
uhm never mind I have reproduced it locally.
Could you please open a bug on LP?
Just an update with the latest git commit (369f4bc) of GitHub - canonical/packer-maas: Packer templates to create MAAS deployable images and MaaS 3.5.1 at least Debian 12 works on my setup.
BR
1 Like