Skip to content

Commit

Permalink
ext-tests/ext Fix var-mount/scsi-id failure on rawhide
Browse files Browse the repository at this point in the history
Update the scsci-id test to set a WWN for the disk, and use reliable
udev symlinks to adjust for a change in sg3_utils [1]

Note that the `wwn` value set is converted to base 16 by QEMU,
so the symlink in the ignition config must reflects it.

This requires coreos/coreos-assembler#3772
See coreos/fedora-coreos-tracker#1670

[1] https://listman.redhat.com/archives/dm-devel/2023-March/053645.html
  • Loading branch information
jbtrystram committed Apr 5, 2024
1 parent 57e3735 commit 5f490af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/kola/var-mount/scsi-id/config.bu
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ variant: fcos
version: 1.4.0
storage:
disks:
- device: /dev/disk/by-id/scsi-0NVME_VirtualMultipath_disk1
- device: /dev/disk/by-id/scsi-300000000075bcd15
wipe_table: true
partitions:
- number: 1
Expand Down
2 changes: 1 addition & 1 deletion tests/kola/var-mount/scsi-id/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## kola:
## # additionalDisks is only supported on QEMU
## platforms: qemu
## additionalDisks: ["5G:mpath"]
## additionalDisks: ["5G:channel=scsi,wwn=123456789"]
## description: Verify udev rules /dev/disk/by-id/scsi-* symlinks exist
## in initramfs.

Expand Down

0 comments on commit 5f490af

Please sign in to comment.