community.general icon indicating copy to clipboard operation
community.general copied to clipboard

community.general.iso_create bug with iso's filename

Open anav000 opened this issue 1 year ago • 3 comments

Summary

I'm working with an Ubuntu VM, I'm using the community.general.iso_create module and I'm facing the error:

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to directory /sources/support/logging/en-us to ISO file due to ISO9660 filenames must consist of characters A-Z, 0-9, and _"}

And I was able to read the docs discussing the iso filename standard (such as Joliet, Rock Ridge, Interchange_level) to avoid bothering you but I'm still stuck. I think my file is correct but maybe I'm wrong ^^.

(Sorry if a problem has the same purpose, I haven't seen it) (Sorry for my misunderstanding, I'm new to Ansible).

Thank you for your help and advices, Kind regards,

Axel

Issue Type

Bug Report

Component Name

community.general.iso_create

Ansible Version

$ ansible --version
ansible [core 2.13.2]

  config file = None

  configured module search path = ['/home/axel/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']

  ansible python module location = /home/axel/.local/lib/python3.10/site-packages/ansible

  ansible collection location = /home/axel/.ansible/collections:/usr/share/ansible/collections

  executable location = /usr/bin/ansible

  python version = 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]

  jinja version = 3.1.2

  libyaml = True

Community.general Version

$ ansible-galaxy collection list community.general
# /home/axel/.local/lib/python3.10/site-packages/ansible_collections

Collection        Version

----------------- -------

community.general 5.4.0  



# /usr/lib/python3/dist-packages/ansible_collections

Collection        Version

----------------- -------

community.general 1.3.6  



# /home/axel/.ansible/collections/ansible_collections

Collection        Version

----------------- -------

community.general 5.4.0

Configuration

$ ansible-config dump --only-changed
Nothing there.

OS / Environment

$ lsb_release -a
Distributor ID:	Ubuntu

Description:	Ubuntu 22.04.1 LTS

Release:	22.04

Codename:	jammy

Ubuntu VM on VirtualBox, BIOS, Connected to office proxy.

Steps to Reproduce

---



- hosts: localhost

  tasks:

  - name: Create an ISO file

    community.general.iso_create:

      src_files:

        - ./sources

        - ./Autounattend.xml

      dest_iso: ./output/custom_en_windows_10_enterprise_ltsc.iso

      interchange_level: 3

      joliet: 3

      vol_ident: WIN_AUTOINSTALL

Expected Results

I expected to get my own iso file.

Actual Results

ansible-playbook playbook.yml                   

[WARNING]: No inventory was parsed, only implicit localhost is available

[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit

localhost does not match 'all'



PLAY [localhost] ************************************************************************************



TASK [Gathering Facts] ******************************************************************************

ok: [localhost]



TASK [Create an ISO file] ***************************************************************************

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to directory /sources/support/logging/en-us to ISO file due to ISO9660 filenames must consist of characters A-Z, 0-9, and _"}



PLAY RECAP ******************************************************************************************

localhost                  : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

Code of Conduct

  • [X] I agree to follow the Ansible Code of Conduct

anav000 avatar Aug 09 '22 16:08 anav000

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot avatar Aug 09 '22 16:08 ansibullbot

cc @Tomorrow9 click here for bot help

ansibullbot avatar Aug 09 '22 16:08 ansibullbot

In order to complete the issue, I forgot to say that I had tried with several names that follow the iso filename standard (e.g. Rock Ridge, Juliet, etc..). So at this time, I'm still stuck.. Thanks for your advices/help/answers ! Kind regards,

Axel

anav000 avatar Aug 11 '22 07:08 anav000

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot avatar Nov 07 '22 08:11 ansibullbot