Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-28822 Synchronizing certain custom repositories on Satellite fails with message description: "'name'"
  3. SAT-28853

Synchronizing certain custom repositories on Satellite fails with message description: "'name'"

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 6.15.0
    • Pulp
    • None

      Description of problem:

      Syncing certain custom repositories on the Satellite fails with following message.
      description: "'name'"
      How reproducible:

      Always.

      Is this issue a regression from an earlier version:

       

      Steps to Reproduce:

      1. Create custom repository for the following URL on the Satellite

                 https://repo.codeit.guru/packages/centos/9/aarch64

            2. Initiate a sync for the repository.

      Actual behavior:

      The sync fails with the following message.

        error:
          traceback: |2
              File "/usr/lib/python3.11/site-packages/pulpcore/tasking/tasks.py", line 61, in _execute_task
                result = func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
              File "/usr/lib/python3.11/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 577, in synchronize
                repo_version = dv.create() or repo.latest_version()
                               ^^^^^^^^^^^
              File "/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/declarative_version.py", line 161, in create
                loop.run_until_complete(pipeline)
              File "/usr/lib64/python3.11/asyncio/base_events.py", line 654, in run_until_complete
                return future.result()
                       ^^^^^^^^^^^^^^^
              File "/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/api.py", line 220, in create_pipeline
                await asyncio.gather(*futures)
              File "/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/api.py", line 41, in __call__
                await self.run()
              File "/usr/lib/python3.11/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 868, in run
                await self.parse_repository_metadata(repomd, repomd_files)
              File "/usr/lib/python3.11/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 924, in parse_repository_metadata
                (modulemd_dcs, modulemd_list) = await self.parse_modules_metadata(modulemd_result)
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/usr/lib/python3.11/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 995, in parse_modules_metadata
                modulemd_all, defaults_all, obsoletes_all = parse_modular(modulemd_result.path)
                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/usr/lib/python3.11/site-packages/pulp_rpm/app/modulemd.py", line 210, in parse_modular
                modulemd_all.append(create_modulemd(parsed_data, module))
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/usr/lib/python3.11/site-packages/pulp_rpm/app/modulemd.py", line 124, in create_modulemd
                data[PULP_MODULE_ATTR.NAME],
                ~~~~^^^^^^^^^^^^^^^^^^^^^^^
          description: "'name'"

      Expected behavior:
      [Describe what should be happening instead]

      Business Impact / Additional info:

       

              rhn-engineering-ggainey Grant Gainey
              satellite-jira-automation@redhat.com Satellite Jira-Automation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: