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

Incorrect Package Names in AWX for python quay.io/ansible/awx-ee:latest #15263

Open
5 of 11 tasks
sbainfosrinivasan opened this issue Jun 10, 2024 · 0 comments
Open
5 of 11 tasks
Labels
community component:awx_collection issues related to the collection for controlling AWX needs_triage type:bug

Comments

@sbainfosrinivasan
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to security@ansible.com instead.)

Bug Summary

I encountered an error while running the AWX report. The error message indicates that the packages python38-cryptography, python38-pytz, python38-pyyaml, and python38-requests cannot be found. However, the image is based on CentOS 9, where the expected package names should be in the format python3-<package_name>.

AWX version

quay.io/ansible/awx-ee

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

minikube

Modifications

yes

Ansible version

latest

Operating system

redhat 9

Web browser

No response

Steps to reproduce

The system is using CentOS 9 as the base OS. According to CentOS 9 conventions, Python 3 packages should be prefixed with python3-, not python38-.

Expected results

No match for argument: python38-cryptography
No match for argument: python38-pytz
No match for argument: python38-pyyaml
No match for argument: python38-requests
Package qemu-img-17:9.0.0-3.el9.x86_64 is already installed.
Package rsync-3.2.3-20.el9.x86_64 is already installed.
Error: Unable to find a match: python38-cryptography python38-pytz python38-pyyaml python38-requests
Error: building at STEP "RUN /output/install-from-bindep && rm -rf /output/wheels": while running runtime: exit status 1

Actual results

I suggest modifying the dependencies or package names in the AWX latest image to use the correct naming convention (python3-<package_name>). This adjustment should resolve the issue with package dependency resolution.

you can find the updated image here podman pull quay.io/srinivasan_d/paloalto

Additional information

Please update the AWX latest image to reflect the correct package naming convention for CentOS 9. This will ensure compatibility and resolve the dependency resolution error encountered.

@github-actions github-actions bot added component:awx_collection issues related to the collection for controlling AWX needs_triage type:bug community labels Jun 10, 2024
@sbainfosrinivasan sbainfosrinivasan changed the title Incorrect Package Names in AWX for python Incorrect Package Names in AWX for python quay.io/ansible/awx-ee:latest Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community component:awx_collection issues related to the collection for controlling AWX needs_triage type:bug
Projects
None yet
Development

No branches or pull requests

1 participant