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

AWS EE build fails #41

Open
cloin opened this issue Sep 3, 2023 · 3 comments
Open

AWS EE build fails #41

cloin opened this issue Sep 3, 2023 · 3 comments
Assignees

Comments

@cloin
Copy link
Owner

cloin commented Sep 3, 2023

@IPvSean looks like this EE build fails since this commit 08a645c

+ /usr/bin/microdnf install -y --nodocs --setopt install_weak_deps=0 dnf gcc krb5-devel libssh-devel python3-Cython python3-devel python39-devel unzip

(microdnf:45): librhsm-WARNING **: 00:51:36.377: Found 0 entitlement certificates

(microdnf:45): librhsm-WARNING **: 00:51:36.381: Found 0 entitlement certificates
Downloading metadata...
Downloading metadata...
Downloading metadata...
error: No package matches 'python39-devel'
time="2023-09-03T00:51:37Z" level=error msg="error unmounting container: error saving updated state for build container \"\": container not known"
Error: error building at STEP "RUN /output/scripts/assemble": error while running runtime: exit status 1

An error occurred (rc=125), see output line(s) above for details.

Error here: https://github.com/cloin/ee-builds/actions/runs/6061470857/job/16446713494#step:7:388

@sean-m-sullivan
Copy link

Got this same error elsewhere including the workshops, Use Rhel8 images and its good, something in the base rhel9 images doesn't jive.

@anshulbehl
Copy link
Contributor

anshulbehl commented Sep 5, 2023

Looks like there is an issue with current version of certified redhat.sso collection's bindeps, which is causing the install of python39-devel in the EE, this is fixed upstream so a version update on hub should fix this. Until that time, the fix for the EE is

build_arg_defaults:
  EE_BASE_IMAGE: 'registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel9'
  EE_BUILDER_IMAGE: 'registry.redhat.io/ansible-automation-platform-24/ansible-builder-rhel9'

if the minimal EE can work as the base layer as opposed to supported
cc: @IPvSean

@nleiva
Copy link
Contributor

nleiva commented Sep 5, 2023

Oh... I also run into this. The culprit seems to be redhat.sso requiring an rpm that's not available on RHEL9.

'python39-devel [platform:rpm compile]  # from collection redhat.sso'

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

No branches or pull requests

5 participants