Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ubi9 image for aee #805

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

rabi
Copy link
Contributor

@rabi rabi commented Nov 11, 2024

The current image is a base fedora image that installs packages using pip and prone to be broken with latest changes in packages.

This uses ubi9-minimal as the base image and also reduces the image size by ~2/3rd (455 MB vs 167MB).

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/e564d2a312ad4ed48841d67c8f744a81

✔️ openstack-k8s-operators-content-provider SUCCESS in 34m 10s
podified-multinode-edpm-deployment-crc RETRY_LIMIT in 17m 52s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT in 18m 20s
edpm-ansible-tempest-multinode RETRY_LIMIT in 19m 16s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 6m 49s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 5m 40s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 4m 39s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 9m 44s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 9m 15s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 8m 13s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 5m 44s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 34s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 7m 11s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 12m 06s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 4m 03s
✔️ edpm-ansible-molecule-edpm_tuned SUCCESS in 5m 57s
✔️ edpm-ansible-molecule-edpm_telemetry_power_monitoring SUCCESS in 7m 15s

@rabi
Copy link
Contributor Author

rabi commented Nov 11, 2024

Not sure if we can create an image based on ee-minimal-rhel9 and push it to quay.

@fao89
Copy link
Contributor

fao89 commented Nov 11, 2024

@@ -1,4 +1,4 @@
FROM ghcr.io/ansible/community-ansible-dev-tools:v24.10.0 as builder
FROM registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel9:1.0 as builder
Copy link
Contributor

Choose a reason for hiding this comment

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

This requires a login, so I don't think we can use this upstream.

@rabi rabi changed the title WIP Use rhel9 image for aee WIP Use ubi9 image for aee Nov 13, 2024
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/38084d7e449a4bae87301acad3f088d4

✔️ openstack-k8s-operators-content-provider SUCCESS in 33m 03s
podified-multinode-edpm-deployment-crc RETRY_LIMIT in 16m 32s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT in 20m 58s
edpm-ansible-tempest-multinode RETRY_LIMIT in 18m 57s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 5m 39s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 5m 51s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 4m 45s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 10m 01s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 9m 20s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 9m 57s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 7m 19s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 41s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 7m 36s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 11m 42s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 4m 06s
✔️ edpm-ansible-molecule-edpm_tuned SUCCESS in 5m 58s
✔️ edpm-ansible-molecule-edpm_telemetry_power_monitoring SUCCESS in 7m 04s

@rabi rabi force-pushed the image branch 2 times, most recently from 50b802a to 204daa0 Compare November 13, 2024 02:07
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b63e97343aec4fbc8c7f0448aa28e137

✔️ openstack-k8s-operators-content-provider SUCCESS in 34m 47s
podified-multinode-edpm-deployment-crc RETRY_LIMIT in 15m 44s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT in 21m 33s
edpm-ansible-tempest-multinode RETRY_LIMIT in 18m 15s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 5m 35s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 5m 27s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 4m 32s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 10m 01s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 9m 15s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 9m 48s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 6m 46s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 42s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 7m 23s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 11m 26s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 4m 11s
✔️ edpm-ansible-molecule-edpm_tuned SUCCESS in 5m 54s
✔️ edpm-ansible-molecule-edpm_telemetry_power_monitoring SUCCESS in 7m 03s

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/cb596c1a107a4c95ac45b933075c7658

✔️ openstack-k8s-operators-content-provider SUCCESS in 31m 05s
podified-multinode-edpm-deployment-crc RETRY_LIMIT in 15m 45s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT in 16m 30s
edpm-ansible-tempest-multinode RETRY_LIMIT in 18m 58s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 5m 43s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 5m 23s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 4m 38s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 9m 54s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 9m 22s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 10m 11s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 6m 54s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 33s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 7m 19s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 11m 41s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 3m 22s
✔️ edpm-ansible-molecule-edpm_tuned SUCCESS in 5m 37s
✔️ edpm-ansible-molecule-edpm_telemetry_power_monitoring SUCCESS in 6m 49s

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/070daecfd9474a538962a5e007a70450

✔️ openstack-k8s-operators-content-provider SUCCESS in 38m 08s
podified-multinode-edpm-deployment-crc RETRY_LIMIT in 16m 10s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT in 26m 37s
edpm-ansible-tempest-multinode RETRY_LIMIT in 19m 08s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 6m 33s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 5m 28s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 4m 39s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 9m 57s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 9m 06s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 9m 53s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 6m 47s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 32s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 7m 17s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 11m 27s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 4m 01s
✔️ edpm-ansible-molecule-edpm_tuned SUCCESS in 5m 45s
✔️ edpm-ansible-molecule-edpm_telemetry_power_monitoring SUCCESS in 6m 13s

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/95cc383bad0d499783aa4c17d7f5f374

✔️ openstack-k8s-operators-content-provider SUCCESS in 34m 21s
podified-multinode-edpm-deployment-crc RETRY_LIMIT in 17m 12s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT in 21m 47s
edpm-ansible-tempest-multinode RETRY_LIMIT in 19m 33s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 5m 30s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 5m 38s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 4m 59s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 9m 51s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 9m 45s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 10m 02s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 7m 31s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 32s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 7m 20s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 12m 35s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 4m 26s
✔️ edpm-ansible-molecule-edpm_tuned SUCCESS in 6m 37s
✔️ edpm-ansible-molecule-edpm_telemetry_power_monitoring SUCCESS in 8m 04s

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/7b90a2d47c774449bd50d44288957499

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 00m 37s
podified-multinode-edpm-deployment-crc FAILURE in 1h 44m 44s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 38m 41s
edpm-ansible-tempest-multinode FAILURE in 1h 47m 38s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 5m 46s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 4m 38s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 5m 04s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 10m 24s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 9m 23s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 9m 50s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 7m 24s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 34s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 8m 15s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 12m 27s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 4m 16s
✔️ edpm-ansible-molecule-edpm_tuned SUCCESS in 6m 11s
✔️ edpm-ansible-molecule-edpm_telemetry_power_monitoring SUCCESS in 7m 04s

@rabi rabi force-pushed the image branch 2 times, most recently from cdc213c to a8222f0 Compare November 13, 2024 08:14
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/886e5563af5840d5b6393fc3a0941135

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 01m 31s
podified-multinode-edpm-deployment-crc FAILURE in 1h 42m 28s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 34m 08s
edpm-ansible-tempest-multinode FAILURE in 1h 47m 55s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 6m 04s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 4m 42s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 4m 10s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 7m 30s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 7m 38s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 8m 20s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 5m 59s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 12s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 6m 28s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 11m 31s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 3m 38s
✔️ edpm-ansible-molecule-edpm_tuned SUCCESS in 5m 49s
✔️ edpm-ansible-molecule-edpm_telemetry_power_monitoring SUCCESS in 6m 33s

The current adt image is with fedora base image that installs packages
using pip without constraints and prone to be broken with latest changes
in packages.

We also probably need a way to control what should be installed with pip and
dnf when using ubi9.

Signed-off-by: rabi <ramishra@redhat.com>
@rabi rabi changed the title WIP Use ubi9 image for aee Use ubi9 image for aee Nov 13, 2024
Copy link
Contributor

@slagle slagle left a comment

Choose a reason for hiding this comment

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

+2
I like this, and the size reduction is nice. Given there's no ee-minimal image available upstream on quay.io, using ubi9 seems pretty reasonable.

I'll leave it to @fao89 to approve, just to make sure he doesn't have any concerns.

Copy link
Contributor

openshift-ci bot commented Nov 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fao89, rabi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 15de57d into openstack-k8s-operators:main Nov 13, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants