-
Notifications
You must be signed in to change notification settings - Fork 187
testiso: Do not add disk as primary disk for s390x pXE test #1350
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
testiso: Do not add disk as primary disk for s390x pXE test #1350
Conversation
| Size: "12G", // Arbitrary | ||
| primaryDiskAdded := false | ||
| if system.RpmArch() == "s390x" { | ||
| // For s390x PXE installs the network device has the bootindex of 1. |
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.
Hmm...like this is something hardcoded into qemu or the firmware or something?
I am trying to get my head around how this works; is it basically that the s390x firmware has builtin logic around "use the disk first if it's bootable, otherwise network" and our adjusting the bootorder breaks it?
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.
i am sure it is something like that..i try without the bootindex and it looks for a bootable disk. I have been tried to get a hold of someone from the s390x world to confirm but no one seems to know.
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.
yup..found sparse doc here: https://wiki.qemu.org/Features/S390xNetworkBoot
For s390x in pXE mode, the network device has the bootindex 1. Add a disk without specifying it as a primary disk with bootindex.
a43efaf to
2d5d449
Compare
|
/test sanity |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, Prashanth684 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
|
First, let's keep in mind this is only changing s390x, and only for tests, and we have plans for a better fix. That said...I don't understand your comment. We are injecting ignition still with |
|
Yeah, this came up first in my backlog, so it didn't connect that it'd get revamped by #1348. :)
Just overall, I think having the concept of a primary disk also makes sense for the installer case; it's the disk we're installing to (e.g. if we later add multiple disks to test separate Anyway, I think using QMP as in #1348 is definitely the right path, but just wanted to flag that it's not just about the bootindex. |
|
Oh yes...we should probably use the same wwn approach here. |
For s390x in pXE mode, the network device has the bootindex 1. Add a disk
without specifying it as a primary disk with bootindex.
Had to open this anew because #1336 couldn't be reopened because i rebased it .