← Back to team overview

curtin-dev team mailing list archive

[Merge] ~mwhudson/curtin:lp-1893818 into curtin:master

 

The proposal to merge ~mwhudson/curtin:lp-1893818 into curtin:master has been updated.

Commit message changed to:

storage_config: return one type: disk action per multipathed disk

Currently extract_storage_config returns one type: disk action
for every member of a multipathed disk and type: partition
actions for each partition of each disk. This works by generating
a type: disk action for each disk and ignoring the block device
data for the /dev/dm-X device for the multipathed disk.

But in groovy+, the udev rule from multipath-tools that has
always attempted to remove the devices nodes for the partitions
of a disk that is a multipath member actually succeeds, and
trying to generate a type: partition action for a partition with
no underlying device node makes things blow up.

Instead, this branch generates type: disk and type: partitions
actions from the /dev/dm-X nodes for the mutipathed disk and its
partitions, and ignores and disks and partitions that are members
of a multipathed disk.

LP: #1893818

For more details, see:
https://code.launchpad.net/~mwhudson/curtin/+git/curtin/+merge/392353
-- 
Your team curtin developers is subscribed to branch curtin:master.


References