lp:~strikov-deactivatedaccount/curtin/no-disk-found

Created by Oleg Strikov and last modified
Get this branch:
bzr branch lp:~strikov-deactivatedaccount/curtin/no-disk-found
Only Oleg Strikov can upload to this branch. If you are Oleg Strikov please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Oleg Strikov
Project:
curtin
Status:
Development

Recent revisions

215. By Oleg Strikov

block_meta: Notify user if curtin can't find any disk to install os on.

Right now curtin crashes with 'list index out of range' error message
while trying to access the first element of an empty list of disks.
This can be confusing (see LP:1451490). This commit adds meaningful
error message to let user know what went wrong.

214. By Scott Moser

Detect multipath by using UUIDs not WWNs.

World Wide Names of the disks may not be unique which leads to dangerous
false positives. Multipath detection code needs to look for multiple
partitions with the same UUID instead. This approach seems to be more
reliable.

213. By Scott Moser

subp, apt_update: cleanups

subp:
  support 'retries' as any iterable rather than requiring list
  log debug message on non-final command failure

deps/install: do not retry the apt-get install command
  we were retrying apt-get install.

apt_update:
  change function signature. retries=None rather than
  having the list in the method signature. Also change the
  backoff a little.

212. By Blake Rouse

Retry apt-get update and apt-get install command a maximum of 3 times to make sure no transient issues prevent the deployment from succeeding.

211. By Scott Moser

Detect and handle multipath devices.

Detect multipath by looking for multiple devices with the same scsi name
(derived from manufacturer, model, and serial number). Install and configure
multipath-tools-boot package if such devices exist.

curtin will install to the non-multipath device, but boot will correctly
utilize the multipath device.

210. By Scott Moser

ChrootableTarget: if unmounting /dev, run udevadm settle first.

When we unmount /dev, run udevadm settle (outside the chroot) first.
This is more of a catch-all for anything that occurred inside the target.

Alternatively we could have expected users of this to ensure that what
they ran would wait appropriately.

209. By Scott Moser

doc fix

208. By Scott Moser

doc/devel/README-maas-image.txt: add info on using maas ephemeral

This shows how to use the maas ephemeral image rather than a cloud image \
and a cloud-image -root.tar.gz.

207. By Scott Moser

helpers/common grub-install: use --no-nvram only when available

We use --no-nvram to avoid setting pxe boot settings in uefi,
but that is only available on newer versions of grub.

206. By Blake Rouse

Add --no-nvram to the grub-install command for UEFI.

This stops grub from changing the EFI boot options, keeping machines booting from network instead of the newly installed system.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.