Receptor results in could not verify signature: token is expired error on a newly installed Ansible Automaton Platform 2
Issue
When running a job template in Ansible Automaton Platform 2, the receptor fails to verify the node signature due to an expired token
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py", line 539, in run
res = receptor_job.run()
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/receptor.py", line 271, 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 302, in _run_internal
result = receptor_ctl.submit_work(payload=sockout.makefile('rb'), **work_submit_kw)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/receptorctl/socket_interface.py", line 242, in submit_work
raise RuntimeError(f"Remote error: {text}")
RuntimeError: Remote error: ERROR: could not parse response: ERROR: could not verify signature: 1m1.12345678s by token is expired
Environment
- Ansible Automaton Platform 2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.