CiscoDevNet / FMCAnsible

GNU General Public License v3.0
20 stars 24 forks source link

ERROR! Unable to extract 'tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/core/' from collection #16

Closed y202 closed 1 year ago

y202 commented 2 years ago

Hi expert,

i am facing the error while installing the FMCAnsible module, but it looks like i did have the module installed regardless the error highlighted below. can you verify if this is expected error? The ansible version is 2.10.17 which is not one of the tested versions in the readme document.

$ ansible --version ansible 2.10.17 ! ! ~$ sudo ansible-galaxy collection install cisco.fmcansible Starting galaxy collection install process Process install dependency map Starting collection install process Installing 'cisco.fmcansible:0.1.0' to '/root/.ansible/collections/ansible_collections/cisco/fmcansible' Downloading https://galaxy.ansible.com/download/cisco-fmcansible-0.1.0.tar.gz to /root/.ansible/tmp/ansible-local-32150kbon8oj1/tmp54yw1al6 cisco.fmcansible (0.1.0) was installed successfully Installing 'ansible.utils:2.6.1' to '/root/.ansible/collections/ansible_collections/ansible/utils' Downloading https://galaxy.ansible.com/download/ansible-utils-2.6.1.tar.gz to /root/.ansible/tmp/ansible-local-32150kbon8oj1/tmp54yw1al6 ansible.utils (2.6.1) was installed successfully Installing 'ansible.netcommon:3.0.1' to '/root/.ansible/collections/ansible_collections/ansible/netcommon' Downloading https://galaxy.ansible.com/download/ansible-netcommon-3.0.1.tar.gz to /root/.ansible/tmp/ansible-local-32150kbon8oj1/tmp54yw1al6 ansible.netcommon (3.0.1) was installed successfully Installing 'community.general:3.8.0' to '/root/.ansible/collections/ansible_collections/community/general' Downloading https://galaxy.ansible.com/download/community-general-3.8.0.tar.gz to /root/.ansible/tmp/ansible-local-32150kbon8oj1/tmp54yw1al6 ERROR! Unable to extract 'tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/core/' from collection ! ! ~/.ansible/collections/ansible_collections/cisco/fmcansible$ ls CHANGELOG.rst FILES.json README.md changelogs logs requirements.txt tests Dockerfile LICENSE init.py docs meta samples Dockerfile_integration MANIFEST.json ansible.cfg inventory plugins test-requirements.txt ! ! $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04 LTS Release: 22.04 Codename: jammy

ghost commented 1 year ago

I got the same issue, anyone know what's happened?

jeroenwittock commented 1 year ago

We are looking into this, we should have an update in the next few days at the latest.

jeroenwittock commented 1 year ago

We recently updated our collection to version 0.9 which includes several fixes and with that version I do not see the problem anymore:

jwittock@s0:$ ansible --version ansible 2.10.8 config file = None configured module search path = ['/home/jwittock/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible executable location = /usr/bin/ansible python version = 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] jwittock@s0:$ jwittock@s0:$ sudo ansible-galaxy collection install cisco.fmcansible Starting galaxy collection install process Process install dependency map Starting collection install process Installing 'cisco.fmcansible:0.9.0' to '/root/.ansible/collections/ansible_collections/cisco/fmcansible' Downloading https://galaxy.ansible.com/download/cisco-fmcansible-0.9.0.tar.gz to /root/.ansible/tmp/ansible-local-804542t5npwubw/tmpwuhfavm9 cisco.fmcansible (0.9.0) was installed successfully Installing 'ansible.utils:2.6.1' to '/root/.ansible/collections/ansible_collections/ansible/utils' Downloading https://galaxy.ansible.com/download/ansible-utils-2.6.1.tar.gz to /root/.ansible/tmp/ansible-local-804542t5npwubw/tmpwuhfavm9 ansible.utils (2.6.1) was installed successfully Installing 'ansible.netcommon:3.0.1' to '/root/.ansible/collections/ansible_collections/ansible/netcommon' Downloading https://galaxy.ansible.com/download/ansible-netcommon-3.0.1.tar.gz to /root/.ansible/tmp/ansible-local-804542t5npwubw/tmpwuhfavm9 ansible.netcommon (3.0.1) was installed successfully Installing 'community.general:3.8.0' to '/root/.ansible/collections/ansible_collections/community/general' Downloading https://galaxy.ansible.com/download/community-general-3.8.0.tar.gz to /root/.ansible/tmp/ansible-local-804542t5npwubw/tmpwuhfavm9 community.general (3.8.0) was installed successfully Installing 'community.network:3.0.0' to '/root/.ansible/collections/ansible_collections/community/network' Downloading https://galaxy.ansible.com/download/community-network-3.0.0.tar.gz to /root/.ansible/tmp/ansible-local-804542t5npwubw/tmpwuhfavm9 community.network (3.0.0) was installed successfully jwittock@s0:$

Would you mind verifying on your end if this issue is gone with the current version?

For your information, it is our goal to release version 1.0 once all the reported issues are addressed.

Thanks, J

jeroenwittock commented 1 year ago

Closing for now as 0.9.0 seems to address the issue. Let me know if you still face issues.