Skip to content

WIP: include oca in rhel9, 10 image definitions#2463

Draft
src-up wants to merge 1 commit into
osbuild:mainfrom
src-up:oca-rhel
Draft

WIP: include oca in rhel9, 10 image definitions#2463
src-up wants to merge 1 commit into
osbuild:mainfrom
src-up:oca-rhel

Conversation

@src-up

@src-up src-up commented Jun 25, 2026

Copy link
Copy Markdown

In the case of the cloud-agent, it would be better to have the package in all the images by default

@src-up src-up requested a review from a team as a code owner June 25, 2026 04:24
@src-up src-up requested review from avitova, brlane-rht and lzap June 25, 2026 04:24
@src-up src-up changed the title include oca in rhel9, 10 image definitions WIP: include oca in rhel9, 10 image definitions Jun 25, 2026
@src-up src-up marked this pull request as draft June 25, 2026 04:25
@supakeen

supakeen commented Jun 25, 2026

Copy link
Copy Markdown
Member

You'll need to regenerate checksums by running ./tools/gen-manifest-checksums.sh and squashing it into your commit.

We use that to ensure each commit only changes expected manifests (and the checksums are also used for caching in our CI so we know if we've already built and boot tested a given image) 🙂

Also tagging in @achilleas-k because he's been working with the virt people on the OCI images if I recall correctly.

@supakeen supakeen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some adjustments to make things work.

Is oracle-cloud-agent shipped in RHEL/CentOS/Alma/Rocky/OL repositories? They all build from the RHEL definitions. If it's not available then all the changes still apply but it'd probably be easier to have a conditions on the qcow2 package sets that includes this only for those distributions that ship the package (and then work on shipping the package elsewhere).

Comment thread data/distrodefs/rhel-10/imagetypes.yaml
@supakeen supakeen requested a review from achilleas-k June 25, 2026 06:27
@src-up src-up force-pushed the oca-rhel branch 5 times, most recently from 00afbc8 to 7a81a42 Compare June 25, 2026 08:05
In the case of the cloud-agent, it would be better to have the package
in all the images by default, so not in the pungi configs.
@supakeen supakeen self-requested a review June 29, 2026 05:15

@supakeen supakeen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ok, so it seems the main concern here is that oracle-cloud-agent is not available in RHEL Base/AppStream repositories. Have you already engaged with people to get that in the repositories?

Without it we can't merge this PR as it breaks builds during depsolving for RHEL for any image type that inherits from the qcow2.

For now I think we can either:

  1. Include it only for distros where it's available. This seems to be only Oracle Linux at the moment.
  2. Put a hold on this PR until the package is potentially available in RHEL (and maybe CentOS Stream, Alma Linux, Rocky Linux (and potentially Fedora?)).

@achilleas-k

Copy link
Copy Markdown
Member

Ok, so it seems the main concern here is that oracle-cloud-agent is not available in RHEL Base/AppStream repositories.

We've been talking with Simran (and Lars) about the details of the image and the agent already. I told him the agent should be part of the base image since we want it in all OCI images, not just marketplace ones. But I didn't realise (or more like, I was absent minded and didn't make the connection) that the repository wouldn't be available outside of brew builds. So it seems we can't have it as part of the base image unless it gets distributed in Red Hat repos, which I don't think it will be.

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.

3 participants