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

Investigate updating to ansible-runner 2.10 or 2.11 #20

Open
jmontleon opened this issue Jan 30, 2022 · 2 comments
Open

Investigate updating to ansible-runner 2.10 or 2.11 #20

jmontleon opened this issue Jan 30, 2022 · 2 comments

Comments

@jmontleon
Copy link
Contributor

The ansible runner 2.10 and 2.11 images using python 3.8, which is not the platform python for EL8.
ansible/ansible-runner#595

ansible-runner uses pip to install, while we have made an effort to build dependencies like python-kubernetes and python-openshift as RPMs, albeit originally for the sake of other projects where we required packages.

Unfortunately these packages build against the platform python and won't work with the version of python ansible-runner is using.

Three options I can think of

  1. Build modules for python 3.8
  2. Wait for an EL9 base image
  3. Use pip to install our dependencies

I'm not fond of the idea of building a python 3.8 module package. It's likely to require lots of work on dependencies that aren't packaged for 3.8, even beyond what I/we are already maintaining for the platform python.

Even if we get an EL9 package that fixes the situation we're likely to end up back here eventually.

In reality using pip is probably not likely to cause too many problems, despite my preference for properly packaged dependencies.

@jmontleon
Copy link
Contributor Author

we might also need the ansible kubernetes community collection on these versions.

@jmontleon
Copy link
Contributor Author

the python 3.8 issue is a problem with 2.9 as well so I've moved the container to install kubernetes/openshift using pip already

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

1 participant