Repository navigation
Update RHEL 9 and 10 OCI image definitions [HMS-10328, HMS-10472] - #2333
Merged
Merged
Conversation
ochosi
previously approved these changes
May 12, 2026
ochosi
left a comment
Contributor
There was a problem hiding this comment.
After having read through the tickets and the Oracle Linux docs, this generally looks good. I think there are some implicit assumptions/choices that we could document in the commit message, like
- 64 GB default size is what we use for other LVM cloud images (but this is defined in pungi)
- 30 GB for / is a consequence of the default image size and the recommendation from the Oracle docs (half of the overall disk size)
- omitting the oled directory makes sense (but we may have to add it later)
Change the default partitioning for RHEL 10 OCI images to LVM. The referenced ticket requests adding a logical volume mounted at /var/oled. According to the Oracle documentation [1], this volume is reserved for writing diagnostic data using the Oracle Linux Enhanced Diagnostics package, which is not available in RHEL. Therefore, we shouldn't include it by default. The disk layout here is based on the documentation for the default partitioning of Oracle Linux 10 [2]. The swap LV is omitted since the size is memory-dependent and we generally don't include swap partitions or LVs in our default partitioning. HMS-10328 [1] https://blogs.oracle.com/linux/oracle-linux-enhanced-diagnostics [2] https://docs.oracle.com/en/operating-systems/oracle-linux/10/install/install-DefaultDiskPartitionLayout.html
Change the default partitioning for RHEL 9 OCI images to LVM. The referenced ticket requests adding a logical volume mounted at /var/oled. According to the Oracle documentation [1], this volume is reserved for writing diagnostic data using the Oracle Linux Enhanced Diagnostics package, which is not available in RHEL. Therefore, we shouldn't include it by default. The disk layout here is based on the documentation for the default partitioning of Oracle Linux 9 [2]. The swap LV is omitted since the size is memory-dependent and we generally don't include swap partitions or LVs in our default partitioning. HMS-10328 [1] https://blogs.oracle.com/linux/oracle-linux-enhanced-diagnostics [2] https://docs.oracle.com/en/operating-systems/oracle-linux/9/install/install-DefaultDiskPartitionLayout.html
ochosi
approved these changes
May 12, 2026
ochosi
enabled auto-merge
May 12, 2026 16:06
supakeen
approved these changes
May 12, 2026
supakeen
left a comment
Member
There was a problem hiding this comment.
Does OCI have something to resize the pvs/lvs?
Member
Author
|
Standard tooling should work to grow the LV with |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update RHEL 9 and RHEL 10 OCI image definitions:
oci.confthat adds themlx5_coredriver HMS-10472.I made some decisions about the details of the partitioning layout. See the the commit message(s) for details.