Hi ,
Thank you for the quick response.
I did not use any credential as I donât know what to supply as Upstream Username and Upstream Password; so, I left it blank.
I am a too new discovering and learning using Katello /Foreman; I did not now that I need to install pulp_deb and pulpcore; please point me to the right wiki so I can install them.
The error message I am getting is: âRuntimeError: A sub task failedâ
When creating the Ubuntu Repository
On the Repository I filled out the fields as follow:
Label: Ubuntu 18.04-main
Type: deb
Upstream URL: Index of /ubuntu
Releases: bionic
Components: main
Architecture: amd64
Verify SSL
Upstream Username
Upstream Password
Publish via HTTP is checked
GPG Key Ubuntu-18.04-GPG-key
SS CA Cert
SSL Client
SS Client Key
If Katello allowed you to select deb for repository type, then you already have Pulp (as well as the Debian plugin) installed.
You can check if you are running Pulp 2 or Pulp 3 by going on the Administer > About page. In the âSystem Statusâ area, on the âSmart Proxiesâ tab, there should be a list of âFeaturesâ that your smart proxy (you probably only have one) provides. If it says âPulpâ you are on Pulp 2 if it says âpulpcoreâ (I think) you are on Pulp 3.
If you have a task that says âA sub task failedâ, you should also be able to find that sub task to find the actual error message. I am not sure where exactly you are in the UI, but look for things like âMore Detailsâ or the âSub Tasksâ button. Alternatively go to the Monitor > Tasks page, and filter by result != success (Assuming you donât have a lot of failed tasks it should be easy to find the one you want).
Once you find the right failed task, you can also switch to the âErrorsâ tab to find not just the final error but the entire back trace.
Administer >> About is showing.
Pulp, Pulpcore, Puppet CA, Puppet, Logs, and Registration 2.3.3
For searching errors
I select Ubuntu 18.04 Repository and undern the Sync status section, I click on warning >> then I click on the Errors tab and the following sections:
a) Action section: showing b Actions::Pulp3::Repository::Sync
b) Output section : if I search for Result =
File â/usr/lib64/python3.6/asyncio/base_events.pyâ, line 484, in run_until_complete\n" +
" return future.result()\n" +
" File â/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.pyâ, line 225, in create_pipeline\n" +
" await asyncio.gather(*futures)\n" +
" File â/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.pyâ, line 43, in call\n" +
" await self.run()\n" +
" File â/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.pyâ, line 152, in run\n" +
" pb.done += task.result() # download_count\n" +
" File â/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.pyâ, line 178, in _handle_content_unit\n" +
" await asyncio.gather(*downloaders_for_content)\n" +
" File â/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/models.pyâ, line 88, in download\n" +
" download_result = await downloader.run(extra_data=self.extra_data)\n" +
c) Exception section: Katello::Errors::Pulp3Error: Server disconnected
d) Backtrace section: the search for âerrorâ is showing
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:569:in block in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in block in with_error_handlingâ
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in catch' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in with_error_handlingâ
Hi,
Yes can successfully synchronize with RPM repositories
A can now successfully synchronize with deb repositories.
You pointed to the right direction as I did not know where to search for logs errors, After some tests it worked fine
The whole mistake was on the Upstream URL ; I had to check the right url from the /etc/apt/sources.list
example: for Ubuntu 18.04 the right setting is (depending on the packages to synchronize with)
Upstream URL = http://archive.ubuntu.com/ubuntu
Releases: bionic
Components: mainbionic-updates
Publish via HTTP
All work fine now,
Thank you very much and you may close the case
I donât see a mainbionic-updates component for the bionic Release (a.k.a. distribution) of the http://archive.ubuntu.com/ubuntu/ repo. I only see main, multiverse, restricted, and universe, but you can also just leave the Components: field blank to sync all of them.
Hi ,
synchronizing yum and deb repositories work fine now.
Now I need to register Ubuntu clients to the Foreman server.
I was able to register a CentOS server using wiki found on the Internet , but I did search for any procedure with steps on how to register Ubuntu / Debian servers but I canât find any.
I am wondering how to create the pulp_deb_signing.key for Debian / Ubuntu
Then seached and tried making a key in following the procedure in the lin below, but at the end it did not work as the server is taking this certificate as self signed certificate
The in following the procedure on the first link and after creating the local repository in /etc/apt/sources.list.d