Debian Not deploying

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

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

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?

uhm never mind I have reproduced it locally.

Could you please open a bug on LP?

Done: Bug #2046557 “Debian Image not being deployed” : Bugs : maas-images
Thanks
BR