udev resource should ignore "virtual" disk devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Resource |
Fix Released
|
Medium
|
Jeff Lane |
Bug Description
Many servers are presented with a "virtual" disk device from the BMC. These are used to pass files from a remote workstation onto the server filesystem via the BMC, but they are not real block devices. THe OS is just tricked into thinking they are.
The udev_resource script currently identifies these and assumes they are real and creats DISK objects based on them. This causes disk tests to be run against these fake devices, which ultimately fail and are unnecessary.
udev_resource (or the parser) should ignore these based on their identification (they almost always appear as a Virtual BLAH under Product:
path: /devices/
name: sdb
bus: scsi
category: DISK
driver: sd
product: Virtual FDD/HDD
vendor: Linux
product_slug: Virtual_FDD_HDD
vendor_slug: Linux
path: /devices/
name: sdc
bus: scsi
category: DISK
driver: sd
product: Virtual Floppy
vendor: Linux
product_slug: Virtual_Floppy
vendor_slug: Linux
Related branches
- Sylvain Pineau (community): Approve
-
Diff: 17 lines (+7/-0)1 file modifiedcheckbox-support/checkbox_support/parsers/udevadm.py (+7/-0)
Changed in plainbox-provider-resource: | |
status: | Triaged → In Progress |
importance: | Undecided → Critical |
importance: | Critical → Medium |
tags: | added: hwcert-server |
Changed in plainbox-provider-resource: | |
milestone: | none → 0.26 |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-resource: | |
status: | Fix Committed → Fix Released |