Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1202

Intermittent issue while trying to sync community devsec.hardening collection on AH 4.4.0

    XMLWordPrintable

Details

    Description

      Intermittent issue while trying to sync community devsec.hardening collection on AH 4.4.0.

      Sometime it works fine but then if trying again he get some validation issue.
       

      A file located at the url [https://galaxy.ansible.com/download/kubernetes-core-2.0.1.tar.gz] failed validation due to checksum.
      Traceback
      File "/usr/lib/python3.8/site-packages/pulpcore/tasking/pulpcore_worker.py", line 323, in _perform_task
      result = func(*args, **kwargs)
      File "/usr/lib/python3.8/site-packages/pulp_ansible/app/tasks/collections.py", line 145, in sync
      repo_version = d_version.create()
      File "/usr/lib/python3.8/site-packages/pulpcore/plugin/stages/declarative_version.py", line 151, in create
      loop.run_until_complete(pipeline)
      File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
      return future.result()
      File "/usr/lib/python3.8/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline
      await asyncio.gather(*futures)
      File "/usr/lib/python3.8/site-packages/pulpcore/plugin/stages/api.py", line 43, in {}call{}
      await self.run()
      File "/usr/lib/python3.8/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 177, in run
      pb.done += task.result() # download_count
      File "/usr/lib/python3.8/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 203, in _handle_content_unit
      await asyncio.gather(*downloaders_for_content)
      File "/usr/lib/python3.8/site-packages/pulpcore/plugin/stages/models.py", line 89, in download
      download_result = await downloader.run(extra_data=self.extra_data)
      File "/usr/lib/python3.8/site-packages/pulpcore/download/http.py", line 247, in run
      return await download_wrapper()
      File "/usr/lib/python3.8/site-packages/backoff/_async.py", line 133, in retry
      ret = await target(*args, **kwargs)
      File "/usr/lib/python3.8/site-packages/pulpcore/download/http.py", line 245, in download_wrapper
      return await self._run(extra_data=extra_data)
      File "/usr/lib/python3.8/site-packages/pulp_ansible/app/downloaders.py", line 86, in _run
      return await super()._run(extra_data=extra_data)
      File "/usr/lib/python3.8/site-packages/pulpcore/download/http.py", line 269, in _run
      to_return = await self._handle_response(response)
      File "/usr/lib/python3.8/site-packages/pulpcore/download/http.py", line 201, in _handle_response
      await self.finalize()
      File "/usr/lib/python3.8/site-packages/pulpcore/download/base.py", line 162, in finalize
      self.validate_digests()
      File "/usr/lib/python3.8/site-packages/pulpcore/download/base.py", line 212, in validate_digests
      raise DigestValidationError(self.url)
      

       

      Attachments

        Activity

          People

            semighdo@redhat.com Shaiah Emigh Doyle
            brsanche Bruno Sanchez
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated: