Hi!
I have updated awx from 19.3.0 to 19.4.0. After the upgrade when I initiate project sync or submit the job, it is going into pending state. no logs showed in the job.
when I checked the awx-web, the job is submitted to an api then there is no useful logs.
When I checked the awx-task logs, I saw below.
/etc/receptor/receptor.conf not found in awx-task container and itis called by the python script /var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/utils/receptor.py", line 22. Is it a bug? kindly help.
2021-11-01 13:24:08,618 WARNING [-] awx.main.dispatch scaling up worker pid:7949
2021-11-01 13:24:08,625 WARNING [-] awx.main.dispatch scaling up worker pid:7950
2021-11-01 13:24:08,631 WARNING [-] awx.main.dispatch scaling up worker pid:7951
2021-11-01 13:24:08,638 WARNING [-] awx.main.dispatch scaling up worker pid:7952
2021-11-01 13:24:08,641 WARNING [-] awx.main.dispatch Running worker dispatcher listening to queues [‘tower_broadcast_all’, ‘awxt-64dcfcbbb6-99wmx’]
2021-11-01 13:24:08,650 DEBUG [-] awx.main.tasks Syncing Schedules
2021-11-01 13:24:08,666 DEBUG [-] awx.main.tasks Waited 0.0007059574127197266 seconds to obtain lock name: cluster_policy_lock
2021-11-01 13:24:08,675 DEBUG [-] awx.main.tasks Total instances: 4, available for policy: 4
2021-11-01 13:24:08,677 DEBUG [-] awx.main.tasks Policy percentage, adding Instances [3, 4, 5, 6] to Group controlplane
2021-11-01 13:24:08,677 DEBUG [-] awx.main.tasks Policy percentage, adding Instances [3] to Group default
2021-11-01 13:24:08,678 DEBUG [-] awx.main.tasks Skipping containerized group default for policy calculation
2021-11-01 13:24:08,678 DEBUG [-] awx.main.tasks Cluster policy computation finished in 0.011191606521606445 seconds
2021-11-01 13:24:08,679 DEBUG [-] awx.main.tasks Cluster node heartbeat task.
Traceback (most recent call last):
File “/usr/bin/awx-manage”, line 8, in
sys.exit(manage())
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/init.py”, line 171, in manage
execute_from_command_line(sys.argv)
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/django/core/management/init.py”, line 381, in execute_from_command_line
utility.execute()
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/django/core/management/init.py”, line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/django/core/management/base.py”, line 323, in run_from_argv
self.execute(*args, **cmd_options)
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/django/core/management/base.py”, line 364, in execute
output = self.handle(*args, **options)
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/management/commands/run_dispatcher.py”, line 62, in handle
consumer.run()
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/dispatch/worker/base.py”, line 149, in run
self.worker.on_start()
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/dispatch/worker/task.py”, line 128, in on_start
dispatch_startup()
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 170, in dispatch_startup
cluster_node_heartbeat()
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 536, in cluster_node_heartbeat
inspect_execution_nodes(instance_list)
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 475, in inspect_execution_nodes
ctl = get_receptor_ctl()
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/utils/receptor.py”, line 50, in get_receptor_ctl
receptor_sockfile = get_receptor_sockfile()
File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/utils/receptor.py”, line 22, in get_receptor_sockfile
with open(__RECEPTOR_CONF, ‘r’) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘/etc/receptor/receptor.conf’