** Description changed:

+ === Begin SRU Template ===
+ [Impact] 
+ MAAS uses 'maas images' from http://maas.ubuntu.com/images/ephemeral-v2/ to
+ boot a ephemeral environment for curtin to do an install in.  The ephemeral
+ environment is pxe booted with root on a iscsi target also provided by MAAS
+ 
+ For hardware enablement kernels the kernel is not installed in the iscsi
+ root.  Instead, the initramfs contains all the modules that are necessary
+ and cloud-initramfs-copymods takes care of copying those modules from
+ /lib/modules in the initramfs into the target.
+ 
+ This is a well tested path in 14.04 and later, but was not present in
+ 12.04.
+ 
+ The request is to bring cloud-intiramfs-copymods code from 14.04 to
+ 12.04.
+ 
+ [Test Case]
+ Simple test case: install cloud-initramfs-copymods in prese.
+   * boot precise system
+   * enable proposed
+   * apt-get update && apt-get install -qy cloud-initramfs-copymods
+   * initrd=/boot/initrd.img-$(uname -r)
+     echo $initrd
+     lsinitramfs $initrd | grep copymods && echo GOOD || echo MISSING
+ 
+ MAAS Image Test case: Check maas image for presense of copymods
+   * download latest daily initramfs precise hwe-t. from 
http://maas.ubuntu.com/images/ephemeral-v2/daily/precise/amd64/ .  Under that 
URL you'll find a date. Given that date:
+      $ serial=20151105
+      $ burl=http://maas.ubuntu.com/images/ephemeral-v2/daily/precise/amd64
+      $ wget "$burl/$serial/trusty/generic/boot-initrd" -O boot-initrd
+      $ lsinitramfs | grep copymods && echo GOOD || echo MISSING
+   
+ MAAS 1.9 Test Case: Deploy MAAS 1.9 with bcache.
+   * configure a node for bcache
+   * install node
+   * currently this will fail with error like:
+      FATAL: Could not load /lib/modules/3.13.0-68-generic/modules.dep: No 
such file or directory
+      An error occured handling 'bcache0': ProcessExecutionError - Unexpected 
error while running command.
+      Command: ['modprobe', 'bcache']
+ 
+ [Regression Potential] 
+ New binary only package will not likely cause any regression.  Only to people 
who pick up this new package which takes action on their part.
+ 
+ === End SRU Template ===
+ 
  cloud-initramfs-copymods is an initramfs module that copies moves the
  modules from the initramfs into the root if there are no modules in the
  root.  This allows you to boot an initramfs with a root= and after
  pivot_root still see the modules as if they were there.
  
  bug 1513176 reported failure of bcache with maas images. The failure was two 
pronged.
- A.) there was no bcache module in the initramfs .  
+ A.) there was no bcache module in the initramfs .
  B.) in precise, there is no cloud-initramfs-copymods available in the archive
  
  In order to boot hwe kernels with 12.04 in MAAS, we need to add cloud-
  initramfs-copymods to the initramfs.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1515661

Title:
  SRU:add cloud-initramfs-copymods to 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas-images/+bug/1515661/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to