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
Update scsi id boot from slof for ppc64le #14681
Conversation
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What you put into the description of the pull request could also be in the commit message details. I don't know how you created your pull request but your git commit messages has only the subject line while the pull request description has more details. Please keep in mind that the github pull request description is only visible on github, the commit can be considered permanent information storage.
I can recommend the tool hub (zypper in rubygem-hub) for easier PR creation. Also, I myself use a script git-pr-last to create a PR with proper description for these simple one-commit PRs:
$ cat $(which git-pr-last )
#!/bin/sh -e
target="${target:-"$USER"}"
git push $target && git show --no-patch --format=%B | hub pull-request -F -
See https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/CONTRIBUTING.md#coding-style for more details
Also, why adding 2 in case of virtio-console is not obvious to me. Is this valid for all product versions? Instead of applying such magic number please consider a more robust automatic resolution of the necessary device
977fbcc
to
e817230
Compare
@okurz At grub shell, we cannot use command to get scsi id. Refer case: https://openqa.suse.de/tests/8502556#step/boot_to_desktop/6. This blocked all of my powerKVM cases. |
I would suggest you find the RC why the disk id is changed before merging this request
|
We can investigate those situation, but now it blocked all my powerKVM cases. I need fix it first. |
In fact, it is clearly insert a device which caused the scsi id increated from 6->7. So the new inserted device is ' 00 1800 (D) : 1af4 1005 legacy-device*'. Compared the openQA cmd, I found since 124.1 it added a new device, '-device virtio-rng-pci,rng=rng0', I think it is this device inserted caused scsi id need change from 6 to 7. |
Use setting "QEMU_VIRTIO_RNG=0 " can workaround this problem. But we should fix this one with correct scsi ID. |
I Guess https://progress.opensuse.org/issues/109980#note-4 may be related, but indeed @tinawang123 it should help for now.
Is it possible that the qemu versions are different and are causing the problem? but also there's the change in the bootloader (see progress ticket) |
@foursixnine @okurz Is there any smart way detect scsi id in grub mode? |
I don't know any specific way. I suggest you research how qemu behaves and what should be expected from that. |
ecfd7a4
to
ab4b38d
Compare
cfbc6e6
to
77b7210
Compare
7aa2645
to
05ce309
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
New device serial will be added which caused the scsi device id changed from 5 to 7. Got the scsi id from devalias command.
@okurz could you help check again? |
Oliver's objection was addressed. Commit states the "why".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks nice, thank you
New device serial will be added which caused the scsi device id
changed from 5 to 7. Got the scsi id from devalias command.
verify function case: https://openqa.suse.de/tests/8634931
HA case: https://openqa.suse.de/tests/8634930