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

Build a bootc based EDPM image #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

steveb
Copy link
Contributor

@steveb steveb commented Sep 26, 2024

See the README.rst for instructions.

Jira: OSPRH-10403

@steveb
Copy link
Contributor Author

steveb commented Sep 26, 2024

The following images are ready to consume if you don't want to build your own:

  • quay.io/steveb/edpm-bootc:latest
  • quay.io/steveb/edpm-bootc:latest-qcow2

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/986dbe58f96648fea22ced5fea6cc03d

✔️ eib-content-provider-build-images SUCCESS in 45m 33s
eib-podified-multinode-ironic-deployment FAILURE in 22m 15s
eib-crc-podified-edpm-baremetal RETRY_LIMIT in 23m 46s

Copy link

@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.

looking good. i'll have a go at testing the image with install_yamls

bootc/Makefile Show resolved Hide resolved
@steveb steveb force-pushed the bootc branch 2 times, most recently from f064212 to 04bd33f Compare October 15, 2024 03:22
bootc/Makefile Outdated
.PHONY: build
build: output/yum.repos.d
sudo buildah inspect ${EDPM_BOOTC_IMAGE} > /dev/null && exit 0 || true
buildah bud -f ${EDPM_CONTAINERFILE} -t ${EDPM_BOOTC_IMAGE} .
Copy link

Choose a reason for hiding this comment

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

i believe this line needs sudo as well, otherwise the previous line never finds the image.

bootc/Makefile Show resolved Hide resolved
See the README.rst for instructions.

Jira: OSPRH-10403
@steveb steveb changed the title WIP build a bootc based EDPM image Build a bootc based EDPM image Oct 15, 2024
slagle added a commit to slagle/install_yamls that referenced this pull request Oct 16, 2024
Also adds a new Makefile target:
make edpm_compute_bootc

Depends on the image that will eventually be published at
quay.io/openstack-k8s-operators/edpm-bootc:latest

See openstack-k8s-operators/edpm-image-builder#37

Signed-off-by: James Slagle <jslagle@redhat.com>
slagle added a commit to slagle/install_yamls that referenced this pull request Oct 17, 2024
Also adds a new Makefile target:
make edpm_compute_bootc

Depends on the image that will eventually be published at
quay.io/openstack-k8s-operators/edpm-bootc:latest

See openstack-k8s-operators/edpm-image-builder#37

Signed-off-by: James Slagle <jslagle@redhat.com>
@rabi
Copy link
Contributor

rabi commented Oct 18, 2024

I tried the image with baremetal job and here[1] is the result. It failed trying to update packages in the bootstrap service as expected. Are we going to change the roles to ensure that we don't install/update packages using dnf when using this image?

[1] https://logserver.rdoproject.org/32/932/fa1863adc2dc5105a7476285554b309232b34126/github-check/install-yamls-crc-podified-edpm-baremetal/4fbb610/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/pods/bootstrap-edpm-deployment-ipam-openstack-edpm-ipam-6nx5n/logs/bootstrap-edpm-deployment-ipam-openstack-edpm-ipam.log

@slagle
Copy link

slagle commented Oct 18, 2024

I tried the image with baremetal job and here[1] is the result. It failed trying to update packages in the bootstrap service as expected. Are we going to change the roles to ensure that we don't install/update packages using dnf when using this image?

[1] https://logserver.rdoproject.org/32/932/fa1863adc2dc5105a7476285554b309232b34126/github-check/install-yamls-crc-podified-edpm-baremetal/4fbb610/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/pods/bootstrap-edpm-deployment-ipam-openstack-edpm-ipam-6nx5n/logs/bootstrap-edpm-deployment-ipam-openstack-edpm-ipam.log

yes, that's the plan. we need to go through all the ansible and see where we need to adapt it to work with bootc images.

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