# job and project in pending state after upgrade to 19.4.0

**URL:** <https://forum.ansible.com/t/job-and-project-in-pending-state-after-upgrade-to-19-4-0/35946>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [November 1, 2021, 2:32pm UTC](https://forum.ansible.com/t/job-and-project-in-pending-state-after-upgrade-to-19-4-0/35946 "2021-11-01T14:32:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Selvam\_Elangovan](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Post date:** [November 1, 2021, 2:32pm UTC](https://forum.ansible.com/t/job-and-project-in-pending-state-after-upgrade-to-19-4-0/35946/1 "2021-11-01T14:32:51Z")

</div>

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’

---

<div class="post-metadata">

**Author:** ![Selvam\_Elangovan](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Post date:** [November 1, 2021, 2:33pm UTC](https://forum.ansible.com/t/job-and-project-in-pending-state-after-upgrade-to-19-4-0/35946/2 "2021-11-01T14:33:36Z")

</div>

I am able to fix it after modifying the deployment using kubectl edit deployment and change the volumeMounts under awx-task as below:  
volumeMounts:

- mountPath: /etc/receptor.conf  
name: awx-receptor-config  
readOnly: true  
subPath: receptor.conf

The subPath is mandatory otherwise it will mount as directory.

Please fix this in upcoming release. Thanks.
