Skip to content

image: grow the anaconda rootfs image to 10 GiB (RHEL-95416) - #1594

Merged
supakeen merged 5 commits into
osbuild:rhel-8.10from
achilleas-k:quickfix/rhel-8.10/iso-rootfs/10GB
Jun 25, 2025
Merged

supakeen merged 5 commits into
osbuild:rhel-8.10from
achilleas-k:quickfix/rhel-8.10/iso-rootfs/10GB

Conversation

@achilleas-k

Copy link
Copy Markdown
Member

With newer versions of RHEL 8.10 packages, the anaconda-tree for the edge-installer has grown to be larger than 4 GiB. This makes it impossible to build edge-installers with osbuild-composer on RHEL 8.10.

Grow the anaconda rootfs image to 10 GiB, which should be big enough to fit even future growth. This shouldn't affect the size of the ISO since it's compressed using squashfs.

NOTE: I originally planned to do this in a quickfix branch to build unsigned RPMs in osbuild-composer with it, but @thozza suggested we release it properly in 8.10, so let's do this properly.

With newer versions of RHEL 8.10 packages, the anaconda-tree for the
edge-installer has grown to be larger than 4 GiB.  This makes it
impossible to build edge-installers with osbuild-composer on RHEL 8.10.

Grow the anaconda rootfs image to 10 GiB, which should be big enough to
fit even future growth.  This shouldn't affect the size of the ISO since
it's compressed using squashfs.
Remove test repos and configs from all other distros.
Drop the check-build-coverage job.  We don't run it in main anymore
anyway.
@achilleas-k
achilleas-k force-pushed the quickfix/rhel-8.10/iso-rootfs/10GB branch 14 times, most recently from f6ed4f3 to f85034b Compare June 14, 2025 10:36
@supakeen

Copy link
Copy Markdown
Member

Why did this PR end up being a whole bunch of test changes as well? The size change looks good but I'm not sure if all the test stuff is OK?

@thozza

thozza commented Jun 17, 2025

Copy link
Copy Markdown
Member

Why did this PR end up being a whole bunch of test changes as well? The size change looks good but I'm not sure if all the test stuff is OK?

The PR targets rhel-8.10 branch, so that we can make a "patch" release of images.

As for the tests, they need more "love"...

@mvo5
mvo5 force-pushed the quickfix/rhel-8.10/iso-rootfs/10GB branch from b4efdd7 to 29ce512 Compare June 18, 2025 16:18
@ondrejbudai ondrejbudai changed the title image: grow the anaconda rootfs image to 10 GiB image: grow the anaconda rootfs image to 10 GiB (RHEL-95416) Jun 20, 2025
@achilleas-k
achilleas-k force-pushed the quickfix/rhel-8.10/iso-rootfs/10GB branch 2 times, most recently from 632b705 to 8b59d1a Compare June 23, 2025 16:32
@achilleas-k

Copy link
Copy Markdown
Member Author

Had to bump the google repo snapshots because the files for the ones we had configured are gone, though the snapshot date 20240101 appears in the the snapshot list.

I also added repo configs for CS9 to the Schutzfile to include the CRB repo, which we need for gpgme-devel.

@achilleas-k
achilleas-k force-pushed the quickfix/rhel-8.10/iso-rootfs/10GB branch 4 times, most recently from 8f7e39b to 35bca2f Compare June 23, 2025 17:46
supakeen
supakeen previously approved these changes Jun 23, 2025
@achilleas-k
achilleas-k force-pushed the quickfix/rhel-8.10/iso-rootfs/10GB branch from 35bca2f to b0f5ca4 Compare June 23, 2025 19:01
supakeen
supakeen previously approved these changes Jun 24, 2025
@achilleas-k
achilleas-k force-pushed the quickfix/rhel-8.10/iso-rootfs/10GB branch 2 times, most recently from fe2d31a to 1727d43 Compare June 24, 2025 10:35
achilleas-k and others added 3 commits June 24, 2025 13:36
- Checkout test/scripts/ and schutzbot/ from main so we run with the
  latest actions and configs.
- Pin osbuild commit ID to the version released in RHEL 8.10 (v110).
- Run unit tests on CS9 only.
- Adapt GitHub actions (remove unnecessary ones).
- Regenerate gitlab-ci.yml to only run RHEL 8.10 builds.
- Use CentOS Stream 9 runners in GitLab.

We run the tests on CentOS Stream 9 because:
- We have an RPM build of osbuild for the specific version we want to
  test.
- It has awscli2 which we need for the test cache in S3.
Run `gen-manifests` with builds tags to exclude device-mapper.
20240101 snapshots of the two Google repositories are not available.
They show up in the listing, but the repomd.xml for them doesn't exist.
Updated to 20240626, which I found to be the next available snapshot.
@achilleas-k
achilleas-k force-pushed the quickfix/rhel-8.10/iso-rootfs/10GB branch from 1727d43 to 973bf5b Compare June 24, 2025 11:37
@achilleas-k

Copy link
Copy Markdown
Member Author

It's finally green!

@achilleas-k
achilleas-k requested review from mvo5, supakeen and thozza June 24, 2025 15:35

@bcl bcl left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good!

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.

5 participants