cloud images should have /lib/modules inside
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-images |
Fix Released
|
High
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
maas images for xenial recently removed the kernel being installed inside.
Now, usage of modules after the initramfs depends upon cloud-initramfs
cloud-initramfs
If that directory is not present, then it cannot perform that mount.
The fix then would be either:
a.) ensure that all ubuntu images have /lib/modules inside them
Currently the lxd images do not have /lib/modules in them.
b.) cloud-initramfs
Its very non-trivial to do this, as cloud-initramfs
c.) fix maas images build process to insist that its output contains /lib/modules
currently the build process uses the cloud-image and then removes a kernel (which probably gets /lib/modules removed). The end goal is to use lxd images directly (at very least from a filesystem-contents perspective) so we'd' like to have the fix in 'a'.
I'll fix 'c' which will unbreak us for now.
I'll ask cloud images team to ensure /lib/modules is present.
Related branches
- Scott Moser: Approve
-
Diff: 24 lines (+3/-0)2 files modifieddebian/changelog (+2/-0)
live-build/ubuntu-cpc/hooks/030-root-tarball.binary (+1/-0)
Changed in maas-images: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
importance: | Medium → High |
status: | Confirmed → Fix Committed |
Changed in maas-images: | |
status: | Fix Committed → Fix Released |
Just for later reference, similar bug 1792905.