replace iscsi usage in ephemeral image with rooturl

Bug #1689557 reported by Scott Moser on 2017-05-09
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
High
Lee Trager
2.3
High
Lee Trager
maas-images
Medium
Lee Trager

Bug Description

Blake and I did some work to test out usage or rooturl.
The general goal was to drop usage of iscsi root for enlistment,
commissioning, deployment and rescue.

The package that enables this is cloud-initramfs-rooturl [1], part of
cloud-initramfs-tools source package.

In order to accomplish this, what needs to be done are
A. changes in maas to send kernel parameters with 'rooturl=' wherever
   it previously used iscsi_* and change root= to be of the format:
       root=squashfs:http://url/...

B. changes in maas to remove usage and management of tgt. This should
   include at some point completely removing the tgt items found in
   an upgrade to clean disk space.

C. changes in maas-images to build squashfs images for supported releases.
   Currently maas-images (v3) only builds squashfs for xenial+. We will
   at minimum need trusty, and likely need precise.

   Another path to this would be to have maas send the rooturl=...tar.xz
   However, having consistently for all releases would be good.

Under bug 1688606:
D. SRU of cloud-initramfs-rooturl to trusty, xenial, yakkety and
   possibly precise.
E. maas-images modification to include cloud-initramfs-rooturl in
   the packages that are built in the initramfs (note, that does not
   need to change the image itself, only the kernel/initrd packs:
   kpack-from-image).

Related bugs:
 * bug 1688606: SRU cloud-initramfs-rooturl to archive

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.3.0
assignee: nobody → Blake Rouse (blake-rouse)
Scott Moser (smoser) on 2017-05-09
description: updated
Scott Moser (smoser) on 2017-05-10
Changed in maas-images:
status: New → Triaged
importance: Undecided → Medium
Lee Trager (ltrager) on 2017-06-27
Changed in maas:
assignee: Blake Rouse (blake-rouse) → Lee Trager (ltrager)
Changed in maas-images:
assignee: nobody → Lee Trager (ltrager)
Lee Trager (ltrager) wrote :

The stream has been updated to include SquashFS Trusty images. MAAS has been modified to allow deployments over HTTP instead of iSCSI when the global configuration option http_boot=true. After some testing with MAAS 2.3.0-alpha1 we plan on evaluating changing the default value of http_boot=true and removing TGT support from MAAS.

Changed in maas-images:
status: Triaged → Fix Released
Changed in maas:
status: Triaged → Fix Released
Changed in maas:
milestone: 2.3.0 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers