openshift / ocp-release-operator-sdk

Apache License 2.0
16 stars 38 forks source link

UBI9/RHEL9 ansible-operator based images #322

Closed fbladilo closed 6 months ago

fbladilo commented 1 year ago

Feature Request

Describe the problem you need a feature to resolve.

The currently supplied base images for ansible-operator are still all RHEL8 based , many products are moving their base images to rhel9 including ours but there isn't a matching ubi9/rhel9 build available.

[fbladilo@fdev:~/release/cpaas/mta/versions/release-6.2.0] (relocate_operator =)$ docker run --rm -it --entrypoint /bin/bash registry.redhat.io/openshift4/ose-ansible-operator:latest

bash-4.4$ cat /etc/redhat-release Red Hat Enterprise Linux release 8.6 (Ootpa) bash-4.4$

Describe the solution you'd like.

A RHEL9 based ansible-operator to be supplied along with the existing rhel8 release.

/language ansible

openshift-ci[bot] commented 1 year ago

@fbladilo: The label(s) language/ansible cannot be applied, because the repository doesn't have them.

In response to [this](https://github.com/openshift/ocp-release-operator-sdk/issues/322): >## Feature Request > >#### Describe the problem you need a feature to resolve. > >The currently supplied base images for ansible-operator are still all RHEL8 based , many products are moving their base images to rhel9 including ours but there isn't a matching ubi9/rhel9 build available. > >[fbladilo@fdev:~/release/cpaas/mta/versions/release-6.2.0] (relocate_operator =)$ docker run --rm -it --entrypoint /bin/bash registry.redhat.io/openshift4/ose-ansible-operator:latest > >bash-4.4$ cat /etc/redhat-release >Red Hat Enterprise Linux release 8.6 (Ootpa) >bash-4.4$ > >#### Describe the solution you'd like. > >A RHEL9 based ansible-operator to be supplied along with the existing rhel8 release. > > > > >/language ansible > > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
leifmadsen commented 1 year ago

This will take some work, but some clean up and updating that we're working on now should start to clear the way for this, perhaps in the OCP 4.15 timeframe.

glennswest commented 12 months ago

4.14 would be really useful if it could be backported.

leifmadsen commented 12 months ago

4.14 would be really useful if it could be backported.

I agree but backporting this to 4.14 would be quite invasive as it would switch the ansible version along with the underlying base image, potentially causing incompatibility with existing operators.

My opinion here is that backporting to 4.14 is not really feasible. I don't believe there should be anything stopping an operator developer from using a base image tagged with 4.15 on the 4.14 platform though.

glennswest commented 11 months ago

100% agree. Actually I believe the 4.15 image should be the image for 4.14 as well. No need to change ansible version etc. As there will be no 4.14 rhel9/ansible version otherwise.

leifmadsen commented 11 months ago

100% agree. Actually I believe the 4.15 image should be the image for 4.14 as well. No need to change ansible version etc. As there will be no 4.14 rhel9/ansible version otherwise.

I'm not sure what you mean by "the 4.15 image should be the image for 4.14 as well". I do not believe the 4.15 image will be tagged for 4.14. The ose-ansible-operator image for 4.14 will be UBI8 base image + Ansible 2.15.

The base image for 4.15 or 4.16 is expected to target UBI9 + Ansible-{recent}. If an Operator developer wishes to use 4.15 (or later) image on top of 4.14 I don't see an issue with that. Obviously testing by the developer will be required to verify this for their scenario.

To be clear, I do not expect any ose-ansible-operator:4.14 tagged image to be anything other than UBI8 + Ansible 2.15 as that is what exists in the product pipeline. Alignment to a new base image is for a future tagged release.

openshift-bot commented 8 months ago

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot commented 7 months ago

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten /remove-lifecycle stale

openshift-bot commented 6 months ago

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen. Mark the issue as fresh by commenting /remove-lifecycle rotten. Exclude this issue from closing again by commenting /lifecycle frozen.

/close

openshift-ci[bot] commented 6 months ago

@openshift-bot: Closing this issue.

In response to [this](https://github.com/openshift/ocp-release-operator-sdk/issues/322#issuecomment-2000709053): >Rotten issues close after 30d of inactivity. > >Reopen the issue by commenting `/reopen`. >Mark the issue as fresh by commenting `/remove-lifecycle rotten`. >Exclude this issue from closing again by commenting `/lifecycle frozen`. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.