ansible-navigator
ansible-navigator copied to clipboard
Podman is not used by default
ISSUE TYPE
- Bug Report
SUMMARY
After installing ansible-navigator and execute it the first time, an image is downloaded by podman, but later no pod is used to execute the program. This not happen as default, but also choosing it explicitly as cmd flags. Also I'm not sure of the convenience of using this behavior by default. I have installed podman-docker to ensure cross compatibility, so I have both commands (podman|docker)
podman rootless podman version 3.4.7
ANSIBLE-NAVIGATOR VERSION
ansible-navigator 2.2.0
Python 3.9.13
LOG FILE
First:
➜ alex@alextop ~/repos/redhat/ansible/eda ansible-navigator
--------------------------------------------------------------------
Execution environment image and pull policy overview
--------------------------------------------------------------------
Execution environment image name: quay.io/ansible/creator-ee:v0.9.1
Execution environment image tag: v0.9.1
Execution environment pull arguments: None
Execution environment pull policy: tag
Execution environment pull needed: True
--------------------------------------------------------------------
Updating the execution environment
--------------------------------------------------------------------
Running the command: podman pull quay.io/ansible/creator-ee:v0.9.1
Trying to pull quay.io/ansible/creator-ee:v0.9.1...
Getting image source signatures
Copying blob bfd1401568a8 done
Copying blob 48ce73c7e477 done
Copying blob fee18ea417d6 done
Copying blob 9f45cf1cd9f2 done
Copying blob d476c80a44d7 done
Copying blob f0a2109a2528 done
Copying blob 4aebe424f143 done
Copying blob 410787409650 done
Copying blob efc5b38d83d9 done
Copying blob edb89913e580 done
Copying blob 6b561e91716e done
Copying blob 34d2a1249074 done
Copying blob 764ac4e7ad9b done
Copying blob 1cb646aa85f3 done
Copying blob 0a1c53b5e37b done
Copying blob 229587a136fc done
Copying blob 29a5ca154d1a done
Copying blob ff219ea64e3c done
Copying blob 0c6ae578cad8 done
Copying blob 6959376cbaa5 done
Copying blob 6b720af45b2e done
Copying blob 986b929179dc done
Copying config d1524b4410 done
Writing manifest to image destination
Storing signatures
d1524b4410d034b784fc0f32d6051cf384f676b16d690286297374923014cfd4
Then:
https://gist.github.com/Alex-Izquierdo/4943c2cbd774722172a33d0b223dffb4
STEPS TO REPRODUCE
ansible-navigator --execution-environment true --ll debug --ce podman
EXPECTED RESULTS
During the execution of ansible-navigator I should see running some related pod with podman ps
ACTUAL RESULTS
I don't see nothing, ansible-navigator is executed in the system:
➜ alex@alextop ~/repos/redhat/ansible/eda ps aux | grep "ansible-navigator"
alex 3942866 5.9 0.1 272524 42640 pts/6 S+ 10:36 0:01 /usr/bin/python3 /home/alex/bin/ansible-navigator --execution-environment true --ce podman
ADDITIONAL INFORMATION
Hey @Alex-Izquierdo
A couple things, navigator only runs podman when it needs to, there won't be a container running all the time.
Can you try again? Maybe in one terminal with:
ansible-navigator exec
(that should give you a shell in the EE)
and in another terminal:
podman ps
You should see the podman running the EE.
If you do not,
Can you run
ansible-navigator exec --ll debug --la false
and provide us the log file here?
Thanks- Brad