Skip to content
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

kola: add support for simulating 512e disks and add support for primaryDisk key #3822

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Jun 19, 2024

kola/qemu: add support for simulating 512e disks

It's come up a few times now that we need to dig into 512e-specific
behaviours (most recently in OCPBUGS-35410). Let's add a knob for this
in the qemu platform just like the one we have for 4Kn.


kola: add support for primaryDisk key

Just like we have additionalDisks, add a new primaryDisk key which
takes the same "diskspec" format. This immediately unlocks all the same
knobs available to additional disks to the primary disk itself from
external tests.

E.g. with this, we can now migrate multipath tests to external tests
that use primaryDisk: 20G:mpath.

My immediate motivation for this however is to be able to use the
new 512e disk option from an external test as part of fixing
OCPBUGS-35410.

It's come up a few times now that we need to dig into 512e-specific
behaviours (most recently in OCPBUGS-35410). Let's add a knob for this
in the qemu platform just like the one we have for 4Kn.
Just like we have `additionalDisks`, add a new `primaryDisk` key which
takes the same "diskspec" format. This immediately unlocks all the same
knobs available to additional disks to the primary disk itself from
external tests.

E.g. with this, we can now migrate multipath tests to external tests
that use `primaryDisk: 20G:mpath`.

My immediate motivation for this however is to be able to use the
new `512e` disk option from an external test as part of fixing
OCPBUGS-35410.
When using the new `primaryDisk` key, allow the diskspec to omit the
size component, in which case we don't resize the boot disk.
Copy link

openshift-ci bot commented Jun 19, 2024

@jlebon: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/rhcos 3e6d216 link true /test rhcos

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link
Member

@travier travier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not tested but code LGTM

@travier
Copy link
Member

travier commented Jun 20, 2024

RHCOS CI failing on openshift/os#1523 :/

@jlebon jlebon merged commit 6c6e92b into coreos:main Jun 20, 2024
4 of 5 checks passed
@jlebon jlebon deleted the pr/add-512e-disks branch June 20, 2024 16:09
@jbtrystram
Copy link
Contributor

That's a nice change! Thanks

@travier
Copy link
Member

travier commented Jun 25, 2024

/cherry-pick rhcos-4.16

@openshift-cherrypick-robot

@travier: new pull request created: #3824

In response to this:

/cherry-pick rhcos-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants