-
Notifications
You must be signed in to change notification settings - Fork 83
RuntimeError: project local_path user cannot be found in /var/lib/awx/projects #11
Comments
you need the same folder on the awx_task container.
This will map /mnt/awx (or replace with something else) on the host server running the container, to the /var/lib/awx/projects folder on the container. |
Hi, Thanks for the suggestion. I am novice in dockers so i have tried manually mount the volume for running below command: [root@ansible ~]# docker run -v /media/sf_ansible_cookbooks:/var/lib/awx/projects -i -t awx_web:1.0.0.331 Traceback (most recent call last): 2017-09-12 16:48:47,009 INFO RPC interface 'supervisor' initialized |
Hi, I am able to resolve the issue by syncing up both containers directory "/var/lib/awx/projects" on awx_web and awx_tasks container but sharing a directory from source server to containers giving me issues :( |
@rahulansible how do you start the containers without the folder mount? |
@MartinTerp containers are already running. Once ansible-awx role has completed, status of containers were running or i will start them with docker container start. I have edited the docker-compose.yml file come up with awx role and tried re-running the playbook but no luck. |
Try this secuence:
|
I'm closing all issues on this repository as it has been deprecated; please see: #49 |
Hi,
Thanks for creating ansible awx role and containers.
I am running ansible awx role on oracle virtual box. Role has been ran perfectly and i was able to access the Ansible awx. I have added the playbooks manually and create a template to perform the job.
But while running job template i am getting below error:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/awx/main/tasks.py", line 799, in run
cwd = self.build_cwd(instance, **kwargs)
File "/usr/lib/python2.7/site-packages/awx/main/tasks.py", line 1188, in build_cwd
(job.project.local_path, root))
RuntimeError: project local_path user cannot be found in /var/lib/awx/projects
I have created the directory under awx_web container and do i have define somewhere in settings for PROJECT PATH. Link Ansible tower do we have any file w.r.t settings.
The text was updated successfully, but these errors were encountered: