boot-initrd from maas images do not have bcache modules

Bug #1513176 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas-images
Fix Released
Medium
Scott Moser

Bug Description

I tried to do the following, and saw failure to install.

$ NAME=maas-1-10; NODE=node-06e710b4-6bcd-11e5-86f5-000e1e989680
$ maas smoser node set-storage-layout $NODE storage_layout=bcache
$ maas smoser nodes acquire name=$NAME
$ maas smoser node start $NODE hwe_kernel=hwe-v

The failure looks lilke this: http://paste.ubuntu.com/13103489/

specifically, you see the hwe-v kernel booted and then:
....
The operation has completed successfully.
Warning: The resulting partition is not properly aligned for best performance.
The operation has completed successfully.
modprobe: FATAL: Module bcache not found.
An error occured handling 'bcache32': ProcessExecutionError - Unexpected error while running command.
Command: ['modprobe', 'bcache']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Unexpected error while running command.
Command: ['modprobe', 'bcache']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''

Related branches

Scott Moser (smoser)
Changed in maas-images:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Scott Moser (smoser) wrote :

I've pushed the fix for this to maas-images. The initramfs built after revno 245 will have bcache module installed. I only added the module, did not install the bcache-tools package into the trusty->vivid images.

Also tested that the install above actually worked.

Revision history for this message
Scott Moser (smoser) wrote :

I've verified that bcache module is in
  trusty/20151027/hwe-t: [1]
  trusty/20151027/hwe-u: [2]
  trusty/20151027/hwe-v: [3]

vivid: The next build of vivid > 20151028 should have it
wily: no change will be apparent as the image had bcache-utils already so the module was added that way.
xenial: the first builds should have it, but woudl have anyway due to bcache-utils in image.

--
[1] http://maas.ubuntu.com/images/ephemeral-v2/daily/trusty/amd64/20151027/trusty/generic/boot-initrd
[2] http://maas.ubuntu.com/images/ephemeral-v2/daily/trusty/amd64/20151027/utopic/generic/boot-initrd
[3] http://maas.ubuntu.com/images/ephemeral-v2/daily/trusty/amd64/20151027/vivid/generic/boot-initrd

Scott Moser (smoser)
Changed in maas-images:
status: Confirmed → Fix Committed
Scott Moser (smoser)
Changed in maas-images:
assignee: nobody → Scott Moser (smoser)
Changed in maas-images:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.