Complete
Details
Details
Assignee
Caleb
CalebReporter
Caleb
CalebLabels
Impact
High
Time remaining
0m
Components
Fix versions
Affects versions
Priority
Katalon Platform
Katalon Platform
Created January 6, 2022 at 2:53 PM
Updated July 1, 2022 at 5:55 PM
Resolved January 11, 2022 at 9:10 PM
disk.sync will happily overwrite the database entries for disks that are configured for multipath. This causes havoc as it overwrites valid db entries for the original disks.
This happens in following scenario:
1. create zpool with disks from expansion shelf (not cabled for mulitipath)
2. without rebooting the system, cable the expansion shelf for multipath
3. middlewared sees the "new" disks being added and we try to create multipath providers since they're "duplicate" disks (same lunid and same serial as original disks)
4. creating muiltipath providers fails because the original disks are in-use via GEOM/ZFS
5. at same time, middlewared updates the database entries with the new "duplicate" disk information and overwrites the original disk information since the lunid/serial match. During the overwrite, the zfs pool mapping information is lost.