Remote Receptor Instance Not working

471 views
Skip to first unread message

Beltur Rangarajan Navneet

unread,
May 29, 2023, 8:41:10 AM5/29/23
to AWX Project
Hi Team,
I am trying the latest awx-operator.
I create a new Instance in AWX on default port 27199 (  REHL 8.4)
Downloaded the bundle and installed receptor and other configuration on the VM.
While running a job I get below error
Traceback (most recent call last): File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py", line 435, in _run_internal lines = resultfile.readlines() OSError: read() should have returned a bytes object, not 'NoneType' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py", line 604, in run res = receptor_job.run() File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py", line 317, 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 444, in _run_internal raise RuntimeError(detail) RuntimeError: exit status 1

On awx-ee pod logs I am getting
ERROR 2023/05/29 12:24:30 write unix /var/run/receptor/receptor.sock->@: write: broken pipe
ERROR 2023/05/29 12:24:30 Write error in control service: write unix /var/run/receptor/receptor.sock->@: write: broken pipe

Please help!

AWX Project

unread,
May 31, 2023, 2:49:06 PM5/31/23
to AWX Project
Hello,
We'd like to gather a bit more information from you. Please let us know which version of AWX you are on. Please also let us know if you are consistently receiving that error message. 

Could you bump the AWX Task pod to recreate the ee container?  Restarting the service may resolve this for you. 

Please also let us know if any of the jobs launch correctly. Does the demo job launch when run with the default container group?

-AWX Team 

Navneet Beltur Rangarajan

unread,
Jun 5, 2023, 1:38:16 AM6/5/23
to awx-p...@googlegroups.com
AWX version 22.3
I am getting this error consistently, This is the first time I am
trying this feature and failing.
I also tried restarting the service many times, no luck :(
The demo job launched correctly with the default container group. But
it does not work with an external execution node.

Could it be because there is no receptorctl binary in $PATH OOB in
awx-ee container?
> --
> You received this message because you are subscribed to the Google Groups "AWX Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/bb8f4b8e-3870-4cf7-945c-d9af30f3bc5an%40googlegroups.com.



--
Regards,
Navneet

Navneet Beltur Rangarajan

unread,
Jun 6, 2023, 2:36:00 AM6/6/23
to awx-p...@googlegroups.com
Hi Team,

Is there a Dedicated support model for AWX? Can I connect with
someone? I can arrange for a budget for this support.

Kindly connect with me on my email or Mobile - +919673330911


Navneet
--
Regards,
Navneet

Bill Medley

unread,
Jun 6, 2023, 9:01:52 AM6/6/23
to AWX Project
awx is open source and there is no support other than the community. if you want a supported solution you need to purchase ansible automation from redhat.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/CAG1y4zXL%2BOKcSWJgsxYSNcMhD0W1Ynhc5A3gDXS_iroRhk_1gw%40mail.gmail.com.

AWX Project

unread,
Jun 6, 2023, 11:31:31 AM6/6/23
to AWX Project
Hi,
As mentioned above, AWX is open source and the community can help.

Ansible Automation Platform, which includes Automation Controller (AWX), and lots more is available via Automation Controller overview.

Kind regards

Frank Dias

unread,
Jun 6, 2023, 11:33:52 AM6/6/23
to AWX Project
Tower is the commercial version with support option, Awx is community based

Navneet Beltur Rangarajan

unread,
Jun 7, 2023, 1:42:10 PM6/7/23
to awx-p...@googlegroups.com
I understand , Can I get some ideas to solve this problem.

I tried running receptorctl CLI inside of awx-ee pod and it worked for me on remote on exexution.

This means remote execution node receptor is working fine.

Running the same playbook from AWX job template is not working. 

Any idea or direction please?

--
Regards,
Navneet

AWX Project

unread,
Jun 9, 2023, 1:27:07 PM6/9/23
to AWX Project
is your awx-ee container staying healthy during the job run? the broken socket pipe suggests that maybe receptor is crashing

after a job fails, can you run "kubectl get pods" and copy and paste the output here? I'd like to see if the task container shows signs of restarting the awx-ee container

AWX Team

Navneet Beltur Rangarajan

unread,
Jun 15, 2023, 12:18:26 PM6/15/23
to awx-p...@googlegroups.com
Hi Team,

Is podman mandatory for remote execution node? Do I need to install remote node through bundle only?

Navneet

--
Regards,
Navneet

AWX Project

unread,
Jun 21, 2023, 3:35:59 PM6/21/23
to AWX Project
technically ansible-runner accepts "--process-isolation-executable" argument that can specify podman or docker, but I don't believe awx exposes that to users. In that case, podman is required.

You don't kneed to run the install_receptor.py playbook per se. However you do need the SSL certificates, keys, and CA that are included in the install bundle download.

AWX Team
Reply all
Reply to author
Forward
0 new messages