Page MenuHomeVyOS Platform

Adjust RAID smoketest for non-deterministic SCSI device probing
Closed, ResolvedPublicBUG

Description

The occasional failures of the RAID smoketest can be traced to a reliance on the disk name (/dev/sda, /dev/sdb) when flipping the boot order during the test. Caution against this assumption is mentioned here:
https://www.debian.org/releases/bullseye/amd64/release-notes/ch-information.en.html#scsi-non-deterministic

Add a utils function to get device name from the drive id specified in the qemu command and extend op-mode format_disk.py and raid.py to use id.

Details

Version
vyos-1.5, vyos-1.4
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

jestabro triaged this task as Normal priority.
jestabro created this object in space S1 VyOS Public.