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

Commits on Jun 19, 2024

  1. 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.
    jlebon committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    526c306 View commit details
    Browse the repository at this point in the history
  2. 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.
    jlebon committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    015d3df View commit details
    Browse the repository at this point in the history
  3. kola: allow missing size in diskspec for primaryDisk

    When using the new `primaryDisk` key, allow the diskspec to omit the
    size component, in which case we don't resize the boot disk.
    jlebon committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    3e6d216 View commit details
    Browse the repository at this point in the history