The problem here is that resolute switched to dracut to generate initramfs and it's still not backward-compatible with the way initramfstools worked.
The problem that you see here is that the copymodules module doesn't copy the kernel modules from the initramfs to the root filesystem. There should be a fix for that here: https://launchpad.net/~bdrung/+archive/ubuntu/dracut But I think the dracut package in the PPA is older than the one in resolute now, so It will have to be re-uploaded. After that fix, it will still fail, though. The first reason is that MAAS tells curtin to copy the filesystem for the deployed system from /media/root-ro, which doesn't exist with dracut. I've tried creating a preseed that creates a symlink from /media/root-ro to /run/rootfsbase, but the deployment still fails. The reason it fails is that /run/rootfsbase isn't a read-only copy of the squashfs image. It's actually first mounted as a read-only copy of the squashfs image, but then it's re-mounted as an overlay, with itself as the lower dir. This has the affect that whatever is installed in the ephemeral environment to support the curtin installation is also copied to the deployed system. This might only cause subtle problems, but since in addition to this, /run/rootfsbase/usr/lib/modules is mounted as a tmpfs, curtin will copy everything except the kernel modules. So when the machine reboots, it won't have any kernel modules available. In order to make MAAS deploy resolute with dracut, we need the copymodules fix together with /media/root-ro that points to the read- only version of the squashfs image. ** Also affects: maas Importance: Undecided Status: New ** Changed in: maas Importance: Undecided => High ** Changed in: maas Status: New => Triaged ** Changed in: maas Milestone: None => 3.8.0 ** Also affects: dracut (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2147471 Title: not able to deploy 26.04 LTS Resolute Raccoon `FAIL: removing previous storage devices` To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/2147471/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
