Closed jbtrystram closed 3 months ago
it looks like I messed up something:
Edit: Ok, solved. The issue was format=raw
for the non multipath disk
/srv/bin/kola qemuexec -D "5G:channel=scsi,wwn=0011" --qemu-image fcos41.qcow2 --add-ignition autologin
[....]
[core@localhost ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 192.5K 0 disk
Wheras with /srv/bin/kola qemuexec -D "5G"
I get:
[core@localhost ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
vda 252:0 0 5G 0 disk
/retest
/retest
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:
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] https://github.com/coreos/fedora-coreos-tracker/issues/1670 [3] https://github.com/coreos/fedora-coreos-tracker/issues/1670#issuecomment-2037725303