ledmon incorrectly sets the status LED
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Woodrow Shen | ||
ledmon (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Description:
After creating the RAID volume, deleting it and creating second RAID volume (with same disks as with first volume but with less disks' count), LED statuses on disks left in container are ‘failure’.
Steps to reproduce:
1. Turn on ledmon:
# ledmon --all
2. Create RAID container:
# mdadm --create /dev/md/imsm0 --metadata=imsm --raid-devices=3 /dev/nvme5n1 /dev/nvme4n1 /dev/nvme2n1 --run –force
3. Create first RAID volume:
# mdadm --create /dev/md/Volume --level=5 --chunk 64 --raid-devices=3 /dev/nvme5n1 /dev/nvme4n1 /dev/nvme2n1 --run –force
4. Stop first RAID volume:
# mdadm --stop /dev/md/Volume
5. Delete first RAID volume:
# mdadm --kill-subarray=0 /dev/md127
6. Create second RAID volume in the same container (with less disks' count than first RAID, using the sane disks as in the first volume):
# mdadm --create /dev/md/Volume --level=1 --raid-devices=2 /dev/nvme5n1 /dev/nvme4n1 --run
7. Verify status LED on container member disks which are not part of second RAID volume.
Expected results:
Disks from container which are not in the second volume should have ‘normal’ status LED.
Actual results:
Disks from container which are not in the second volume have ‘failure’ status LED.
affects: | ledmon (Ubuntu) → oem-priority |
Changed in ledmon (Ubuntu): | |
status: | New → Confirmed |
Changed in oem-priority: | |
importance: | Undecided → High |
Changed in oem-priority: | |
assignee: | nobody → Woodrow Shen (woodrow-shen) |
Changed in ledmon (Ubuntu): | |
importance: | Undecided → Low |
Changed in ledmon (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in oem-priority: | |
status: | Confirmed → Fix Released |
It was fixed by below commits: /github. com/intel/ ledmon/ commit/ 4df5c4e63179210 e9d7f1e83af8008 bcc7117dda /github. com/intel/ ledmon/ commit/ d40b7ee5c8ec025 aa18dc5ad7ad451 fb074bfdcb /github. com/intel/ ledmon/ commit/ 1616efa8226701e f868165344e55c8 b0a3722f6f
https:/
https:/
https:/