Files
ironic-python-agent/releasenotes/notes/fix-software-raid-different-devices-3298f735fdbd3a05.yaml
Dmitry Tantsur 521811cbcc Fix software RAID creation on different physical devices
When creating multiple software RAID logical disks that use different
sets of physical devices, the partition indices were incorrectly shared
across all devices. This caused the second RAID array creation to fail
because it tried to use partition indices that didn't exist on those
specific devices.

This change fixes the issue by tracking partition indices separately for
each physical device, ensuring that each device's partitions are numbered
correctly starting from their first available index.

Closes-Bug: #2115211
Change-Id: I440db4654f3d1d54274d1eee8c4b21c2b0a18d22
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
2025-06-25 16:15:14 +00:00

7 lines
298 B
YAML

---
fixes:
- |
Software RAID creation now correctly handles configurations where
logical disks use different sets of physical devices. Previously,
partition indices were incorrectly shared across all devices, causing
failures when creating multiple RAID arrays on different disks.