ironic-python-agent/releasenotes/notes/fix-nvme-software-raid-race-2e0e104de9611228.yaml
Arne Wiebalck 9d707e9f4b Software RAID: Call udev_settle before creation
This patch fixes a race during software RAID creation:
we create the partition with parted, the kernel then
notifies udev, but we need to wait for udevd to create
the device files before calling mdadm to create the
md device.

Credits to jcosmao for finding this.

Change-Id: I642f28acc351cf50263e37dfbc8468bf59de2cc5
2021-10-05 11:42:49 +02:00

8 lines
232 B
YAML

---
fixes:
- |
Fixes a race on software RAID creation: since the creation of
partitions is asynchronous, we need to wait for all udev events
to be processed before we can use the partitions to create an
md device.