-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kola/qemuexec: Add a wwn option for scsis disks
Add a customizable WWN option for kola DiskSpec to have reliable links under `/dev/disk/by-id/`. With this change kola qemuxec can be run like: `kola qemuexec -D "5G:channel=scsi,wwn=007"` Resulting in the following links: ``` [core@localhost ~]$ rpm -qa sg3_utils sg3_utils-1.48-1.fc40.x86_64 [core@localhost ~]$ ls -l /dev/disk/by-id total 0 lrwxrwxrwx. 1 root root 9 Apr 5 09:05 scsi-30000000000000007 -> ../../sda lrwxrwxrwx. 1 root root 9 Apr 5 09:05 wwn-0x0000000000000007 -> ../../sda ``` This is motivated by recent changes in sg3_utils [1] which removed some udev links. At least one of our tests [2] relying on this started failing. This patch was suggested by @jlebon [3] [1] https://listman.redhat.com/archives/dm-devel/2023-March/053645.html [2] coreos/fedora-coreos-tracker#1670 [3] coreos/fedora-coreos-tracker#1670 (comment)
- Loading branch information
1 parent
78eeb46
commit 2fe9629
Showing
1 changed file
with
39 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters