mhutter / ansible-docker-systemd-service

Ansible role for creating Systemd services for docker containers
https://galaxy.ansible.com/mhutter/docker-systemd-service
MIT License
49 stars 30 forks source link

Ansible Galaxy Import failed #72

Closed mhutter closed 2 months ago

mhutter commented 2 months ago
Starting import: task_id=2084247621079170876822522174674628311, pulp_id=01916957-70ec-7593-82bb-bf3530cceed7 

==== PARAMETERS ==== 
importer username: mhutter 
matched user: mhutter id:4464 
github_user: mhutter 
github_repo: ansible-docker-systemd-service 
github_reference: master 
alternate_clone_url: None 
alternate_namespace_name: None 
alternate_role_name: None 

==== CHECK FOR MATCHING ROLE(S) ==== 
user:mhutter repo:ansible-docker-systemd-service matched existing role mhutter.docker-systemd-service id:19056 

===== CLONING REPO ===== 
cloning https://github.com/mhutter/ansible-docker-systemd-service ... 

===== GIT ATTRIBUTES ===== 
github_reference(branch): master 
github_commit: 41d7736531eb0b4912b72b6cdd97c93c07b99656 
github_commit_message: chore(master): release 2.10.1 (#71)  
github_commit_date: 2024-08-19T08:30:46+02:00 

===== LOADING ROLE ===== 
Importing with galaxy-importer 0.4.20 

Role loading failed! unknown field in galaxy_info: LegacyGalaxyInfo.__init__() got an unexpected keyword argument 'name' 

Traceback (most recent call last):
  File "/venv/lib64/python3.11/site-packages/galaxy_importer/schema.py", line 532, in parse
    galaxy_info = LegacyGalaxyInfo(**metadata["galaxy_info"])
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: LegacyGalaxyInfo.__init__() got an unexpected keyword argument 'name'

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/galaxy_ng/app/api/v1/tasks.py", line 427, in legacy_role_import
    result = import_legacy_role(checkout_path, namespace.name, importer_config, logger)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/venv/lib64/python3.11/site-packages/galaxy_importer/legacy_role.py", line 51, in import_legacy_role
    return _import_legacy_role(dirname, namespace, cfg, logger)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/venv/lib64/python3.11/site-packages/galaxy_importer/legacy_role.py", line 57, in _import_legacy_role
    data = LegacyRoleLoader(dirname, namespace, cfg, logger).load()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/venv/lib64/python3.11/site-packages/galaxy_importer/loaders/legacy_role.py", line 41, in load
    self.metadata = self._load_metadata()
                    ^^^^^^^^^^^^^^^^^^^^^
  File "/venv/lib64/python3.11/site-packages/galaxy_importer/loaders/legacy_role.py", line 77, in _load_metadata
    return schema.LegacyMetadata.parse(meta_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/venv/lib64/python3.11/site-packages/galaxy_importer/schema.py", line 534, in parse
    raise exc.LegacyRoleSchemaError(f"unknown field in galaxy_info: {e}") from e

galaxy_importer.exceptions.LegacyRoleSchemaError: unknown field in galaxy_info: LegacyGalaxyInfo.__init__() got an unexpected keyword argument 'name'  

Failed