# Collections errors

**URL:** <https://forum.ansible.com/t/collections-errors/37860>\
**Category:** AWX Project\
**Tags:** awx, galaxy-ng\
**Created:** [April 6, 2023, 2:49pm UTC](https://forum.ansible.com/t/collections-errors/37860 "2023-04-06T14:49:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rake](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rake](https://forum.ansible.com/u/rake)\
**Post date:** [April 6, 2023, 2:49pm UTC](https://forum.ansible.com/t/collections-errors/37860/1 "2023-04-06T14:49:07Z")

</div>

Hello team,

I’m running a project sync that project has collection directory and getting following error any idea also pasted contents of collections file

TASK [fetch galaxy collections from collections/requirements.(yml/yaml)] \*\*\*\*\*\*\*  
failed: [localhost] (item=/var/lib/awx/projects/\_14\_\_tie\_builder\_playbooks/collections/requirements.yml) =\> {“ansible\_loop\_var”: “item”, “changed”: true, “cmd”: [“ansible-galaxy”, “collection”, “install”, “-r”, “/var/lib/awx/projects/\_14\_\_tie\_builder\_playbooks/collections/requirements.yml”, “–collections-path”, “/var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/requirements\_collections”], “delta”: “0:00:09.747977”, “end”: “2023-04-06 14:31:37.236870”, “item”: “/var/lib/awx/projects/\_14\_\_tie\_builder\_playbooks/collections/requirements.yml”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2023-04-06 14:31:27.488893”, “stderr”: “ERROR! Unable to extract ‘tests/integration/targets/django\_manage/files/base\_test/1045-single-app-project/single\_app\_project/core/’ from collection”, “stderr\_lines”: [“ERROR! Unable to extract ‘tests/integration/targets/django\_manage/files/base\_test/1045-single-app-project/single\_app\_project/core/’ from collection”], “stdout”: “Starting galaxy collection install process\nProcess install dependency map\nStarting collection install process\nDownloading [https://galaxy.ansible.com/download/ansible-netcommon-2.4.0.tar.gz](https://galaxy.ansible.com/download/ansible-netcommon-2.4.0.tar.gz) to /var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/tmp/ansible-local-4406mc2uws45/tmpgefg7vz2/ansible-netcommon-2.4.0-3g\_6f76s\nInstalling ‘ansible.netcommon:2.4.0’ to ‘/var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/requirements\_collections/ansible\_collections/ansible/netcommon’\nansible.netcommon:2.4.0 was installed successfully\nDownloading [https://galaxy.ansible.com/download/ansible-posix-1.2.0.tar.gz](https://galaxy.ansible.com/download/ansible-posix-1.2.0.tar.gz) to /var/lib/awx/projects/.\_\_awx\_cache/_14\_\_tie\_builder\_playbooks/stage/tmp/ansible-local-4406mc2uws45/tmpgefg7vz2/ansible-posix-1.2.0-rtiko9n_\nInstalling ‘ansible.posix:1.2.0’ to ‘/var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/requirements\_collections/ansible\_collections/ansible/posix’\nansible.posix:1.2.0 was installed successfully\nDownloading [https://galaxy.ansible.com/download/community-general-4.0.0.tar.gz](https://galaxy.ansible.com/download/community-general-4.0.0.tar.gz) to /var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/tmp/ansible-local-4406mc2uws45/tmpgefg7vz2/community-general-4.0.0-r27letg3\nInstalling ‘community.general:4.0.0’ to ‘/var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/requirements\_collections/ansible\_collections/community/general’”, “stdout\_lines”: [“Starting galaxy collection install process”, “Process install dependency map”, “Starting collection install process”, “Downloading [https://galaxy.ansible.com/download/ansible-netcommon-2.4.0.tar.gz](https://galaxy.ansible.com/download/ansible-netcommon-2.4.0.tar.gz) to /var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/tmp/ansible-local-4406mc2uws45/tmpgefg7vz2/ansible-netcommon-2.4.0-3g\_6f76s”, “Installing ‘ansible.netcommon:2.4.0’ to ‘/var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/requirements\_collections/ansible\_collections/ansible/netcommon’”, “ansible.netcommon:2.4.0 was installed successfully”, “Downloading [https://galaxy.ansible.com/download/ansible-posix-1.2.0.tar.gz](https://galaxy.ansible.com/download/ansible-posix-1.2.0.tar.gz) to /var/lib/awx/projects/.\_\_awx\_cache/_14\_\_tie\_builder\_playbooks/stage/tmp/ansible-local-4406mc2uws45/tmpgefg7vz2/ansible-posix-1.2.0-rtiko9n_”, “Installing ‘ansible.posix:1.2.0’ to ‘/var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/requirements\_collections/ansible\_collections/ansible/posix’”, “ansible.posix:1.2.0 was installed successfully”, “Downloading [https://galaxy.ansible.com/download/community-general-4.0.0.tar.gz](https://galaxy.ansible.com/download/community-general-4.0.0.tar.gz) to /var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/tmp/ansible-local-4406mc2uws45/tmpgefg7vz2/community-general-4.0.0-r27letg3”, “Installing ‘community.general:4.0.0’ to ‘/var/lib/awx/projects/.\_\_awx\_cache/\_14\_\_tie\_builder\_playbooks/stage/requirements\_collections/ansible\_collections/community/general’”]}

[collections](https://github.comcast.com/APS-INFRA/tie-builder-playbooks/tree/main/collections)/requirements.yml

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [April 7, 2023, 5:48pm UTC](https://forum.ansible.com/t/collections-errors/37860/2 "2023-04-07T17:48:12Z")

</div>

> From the output it looks like it got the first three collections but then had an issue with community.hashi\_vault.  
> Are you pulling that from galaxy? If so, can you try installing it from a random machine on command line using ansible-galaxy and let us know if that works for you? It worked for us pulling from galaxy but we wanted to confirm incase you are pulling from another repository.

The error defiantly looks weird to us:

ERROR! Unable to extract ‘tests/integration/targets/django\_manage/files/base\_test/1045-single-app-project/single\_app\_project/core/’ from collection

Are you still having the issue if you try it again?

-The AWX Team
