Collections errors

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 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 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 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 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 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 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/requirements.yml

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