-
Bug
-
Resolution: Unresolved
-
Major
-
6.18.3
-
False
-
sat-endeavour
-
None
-
None
-
None
-
None
-
Yes
Description of problem:
Custom yum repo sync over authed proxy fails.
While other repo types (file, docker, ansible, red hat repo) can be synced over authed proxy successfully.
The only way to sync custom yum repo is to use un-authed proxy.
How reproducible:
- deterministic in 6.18.3
- deterministic in Stream 136.0+
Is this issue a regression from an earlier version:
Yes Regression from 6.18.2
Steps to Reproduce:
1. Create authenticated HTTP proxy
2. Create product and repo of yum type
3. Update the repo so that the authed HTTP proxy is used
4. Try to sync the repo
label: Actions::Katello::Repository::Sync
state: stopped
result: warning
errors:
407, message='Proxy Authentication Required', url='http://upstream.repo.com/module_stream2/.treeinfo'
Actual behavior:
[Describe the issue in detail, including what is happening and where]
Actions::Katello::Repository::Sync task ends w/ warning - repo not synced
Expected behavior:
[Describe what should be happening instead]
Actions::Katello::Repository::Sync task ends w/ success - repo is synced
Business Impact / Additional info:
Dynflow Console:
6: Actions::Pulp3::Repository::Sync (skipped) [ 1.03s / 0.25s ]
Output:
...
error:
traceback: |2
File "/usr/lib/python3.12/site-packages/pulpcore/tasking/tasks.py", line 71, in _execute_task
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 490, in synchronize
treeinfo = get_treeinfo_data(remote, remote_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 415, in get_treeinfo_data
result = downloader.fetch()
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pulpcore/download/base.py", line 193, in fetch
result = asyncio.get_event_loop().run_until_complete(self.run(extra_data=extra_data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pulpcore/download/http.py", line 274, in run
return await download_wrapper()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/backoff/_async.py", line 151, in retry
ret = await target(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pulpcore/download/http.py", line 259, in download_wrapper
return await self._run(extra_data=extra_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pulp_rpm/app/downloaders.py", line 118, in _run
self.raise_for_status(response)
File "/usr/lib/python3.12/site-packages/pulp_rpm/app/downloaders.py", line 103, in raise_for_status
response.raise_for_status()
File "/usr/lib64/python3.12/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status
raise ClientResponseError(
description: 407, message='Proxy Authentication Required', url='http://infra-podman-ipv4:50123/module_stream2/.treeinfo'