-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rawhide: ext.config.var-mount.scsi-id fails #1670
Comments
Can you share any relevant bits from the test logs? For example, what is in the |
This started failing in rawhide and we haven't had time to fully investigate yet. coreos/fedora-coreos-tracker#1670
denial/snooze for now while you investigate @c4rt0 coreos/fedora-coreos-config#2854 |
This started failing in rawhide and we haven't had time to fully investigate yet. coreos/fedora-coreos-tracker#1670
Thank's for the denial @dustymabe. |
This test is still failing. Let's extend the snooze while we continue to investigate coreos/fedora-coreos-tracker#1670
This test is still failing. Let's extend the snooze while we continue to investigate coreos/fedora-coreos-tracker#1670
This test is still failing. Let's extend the snooze while we continue to investigate coreos/fedora-coreos-tracker#1670
This test is still failing. Let's extend the snooze while we continue to investigate coreos/fedora-coreos-tracker#1670
This started failing in rawhide and we haven't had time to fully investigate yet. coreos/fedora-coreos-tracker#1670
This test is still failing. Let's extend the snooze while we continue to investigate coreos/fedora-coreos-tracker#1670
This test is still failing. Let's extend the snooze while we continue to investigate coreos/fedora-coreos-tracker#1670
This comment was marked as outdated.
This comment was marked as outdated.
Nice find! I would check for changes in udev rules ( To know which package a file comes from, you can use |
Thanks @jlebon for the hint ! the symlink that this test rely on is generated by Indeed the The new version use different Unfortunately the new way of creating the symlink use only TLVS letters (see udevadm info output) So i think a fix would be to attach a label to the qemu disk and use that . Example looking at how cosa start the VM the fix is probably there : |
Looks like we may be able to fix how cosa generates the qemu args |
I guess the question we have to ask ourselves is if this is behavior we think people are relying on or was it just behavior that was convenient that we were relying on for our tests? If it's the former then we might need to engage upstream to fix it or at least consider the regression. If it's the latter then we can safely just change our usage and move on. |
I intuitively think people may rely on this, but they have "real" disks that would expose the values in the corrects fields and the issue is more on how QEMU "fakes" the disk. |
This comment was marked as off-topic.
This comment was marked as off-topic.
The next step (after posting the above) was to run |
How to find out if it's one or the other? What would be the next step here? Let's say we start implementing the fix, considering it was convenient ... rather quickly someone would express dissatisfaction - right? |
Mailing list thread for the upstream changes: https://listman.redhat.com/archives/dm-devel/2023-March/053645.html The upstream changes seem reasonable to me but I would not at all be surprised if there are users/customers making use of the symlinks that are being removed. They would have to migrate to using the WWN-based ones, but if it's widespread enough, we (Fedora, Red Hat) might have to decide to re-enable some of those symlinks (or maybe only during upgrades e.g. via LEAPP). This will land in c10s soon also if it hasn't already and I think upgrade testing will also happen in that context at some point. I don't think there's a need to differ at the CoreOS level; we should just follow the distro. I think |
Thanks @jlebon for the really detailed answer !
So i was not too far off there :) |
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)
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
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)
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)
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
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)
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
Kola test
ext.config.var-mount.scsi-id
is failing in Jenkins since Feb-13-2024 with the following error:Full console log of the jenkins job can be found here.
When looking at the console.txt of the failed test we see:
and further:
The text was updated successfully, but these errors were encountered: