Comments (3)
Please remove the cache first and also provide more information about which python interpreter is used to execute navigator.
from ansible-navigator.
This is a good find. Can you confirm the python version inside the EE? The image_introspect.py
is volume mounted into the EE and run there to introspect it.
from ansible-navigator.
I cleared the ansible-navigatgor cache using "# rm ~/.cache/ansible-navigator/*" and tried again. I received the same result.
On Fedora 40 I am using the default python 3.12.
I have several EE's I can inspect:
quay.io/ansible/awx-ee:latest (inspection fails) (python 3.9)
ghcr.io/ansible/creator-ee:v24.2.0 (works) (python 3.12)
registry.redhat.io/ansible-automation-platform-24/ee-29-rhel8:latest (inspection fails) (python 3.8)
registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel8:latest (inspection fails) (python 3.9)
registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest (inspection fails) (python 3.9)
So it seems to depend on what python is in the EE. if the EE contains python 3.12 it works, 3.8 and 3.9 do not. Notice the OS I'm running on runs 3.12 as well.
If I downgrade to ansible-navigator==24.2.0 inspection works for all of the EE's regardless of the python version.
Python information by EE:
awx-ee:
bash-5.1$ python --version
Python 3.9.18
bash-5.1$ ls -l /usr/bin/python*
lrwxrwxrwx. 1 root root 9 Jan 26 18:40 /usr/bin/python -> ./python3
lrwxrwxrwx. 1 root root 9 Jan 26 18:30 /usr/bin/python3 -> python3.9
-rwxr-xr-x. 1 root root 15624 Jan 26 18:30 /usr/bin/python3.9
bash-5.1$
creator-ee:
root@creator-ee:v24.2.0: /tmp
# python --version
Python 3.12.1
root@creator-ee:v24.2.0: /tmp
# ls -l /usr/bin/python*
lrwxrwxrwx. 1 root root 9 Dec 18 00:00 /usr/bin/python -> ./python3
lrwxrwxrwx. 1 root root 16 Dec 18 00:00 /usr/bin/python-config -> ./python3-config
lrwxrwxrwx. 1 root root 10 Dec 18 00:00 /usr/bin/python3 -> python3.12
lrwxrwxrwx. 1 root root 17 Dec 18 00:00 /usr/bin/python3-config -> python3.12-config
-rwxr-xr-x. 1 root root 15888 Dec 18 00:00 /usr/bin/python3.12
-rwxr-xr-x. 1 root root 62 Dec 18 00:00 /usr/bin/python3.12-config
-rwxr-xr-x. 1 root root 3079 Dec 18 00:00 /usr/bin/python3.12-x86_64-config
root@creator-ee:v24.2.0: /tmp
#
ee-29-rhel8:
bash-4.4# python --version
Python 3.8.17
bash-4.4# ls -al /usr/bin/python*
lrwxrwxrwx. 1 root root 36 Apr 18 2023 /usr/bin/python -> /etc/alternatives/unversioned-python
lrwxrwxrwx. 1 root root 25 Apr 18 2023 /usr/bin/python3 -> /etc/alternatives/python3
-rwxr-xr-x. 1 root root 7776 Aug 10 2023 /usr/bin/python3.8
bash-4.4#
ee-minimal-rhel8:
bash-4.4# python --version
Python 3.9.18
bash-4.4# ls -al /usr/bin/python*
lrwxrwxrwx. 1 root root 36 Apr 18 17:04 /usr/bin/python -> /etc/alternatives/unversioned-python
lrwxrwxrwx. 1 root root 25 Apr 18 17:04 /usr/bin/python3 -> /etc/alternatives/python3
-rwxr-xr-x. 1 root root 7768 Sep 22 2023 /usr/bin/python3.9
bash-4.4#
ee-supported-rhel8:
bash-4.4# python --version
Python 3.9.18
bash-4.4# ls -al /usr/bin/python*
lrwxrwxrwx. 1 root root 36 Apr 18 17:04 /usr/bin/python -> /etc/alternatives/unversioned-python
lrwxrwxrwx. 1 root root 25 Apr 18 17:04 /usr/bin/python3 -> /etc/alternatives/python3
-rwxr-xr-x. 1 root root 7768 Sep 22 2023 /usr/bin/python3.9
bash-4.4#
from ansible-navigator.
Related Issues (20)
- Mac - ssh-agent forwarding - ee container asks ssh key passphrase HOT 3
- MacOS - Docker - EEv3: SSH fails with socket path /runner/.ansible/pc/... does not exist
- ansible-navigator run playbook.yml fails with error ansible-playbook: error: unrecognized arguments: podman HOT 6
- Update links to EE getting started guide HOT 1
- Image inspection fails in actions workflow HOT 2
- Switch Releases to CalVer
- Update `cmdline` description
- Update to the latest pytest-plus
- Refactor navigator testing
- Drop setuptools_scm_git_archive dependency HOT 1
- Provide visual feedback when filter is applied HOT 1
- collections command fails with message: Something went really wrong HOT 1
- ANSIBLE_VAULT_PASSWORD related instructions do not seem to work as documented with EE's. HOT 6
- Update docs to run on Podman for Mac
- Allow disabling logging completely
- How do I turn off the requirement for ansible-navigator being run in a tty?
- Support the "newer" pull policy of podman to better cope with download issues
- Podman volume mount of single files are replaced by a directory mount rather than inserted correctly HOT 2
- ansible-navigator run does not allow using yaml output HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-navigator.