Problem:
I’m trying to use Alternate Content Source for fetching files from a webserver.
The log shows it’s trying to fetch PULP_MANIFEST, which isn’t at the location. So It’s highly likely I’m doing something wrong. Hence my first question is, can Foreman fetch deb/rpm packages from a web/file folder?
Expected outcome:
No errors where refreshing the source.
Foreman and Proxy versions:
Foreman v3.10.0
Katello v4.12.1
Distribution and version:
CentOS 8 stream
Other relevant data:
1 subtask(s) failed for task group /pulp/api/v3/task-groups/019123a0-2e4c-759e-8526-bc83e4556366/.
Errors:
{"traceback"=>" File \"/usr/lib/python3.11/site-packages/pulpcore/tasking/tasks.py\", line 61, in _execute_task\n result = func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/site-packages/pulp_file/app/tasks/synchronizing.py\", line 51, in synchronize\n rv = dv.create()\n ^^^^^^^^^^^\n File \"/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/declarative_version.py\", line 161, in create\n loop.run_until_complete(pipeline)\n File \"/usr/lib64/python3.11/asyncio/base_events.py\", line 653, in run_until_complete\n return future.result()\n ^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/api.py\", line 220, in create_pipeline\n await asyncio.gather(*futures)\n File \"/usr/lib/python3.11/site-packages/pulpcore/plugin/stages/api.py\", line 41, in __call__\n await self.run()\n File \"/usr/lib/python3.11/site-packages/asgiref/sync.py\", line 486, in thread_handler\n raise exc_info[1]\n File \"/usr/lib/python3.11/site-packages/pulp_file/app/tasks/synchronizing.py\", line 102, in run\n result = await downloader.run()\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/site-packages/pulpcore/download/http.py\", line 269, in run\n return await download_wrapper()\n ^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/site-packages/backoff/_async.py\", line 151, in retry\n ret = await target(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/site-packages/pulpcore/download/http.py\", line 254, in download_wrapper\n return await self._run(extra_data=extra_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/site-packages/pulpcore/download/http.py\", line 290, in _run\n self.raise_for_status(response)\n File \"/usr/lib/python3.11/site-packages/pulpcore/download/http.py\", line 187, in raise_for_status\n response.raise_for_status()\n File \"/usr/lib64/python3.11/site-packages/aiohttp/client_reqrep.py\", line 1058, in raise_for_status\n raise ClientResponseError(\n", "description"=>"404, message='Not Found', url=URL('https://jmp.domain.com/tech/sw/gnmic/PULP_MANIFEST')"}