launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #07035
[Merge] lp:~smoser/maas/maas-import-ephemeral into lp:maas
The proposal to merge lp:~smoser/maas/maas-import-ephemeral into lp:maas has been updated.
Description changed to:
This adds support for creating and managing iscsi targets that can
then be booted from via cobbler. It sets up a new distro and profile
that should then boot instances off of the read-only iscsi disks.
Notes:
* creates in cobbler:
* new distro named <release>-<arch>-maas-ephemeral
* new profile named maas-<release>-<arch>-commissioning
* adds maas-commissioning preseed that does nothing
more than render MAAS_PRESEED
* adds script maas-import-ephemeral
* This needs to be run at some point after installation, and
can be run for updates similar to how maas-import-isos is.
Failure to run its update will not result in failed use like
import-isos does (ie, archive moving doesn't hurt this)
* adds script maas-cloudimg2ephemeral
This converts the cloudimg from cloud-images.ubuntu.com into
something suitable for use here, and generates new initramfs
that uses overlay
Still to do:
* cleanup of old images (currently doees not do this)
* replace cloud-images and repacking code with maas-ephemeral server
maas-commissioning.preseed
Things needed in packaging:
* depend on tgt
* get the /var/lib/maas/ephemeral/tgt.conf file included
in tgt's config. (so its iscsi targets are started on boot).
I suggest doing this by:
* append (if not present) to /etc/tgt/targets.conf this:
include /etc/tgt/conf.d/*.conf
* create /etc/tgt/conf.d
* symlink /var/lib/maas/ephemeral/tgt.conf /etc/tgt/conf.d
For more details, see:
https://code.launchpad.net/~smoser/maas/maas-import-ephemeral/+merge/101155
--
https://code.launchpad.net/~smoser/maas/maas-import-ephemeral/+merge/101155
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~smoser/maas/maas-import-ephemeral into lp:maas.
References