Yes I can run curl to our Foreman-Katello server with no issues.
So here is the output from Pulp on the Foreman server:
Output: {“pulp_tasks”=>
[{“exception”=>nil,
“task_type”=>nil,
“_href”=>“/pulp/api/v2/tasks/52cf8872-0c42-4ab7-84ee-dc715572ac44/”,
“task_id”=>“52cf8872-0c42-4ab7-84ee-dc715572ac44”,
“tags”=>
[“pulp:consumer:67097afa-27fd-44fe-af1f-5288f418ac42”,
“pulp:action:unit_install”],
“finish_time”=>“2021-01-05T18:59:48Z”,
“ns"=>“task_status”,
“start_time”=>“2021-01-05T18:59:34Z”,
“traceback”=>nil,
“spawned_tasks”=>[],
“progress_report”=>{},
“queue”=>“agent.dq2”,
“state”=>“finished”,
“worker_name”=>“agent”,
“result”=>
{“reboot”=>{“scheduled”=>false, “details”=>{}},
“details”=>
{“erratum”=>
{“details”=>
{“message”=>
"[u’Errors were encountered while downloading packages.‘, u’32:bind-libs-9.8.2-0.68.rc1.el6_10.8.x86_64: failure: Packages/b/bind-libs-9.8.2-0.68.rc1.el6_10.8.x86_64.rpm from Default_Organization_CentOS_6_CentOS_6_-_Updates_-_x86_64: [Errno 256] No more mirrors to try.’, u’32:bind-utils-9.8.2-0.68.rc1.el6_10.8.x86_64: failure: Packages/b/bind-utils-9.8.2-0.68.rc1.el6_10.8.x86_64.rpm from Default_Organization_CentOS_6_CentOS_6-Updates-_x86_64: [Errno 256] No more mirrors to try.']”,
“trace”=>
“Traceback (most recent call last):\n” +
“\n” +
" File "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 61, in install\n" +
" _report = handler.install(conduit, units, dict(options))\n" +
“\n” +
" File "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py", line 287, in install\n" +
" details = pkg.update_minimal(advisories=advisories)\n" +
“\n” +
" File "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools_yum.py", line 262, in update_minimal\n" +
" yb.processTransaction()\n" +
“\n” +
" File "/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools_yum.py", line 651, in processTransaction\n" +
" YumBase.processTransaction(self, callback, rpmDisplay=display)\n" +
“\n” +
" File "/usr/lib/python2.6/site-packages/yum/init.py", line 5079, in processTransaction\n" +
" pkgs = self._downloadPackages(callback)\n" +
“\n” +
" File "/usr/lib/python2.6/site-packages/yum/init.py", line 5114, in downloadPackages\n" +
" raise Errors.YumDownloadError, errstr\n" +
“\n” +
"YumDownloadError: [u’Errors were encountered while downloading packages.‘, u’32:bind-libs-9.8.2-0.68.rc1.el6_10.8.x86_64: failure: Packages/b/bind-libs-9.8.2-0.68.rc1.el6_10.8.x86_64.rpm from Default_Organization_CentOS_6_CentOS_6_-_Updates_-_x86_64: [Errno 256] No more mirrors to try.’, u’32:bind-utils-9.8.2-0.68.rc1.el6_10.8.x86_64: failure: Packages/b/bind-utils-9.8.2-0.68.rc1.el6_10.8.x86_64.rpm from Default_Organization_CentOS_6_CentOS_6-Updates-_x86_64: [Errno 256] No more mirrors to try.']\n"},
“succeeded”=>false}},
“succeeded”=>false,
“num_changes”=>0},
“error”=>nil,
“_id”=>{“$oid”=>“5ff4b8d815953a1a8dc3cb21”},
“id”=>“5ff4b8d815953a1a8dc3cb21”}],
“poll_attempts”=>{“total”=>16, “failed”=>1},
“client_accepted”=>“2021-01-05 14:07:24 -0500”}
This is my /etc/yum.conf:
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=19&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release