Repository navigation
Add ISCSI packages to support bare metal shapes in OCI - #2670
Conversation
|
Is this PR identical to #2669 ? |
|
This PR is stale because it had no activity for the past 30 days. Remove the "Stale" label or add a comment, otherwise this PR will be closed in 7 days. |
ecb6164 to
8fd3baf
Compare
|
Thanks. The changes look good, but I'd like to ask for a few things:
|
e813f7a to
b5f73e8
Compare
|
LGTM |
| - filename: "oci.conf" | ||
| config: | ||
| add_drivers: | ||
| - "mlx5_core" |
There was a problem hiding this comment.
Should we just keep this? Removing it changes a bunch of older image types and it'd get overwritten on 10.4/9.10+ anyhow.
Or was it always wrong to have?
There was a problem hiding this comment.
From what i understand this stuff is now moved under "version_greater_or_equal: "10.4"" so that all RHEL 10 releases dont get the changes. I think this was done to prevent currently supported 10.2
GA releases to be modified. But @psiayn can help us understand this better,
There was a problem hiding this comment.
The condition adds mlx5_core, iscsi_ibft, and iscsi to 10.4+, but the removal of this block removes mlx5_core from the < 10.4 images. And I think that's not what we want.
Same for the RHEL 9 version.
The reason we have those manifest checksums is to make scenarios like these easier to trace. You can see that all OCI images, including 10.0 - 10.3, were modified by this change.
If you run ./tools/gen-manifest-diffs, you'll see the diff: the dracut stage that adds mlx5_core is being removed by this commit.
There was a problem hiding this comment.
Oh right yeah ill fix this right away. I was thinking along the lines of these changes would come under 10.4 and 9.10+ so move them all under the condition. My bad.
Add ISCSI drivers and modules to initramfs for RHEL 10.4+ and RHEL 9.10+ OCI images.
achilleas-k
left a comment
There was a problem hiding this comment.
Very nice. Thank you!
LGTM
BM shapes require additional configuration so that these images can be booted up in OCI.
This PR aims to add those changes. Currently, we are testing these changes in our pipeline.