Error running AWX template, new to this

51 views
Skip to first unread message

Richard Wolford

unread,
Sep 14, 2020, 1:34:25 PM9/14/20
to Ansible Project
Here is the error in it's entirety from the JOBS page, I've no idea what's wrong:

When I try to run a template, I get this error:  PLAYBOOK: Missing a revision to run due to failed project update.


Here is the error from the JOBS page


DETAILS
STATUS
Error
STARTED
9/14/2020 1:10:44 PM
FINISHED
9/14/2020 1:11:31 PM
ERROR DETAILS
Traceback (most recent call last): File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/redis/connection.py", line 552, in connect sock = self._connect() File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/redis/connection.py", line 905, in _connect sock.connect(self.path) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/tasks.py", line 1479, in run res = ansible_runner.interface.run(**params) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/ansible_runner/interface.py", line 178, in run r.run() File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/ansible_runner/runner.py", line 206, in run searchwindowsize=100) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/pexpect/spawnbase.py", line 341, in expect timeout, searchwindowsize, async_) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/pexpect/spawnbase.py", line 369, in expect_list return exp.expect_loop(timeout) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/pexpect/expect.py", line 111, in expect_loop incoming = spawn.read_nonblocking(spawn.maxread, timeout) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/pexpect/pty_spawn.py", line 500, in read_nonblocking return super(spawn, self).read_nonblocking(size) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/pexpect/spawnbase.py", line 179, in read_nonblocking self._log(s, 'read') File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/pexpect/spawnbase.py", line 130, in _log second_log.write(s) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/ansible_runner/utils.py", line 274, in write event_data = self._emit_event(value[:match.start()], event_data) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/ansible_runner/utils.py", line 349, in _emit_event self._event_callback(event_data) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/ansible_runner/runner.py", line 69, in event_callback should_write = self.event_handler(event_data) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/tasks.py", line 2010, in event_handler super(RunProjectUpdate, self).event_handler(event_data) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/tasks.py", line 1242, in event_handler self.dispatcher.dispatch(event_data) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/queue.py", line 35, in dispatch self.connection.rpush(self.queue, json.dumps(obj, cls=AnsibleJSONEncoder)) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/redis/client.py", line 1981, in rpush return self.execute_command('RPUSH', name, *values) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/redis/client.py", line 875, in execute_command conn = self.connection or pool.get_connection(command_name, **options) File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/redis/connection.py", line 1185, in get_connection connection.connect() File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/redis/connection.py", line 557, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 2 connecting to unix socket: /var/run/redis/redis.sock. No such file or directory.SHOW LESS
JOB TYPE
Check
LAUNCHED BY
EXECUTION NODE
awx
INSTANCE GROUP
update_git
delete
Mercury Demo Project
PLAYS 0 TASKS 0 HOSTS 1 ELAPSED 00:00:47  

Dick Visser

unread,
Sep 14, 2020, 1:52:16 PM9/14/20
to ansible...@googlegroups.com
this is the ansible list - you probably want to use
https://groups.google.com/g/awx-project
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7daa99da-09ab-40c7-851c-143d3256cf47n%40googlegroups.com.



--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT
Reply all
Reply to author
Forward
0 new messages