lp:~strikov-deactivatedaccount/curtin/multipath-polishing

Created by Oleg Strikov and last modified
Get this branch:
bzr branch lp:~strikov-deactivatedaccount/curtin/multipath-polishing
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

218. By Oleg Strikov

multipath: Bugfix and additional comments.

Function get_scsi_wwid() may return None in case of errors or an empty
string in case of a buggy disk. Ignore these values.

Add more comments to describe all corner cases we've met while working
on multipath implementation.

217. By dann frazier

support UEFI-based ARM64 systems

This adds logic to support installation of ARM64 systems that use UEFI.

216. By Scott Moser

helpers/common:install-grub fix usage of lsblk

This should have been fixed back with bug 1386275.
install-grub used lsblk with the shorter '--out=' which is
now ambiguous.

215. By Oleg Strikov

multipath: Generate /etc/multipath/bindings file during installation.

File /etc/multipath/bindings assigns permanent names to the multipath
devices. This file needs to be created during installation to avoid
spontaneous device name shuffling during boot.

We can't use multipath ('multipath -r') utility to generate bindings
because it needs to have dm-multipath kernel module inserted. That module
might not be available or loaded in the install environment. So we
manually generate this file.

Currently this only inserts entries into the file for disks that show
up in output of 'blkid'. Those will be any disk that has a filesystem
on it (root disk or as a partition).

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

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.