On Fri, Mar 12, 2021 at 10:45 PM Date Huang <email address hidden> wrote:
>
> After reading log in #14, and some code from cloud-init and maas
> I still cannot find any code that will let cloud-init try to install flash-kernel wtih zfsutils-linux.
> and it seems the error because squashfs didn't have any kernel installed.
> So `linux-version` cannot find any kernel version to pass to flash-kernel to process postinst script.
> `Can't find /boot/vmlinuz- (see /tmp/flash-kernel-no-kernel-error.log)` $kvers is empty.
I'm not sure what the point of that is - it probably should be removed.
> and as I know, squashfs only for temp utils?
> It will create an environment for curtin to install real system into disk
> Am I correct?
Yes, the failure in comment #14 is occurring in what we call the
"ephemeral image", which only exists in memory to install an OS to the
disk. Though the same image is also what is written to the disk.
> Do you have any custom cloud-init config for xgene?
On Fri, Mar 12, 2021 at 10:45 PM Date Huang <email address hidden> wrote: kernel- no-kernel- error.log) ` $kvers is empty.
>
> After reading log in #14, and some code from cloud-init and maas
> I still cannot find any code that will let cloud-init try to install flash-kernel wtih zfsutils-linux.
> and it seems the error because squashfs didn't have any kernel installed.
> So `linux-version` cannot find any kernel version to pass to flash-kernel to process postinst script.
> `Can't find /boot/vmlinuz- (see /tmp/flash-
I added some debugging and found that this is what causes flash-kernel /git.launchpad. net/curtin/ tree/curtin/ deps/__ init__. py?h=21. 2#n57
to be installed:
https:/
I'm not sure what the point of that is - it probably should be removed.
> and as I know, squashfs only for temp utils?
> It will create an environment for curtin to install real system into disk
> Am I correct?
Yes, the failure in comment #14 is occurring in what we call the
"ephemeral image", which only exists in memory to install an OS to the
disk. Though the same image is also what is written to the disk.
> Do you have any custom cloud-init config for xgene?
No
-dann