-
Bug
-
Resolution: Done
-
Critical
-
None
-
False
-
False
-
-
Approved
-
AAH Sprint 15, 4.5.0a Sprint 1, 4.5.0a Sprint 2, 4.5.0a Sprint 3, 4.5.0a Sprint 5, 4.5.0a Sprint 4
I think this is related to the untested code enabled by AAH-224. Because Automation Hub 4.3 was released with a version of pulp_ansible that included a feature that was silently skipped until we enable the new endpoints, it was never tested. I believe that is what's happening now.
This does not affect Automation Hub 4.2, which has an older version of pulp_ansible without that feature.
Here's the traceback seen in the worker that fails when attempting a sync from console.stage.redhat.com:
worker_1 | Traceback (most recent call last): worker_1 | File "/venv/lib64/python3.6/site-packages/rq/worker.py", line 975, in perform_job worker_1 | rv = job.perform() worker_1 | File "/venv/lib64/python3.6/site-packages/rq/job.py", line 696, in perform worker_1 | self._result = self._execute() worker_1 | File "/venv/lib64/python3.6/site-packages/rq/job.py", line 719, in _execute worker_1 | return self.func(*self.args, **self.kwargs) worker_1 | File "/venv/lib64/python3.6/site-packages/pulp_ansible/app/tasks/collections.py", line 129, in sync worker_1 | d_version.create() worker_1 | File "/venv/lib64/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py", line 147, in create worker_1 | loop.run_until_complete(pipeline) worker_1 | File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete worker_1 | return future.result() worker_1 | File "/venv/lib64/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline worker_1 | await asyncio.gather(*futures) worker_1 | File "/venv/lib64/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__ worker_1 | await self.run() worker_1 | File "/venv/lib64/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 171, in run worker_1 | pb.done += task.result() # download_count worker_1 | File "/venv/lib64/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.py", line 197, in _handle_content_unit worker_1 | await asyncio.gather(*downloaders_for_content) worker_1 | File "/venv/lib64/python3.6/site-packages/pulpcore/plugin/stages/models.py", line 88, in download worker_1 | download_result = await downloader.run(extra_data=self.extra_data) worker_1 | File "/venv/lib64/python3.6/site-packages/pulpcore/download/base.py", line 227, in run worker_1 | return await self._run(extra_data=extra_data) worker_1 | File "/venv/lib64/python3.6/site-packages/backoff/_async.py", line 133, in retry worker_1 | ret = await target(*args, **kwargs) worker_1 | File "/venv/lib64/python3.6/site-packages/pulp_ansible/app/downloaders.py", line 94, in _run worker_1 | return await self._run_with_token_refresh_and_401_retry() worker_1 | File "/venv/lib64/python3.6/site-packages/pulp_ansible/app/downloaders.py", line 112, in _run_with_token_refresh_and_401_retry worker_1 | return await self._run_with_additional_headers(headers) worker_1 | File "/venv/lib64/python3.6/site-packages/pulp_ansible/app/downloaders.py", line 136, in _run_with_additional_headers worker_1 | to_return = await self._handle_response(response) worker_1 | File "/venv/lib64/python3.6/site-packages/pulpcore/download/http.py", line 187, in _handle_response worker_1 | await self.finalize() worker_1 | File "/venv/lib64/python3.6/site-packages/pulpcore/download/base.py", line 146, in finalize worker_1 | self.validate_digests() worker_1 | File "/venv/lib64/python3.6/site-packages/pulpcore/download/base.py", line 196, in validate_digests worker_1 | raise DigestValidationError()
- blocks
-
AAH-224 Switch on unpaginated collections/all
- Closed