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
Unable to find an execution environment #1828
Comments
Hello @anetwalker, can you provide your AWX spec file (at least the part related to your custom EE urls) and the full operator logs? Did you notice any particular tasks failing in your operator logs related to EEs? In the UI do you see EEs listed? |
Hi @jessicamack , thanks for your support. At the moment, I have the operator stopped because when I start it, it overwrites the changes I've made in deployment.apps/ansible-awx-task and reverts back to the original URLs: Before start the Operator: [root@myhost ~]# kubectl get all -n awx NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE NAME READY UP-TO-DATE AVAILABLE AGE NAME DESIRED CURRENT READY AGE NAME READY AGE After start the Operator [root@myhost]# kubectl get all -n awx NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE NAME READY UP-TO-DATE AVAILABLE AGE NAME DESIRED CURRENT READY AGE NAME READY AGE I attach the description of ansible-awx-task.describe.after before and after starting the Operator. I also attach the log of the awx-manager container from the operator. |
Please confirm the following
Bug Summary
Recently I deployed AWX 23.5.1 on a Kubernetes cluster. Initially, everything went well, and I can log in to the AWX management web interface. I created an Organization, an inventory, a host group, and some hosts. The issue arises when I try to run a command from the inventory using the ping module; I get an immediate error with the following message:
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py", line 605, in run
res = receptor_job.run()
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py", line 318, in run
res = self._run_internal(receptor_ctl)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py", line 335, in _run_internal
work_submit_kw = dict(worktype=self.work_type, params=self.receptor_params, signwork=self.sign_work)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py", line 475, in receptor_params
spec_yaml = yaml.dump(self.pod_definition, explicit_start=True)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py", line 517, in pod_definition
default_pod_spec = get_default_pod_spec()
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/utils/execution_environments.py", line 35, in get_default_pod_spec
raise RuntimeError("Unable to find an execution environment.")
RuntimeError: Unable to find an execution environment.
AWX Operator version
23.5.1
AWX version
23.5.1
Kubernetes platform
other (please specify in additional information)
Kubernetes/Platform version
VMWare Tanzu
Modifications
yes
Steps to reproduce
I've changed the URLs of the images in the deployments to a local registry where I had previously uploaded them
Expected results
I expect the execution of this or another command works.
Actual results
Unable to find an execution environment
Additional information
No response
Operator Logs
No response
The text was updated successfully, but these errors were encountered: