How to use Ubuntu repo in Katello or Foreman

Hello,

I don’t know if this question is at the right place but we are having problems enabling an Ubuntu repo in Foreman/Katello. Is this possible ? we don’t know which url to use.
We have tried all url’s but we are getting an error with the initial sync.

http://archive.ubuntu.com/ubuntu/dists/xenial/ does not work.
Or are we trying something that is not possible ? Type is “files”, not yum, puppet …

Greetings, Richard.

Support for Debian is still under development. From the patches I see I’d expect support in Katello 3.6 but patches are still under review so don’t pin me down on that. Foreman :: Atix AG shows off support for Apt repos in Katello has a bit more detail.

There is a workaround using the files type but I see that blog was never published.

1 Like

I think the patches are merged to nightly, is that right @Matthias_Dellweg? As for the files type, the main caveat is that you need control of the mirror (to add manifest files), so you can’t use the upstream archive directly. The unfinished blog post @ekohl mentioned is here which may be useful if you can’t wait for 3.6 :slight_smile:

There are still open PRs for the installer side of it.

1 Like

Well @ekohl was faster…
But yes, the pulp_deb, runcible and katello parts are merged. Activating the pulp_deb installation in katello-installer is pending.
In the end (to answer the original question) the url will be
http://archive.ubuntu.com/ubuntu/
and you specify xenial in a separate field.

1 Like

Hi, I seem to have a problem syncing the Ubuntu repo. It keeps failing.I have tried different “Upstream URL” but no luck.
I also created the folder : " /var/cache/pulp/reserved_resource_worker-1@v-katello-lnx1.inet.co.za/c53c31c7-95ce-486e-aa69-8f0d86d9c1be/packages/00/9c/ "
I even went to the extent of downloading the deb package " rhythmbox_3.4.2-4ubuntu1_amd64.deb" but still no luck

I even deleted all contents in the temp download folder " /var/cache/pulp/reserved_resource_worker-1@v-katello-lnx1.inet.co.za/ "

After doing each of the above seperately,

Please can someone assist me.

OS : CentOS 7.5

Installed Packages

candlepin-2.4.0-1.el7.noarch
candlepin-selinux-2.4.0-1.el7.noarch
foreman-1.19.1-1.el7.noarch
foreman-cli-1.19.1-1.el7.noarch
foreman-compute-1.19.1-1.el7.noarch
foreman-debug-1.19.1-1.el7.noarch
foreman-installer-1.19.1-1.el7.noarch
foreman-installer-katello-3.8.0-1.el7.noarch
foreman-postgresql-1.19.1-1.el7.noarch
foreman-proxy-1.19.1-1.el7.noarch
foreman-release-1.19.1-1.el7.noarch
foreman-release-scl-7-1.el7.noarch
foreman-selinux-1.19.1-1.el7.noarch
katello-3.8.0-5.el7.noarch
katello-certs-tools-2.4.0-1.el7.noarch
katello-client-bootstrap-1.4.2-1.el7.noarch
katello-common-3.8.0-5.el7.noarch
katello-debug-3.8.0-5.el7.noarch
katello-default-ca-1.0-1.noarch
katello-installer-base-3.8.0-1.el7.noarch
katello-repos-3.8.0-4.el7.noarch
katello-selinux-3.0.3-1.el7.noarch
katello-server-ca-1.0-1.noarch
katello-service-3.8.0-5.el7.noarch
pulp-admin-client-2.16.4-1.el7.noarch
pulp-client-1.0-1.noarch
pulp-consumer-client-2.16.4-1.el7.noarch
pulp-deb-admin-extensions-1.7.1-1.el7.noarch
pulp-deb-plugins-1.7.1-1.el7.noarch
pulp-docker-plugins-3.1.4-2.el7.noarch
pulp-katello-1.0.2-1.el7.noarch
pulp-puppet-plugins-2.16.4-1.el7.noarch
pulp-puppet-tools-2.16.4-1.el7.noarch
pulp-rpm-admin-extensions-2.16.4-1.el7.noarch
pulp-rpm-consumer-extensions-2.16.4-1.el7.noarch
pulp-rpm-plugins-2.16.4-1.el7.noarch
pulp-rpm-yumplugins-2.16.4-1.el7.noarch
pulp-selinux-2.16.4-1.el7.noarch
pulp-server-2.16.4-1.el7.noarch
python-gofer-qpid-2.12.1-1.el7.noarch
python-pulp-bindings-2.16.4-1.el7.noarch
python-pulp-client-lib-2.16.4-1.el7.noarch
python-pulp-common-2.16.4-1.el7.noarch
python-pulp-deb-common-1.7.1-1.el7.noarch
python-pulp-docker-common-3.1.4-2.el7.noarch
python-pulp-oid_validation-2.16.4-1.el7.noarch
python-pulp-puppet-common-2.16.4-1.el7.noarch
python-pulp-repoauth-2.16.4-1.el7.noarch
python-pulp-rpm-common-2.16.4-1.el7.noarch
python-pulp-streamer-2.16.4-1.el7.noarch
python2-qpid-1.37.0-4.el7.noarch
python2-qpid-proton-0.24.0-1.el7.x86_64
python2-qpid-qmf-1.38.0-2.el7.x86_64
qpid-cpp-client-1.38.0-2.el7.x86_64
qpid-cpp-client-devel-1.38.0-2.el7.x86_64
qpid-cpp-server-1.38.0-2.el7.x86_64
qpid-cpp-server-linearstore-1.38.0-2.el7.x86_64
qpid-dispatch-router-1.2.0-2.el7.x86_64
qpid-proton-c-0.24.0-1.el7.x86_64
qpid-qmf-1.38.0-2.el7.x86_64
qpid-tools-1.38.0-2.el7.noarch
rubygem-foreman_maintain-0.2.4-1.el7.noarch
rubygem-smart_proxy_pulp-1.3.0-1.el7.noarch
tfm-ror51-rubygem-actioncable-5.1.6-1.el7.centos.noarch
tfm-ror51-rubygem-actionmailer-5.1.6-1.el7.centos.noarch
tfm-ror51-rubygem-actionpack-5.1.6-1.el7.centos.noarch
tfm-ror51-rubygem-actionview-5.1.6-1.el7.centos.noarch
tfm-ror51-rubygem-activejob-5.1.6-1.el7.centos.noarch
tfm-ror51-rubygem-activemodel-5.1.6-1.el7.centos.noarch
tfm-ror51-rubygem-activerecord-5.1.6-1.el7.centos.noarch
tfm-ror51-rubygem-activesupport-5.1.6-1.el7.centos.noarch
tfm-ror51-rubygem-arel-8.0.0-2.el7.centos.noarch
tfm-ror51-rubygem-builder-3.2.3-2.el7.centos.noarch
tfm-ror51-rubygem-coffee-rails-4.2.2-2.el7.centos.noarch
tfm-ror51-rubygem-coffee-script-2.4.1-2.el7.centos.noarch
tfm-ror51-rubygem-coffee-script-source-1.12.2-2.el7.centos.noarch
tfm-ror51-rubygem-concurrent-ruby-1.0.5-4.el7.centos.noarch
tfm-ror51-rubygem-crass-1.0.2-2.el7.centos.noarch
tfm-ror51-rubygem-erubi-1.7.0-2.el7.centos.noarch
tfm-ror51-rubygem-execjs-2.7.0-2.el7.centos.noarch
tfm-ror51-rubygem-globalid-0.4.1-2.el7.centos.noarch
tfm-ror51-rubygem-i18n-0.9.1-3.el7.centos.noarch
tfm-ror51-rubygem-loofah-2.1.1-3.el7.centos.noarch
tfm-ror51-rubygem-mail-2.7.0-3.el7.centos.noarch
tfm-ror51-rubygem-method_source-0.9.0-2.el7.centos.noarch
tfm-ror51-rubygem-mime-types-3.1-2.el7.centos.noarch
tfm-ror51-rubygem-mime-types-data-3.2016.0521-2.el7.centos.noarch
tfm-ror51-rubygem-mini_mime-1.0.0-2.el7.centos.noarch
tfm-ror51-rubygem-multi_json-1.12.2-2.el7.centos.noarch
tfm-ror51-rubygem-mustermann-1.0.1-2.el7.centos.noarch
tfm-ror51-rubygem-nio4r-2.1.0-2.el7.centos.x86_64
tfm-ror51-rubygem-nokogiri-1.8.1-2.el7.centos.x86_64
tfm-ror51-rubygem-rack-2.0.3-2.el7.centos.noarch
tfm-ror51-rubygem-rack-protection-2.0.0-2.el7.centos.noarch
tfm-ror51-rubygem-rack-test-0.7.0-2.el7.centos.noarch
tfm-ror51-rubygem-rails-5.1.6-1.el7.centos.noarch
tfm-ror51-rubygem-rails-dom-testing-2.0.3-2.el7.centos.noarch
tfm-ror51-rubygem-rails-html-sanitizer-1.0.3-3.el7.centos.noarch
tfm-ror51-rubygem-railties-5.1.6-1.el7.centos.noarch
tfm-ror51-rubygem-sinatra-2.0.0-2.el7.centos.noarch
tfm-ror51-rubygem-sprockets-3.7.1-2.el7.noarch
tfm-ror51-rubygem-sprockets-rails-3.2.1-2.el7.centos.noarch
tfm-ror51-rubygem-thor-0.20.0-2.el7.centos.noarch
tfm-ror51-rubygem-thread_safe-0.3.6-2.el7.centos.noarch
tfm-ror51-rubygem-tilt-2.0.8-2.el7.centos.noarch
tfm-ror51-rubygem-turbolinks-2.5.4-2.el7.centos.noarch
tfm-ror51-rubygem-tzinfo-1.2.4-3.el7.centos.noarch
tfm-ror51-rubygem-websocket-driver-0.6.5-3.el7.centos.x86_64
tfm-ror51-rubygem-websocket-extensions-0.1.2-2.el7.centos.noarch
tfm-ror51-runtime-1.1-2.el7.centos.x86_64
tfm-rubygem-activerecord-session_store-1.1.0-4.el7.noarch
tfm-rubygem-addressable-2.3.6-5.el7.noarch
tfm-rubygem-algebrick-0.7.3-5.el7.noarch
tfm-rubygem-ancestry-3.0.0-2.el7.noarch
tfm-rubygem-anemone-0.7.2-15.el7.noarch
tfm-rubygem-angular-rails-templates-1.0.2-2.el7.noarch
tfm-rubygem-apipie-bindings-0.2.2-1.el7.noarch
tfm-rubygem-apipie-params-0.0.5-2.el7.noarch
tfm-rubygem-apipie-rails-0.5.9-1.el7.noarch
tfm-rubygem-audited-4.7.1-1.el7.noarch
tfm-rubygem-awesome_print-1.8.0-2.el7.noarch
tfm-rubygem-bastion-6.1.11-1.fm1_19.el7.noarch
tfm-rubygem-bundler_ext-0.4.1-2.el7.noarch
tfm-rubygem-clamp-1.1.2-2.el7.noarch
tfm-rubygem-concurrent-ruby-edge-0.2.4-1.el7.noarch
tfm-rubygem-css_parser-1.4.7-2.el7.noarch
tfm-rubygem-daemons-1.2.3-4.el7.noarch
tfm-rubygem-deacon-1.0.0-2.el7.noarch
tfm-rubygem-deep_cloneable-2.3.2-1.el7.noarch
tfm-rubygem-deface-1.2.0-8.el7.noarch
tfm-rubygem-docker-api-1.28.0-3.el7.noarch
tfm-rubygem-domain_name-0.5.20160310-2.el7.noarch
tfm-rubygem-dynflow-1.1.0-1.el7.noarch
tfm-rubygem-excon-0.58.0-2.el7.noarch
tfm-rubygem-facter-2.4.0-5.el7.x86_64
tfm-rubygem-fast_gettext-1.4.1-2.el7.noarch
tfm-rubygem-fog-1.42.1-1.el7.noarch
tfm-rubygem-fog-aws-1.3.0-2.el7.noarch
tfm-rubygem-fog-core-1.45.0-2.el7.noarch
tfm-rubygem-fog-digitalocean-0.3.0-2.el7.noarch
tfm-rubygem-fog-google-0.1.0-3.el7.noarch
tfm-rubygem-fog-json-1.0.2-5.el7.noarch
tfm-rubygem-fog-openstack-0.1.25-1.el7.noarch
tfm-rubygem-fog-ovirt-1.1.1-1.el7.noarch
tfm-rubygem-fog-rackspace-0.1.4-2.el7.noarch
tfm-rubygem-fog-vsphere-2.3.0-1.el7.noarch
tfm-rubygem-fog-xenserver-0.2.3-2.el7.noarch
tfm-rubygem-fog-xml-0.1.2-5.el7.noarch
tfm-rubygem-foreman-tasks-0.13.4-1.fm1_19.el7.noarch
tfm-rubygem-foreman-tasks-core-0.2.5-1.fm1_18.el7.noarch
tfm-rubygem-foreman_docker-4.1.0-1.fm1_18.el7.noarch
tfm-rubygem-formatador-0.2.1-10.el7.noarch
tfm-rubygem-friendly_id-5.2.4-1.el7.noarch
tfm-rubygem-get_process_mem-0.2.1-2.el7.noarch
tfm-rubygem-gettext_i18n_rails-1.2.1-4.el7.noarch
tfm-rubygem-hammer_cli-0.14.0-1.el7.noarch
tfm-rubygem-hammer_cli_foreman-0.14.0-1.el7.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3-6.el7.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.4-3.el7.noarch
tfm-rubygem-hammer_cli_foreman_tasks-0.0.12-2.fm1_17.el7.noarch
tfm-rubygem-hammer_cli_katello-0.14.1-1.el7.noarch
tfm-rubygem-hashie-2.0.5-5.el7.noarch
tfm-rubygem-highline-1.7.8-3.el7.noarch
tfm-rubygem-http-cookie-1.0.2-2.el7.noarch
tfm-rubygem-ipaddress-0.8.0-10.el7.noarch
tfm-rubygem-katello-3.8.0-1.el7.noarch
tfm-rubygem-ldap_fluff-0.4.7-2.el7.noarch
tfm-rubygem-little-plugger-1.1.3-22.el7.noarch
tfm-rubygem-locale-2.0.9-12.el7.noarch
tfm-rubygem-logging-2.2.2-2.el7.noarch
tfm-rubygem-net-ldap-0.15.0-2.el7.noarch
tfm-rubygem-net-ping-2.0.1-2.el7.noarch
tfm-rubygem-net-scp-1.2.1-2.el7.noarch
tfm-rubygem-net-ssh-4.0.1-4.el7.noarch
tfm-rubygem-netrc-0.11.0-2.el7.noarch
tfm-rubygem-oauth-0.5.4-2.el7.noarch
tfm-rubygem-ovirt-engine-sdk-4.2.3-1.el7.x86_64
tfm-rubygem-parse-cron-0.1.4-3.fm1_17.el7.noarch
tfm-rubygem-passenger-4.0.18-9.12.el7.x86_64
tfm-rubygem-passenger-native-4.0.18-9.12.el7.x86_64
tfm-rubygem-passenger-native-libs-4.0.18-9.12.el7.x86_64
tfm-rubygem-pg-0.21.0-2.el7.x86_64
tfm-rubygem-polyglot-0.3.5-1.el7.noarch
tfm-rubygem-powerbar-1.0.17-2.el7.noarch
tfm-rubygem-qpid_messaging-1.36.0-2.el7.x86_64
tfm-rubygem-rabl-0.13.1-1.el7.noarch
tfm-rubygem-rack-jsonp-1.3.1-6.el7.noarch
tfm-rubygem-rails-i18n-5.0.4-1.el7.noarch
tfm-rubygem-rainbow-2.2.1-2.el7.noarch
tfm-rubygem-rbovirt-0.1.6-1.el7.noarch
tfm-rubygem-rbvmomi-1.10.0-2.el7.noarch
tfm-rubygem-record_tag_helper-1.0.0-1.el7.noarch
tfm-rubygem-responders-2.4.0-1.el7.noarch
tfm-rubygem-rest-client-2.0.1-2.el7.noarch
tfm-rubygem-roadie-3.2.2-1.el7.noarch
tfm-rubygem-roadie-rails-1.2.1-1.el7.noarch
tfm-rubygem-robotex-1.0.0-20.el7.noarch
tfm-rubygem-ruby2ruby-2.4.0-1.el7.noarch
tfm-rubygem-ruby_parser-3.10.1-1.el7.noarch
tfm-rubygem-runcible-2.8.1-1.el7.noarch
tfm-rubygem-safemode-1.3.5-1.el7.noarch
tfm-rubygem-scoped_search-4.1.3-1.el7.noarch
tfm-rubygem-secure_headers-5.0.5-1.el7.noarch
tfm-rubygem-sequel-5.7.1-1.el7.noarch
tfm-rubygem-sexp_processor-4.10.0-4.el7.noarch
tfm-rubygem-sprockets-rails-3.2.0-2.el7.noarch
tfm-rubygem-sshkey-1.9.0-2.el7.noarch
tfm-rubygem-trollop-2.1.2-2.el7.noarch
tfm-rubygem-unf-0.1.3-6.el7.noarch
tfm-rubygem-unf_ext-0.0.6-7.el7.x86_64
tfm-rubygem-unicode-0.4.4.1-4.el7.x86_64
tfm-rubygem-unicode-display_width-1.0.5-2.el7.noarch
tfm-rubygem-useragent-0.16.8-2.el7.noarch
tfm-rubygem-validates_lengths_from_database-0.5.0-4.el7.noarch
tfm-rubygem-webpack-rails-0.9.8-2.el7.noarch
tfm-rubygem-wicked-1.3.2-1.el7.noarch
tfm-rubygem-will_paginate-3.1.5-2.el7.noarch
tfm-rubygem-x-editable-rails-1.5.5-2.el7.noarch
tfm-runtime-4.0-3.el7.x86_64
v-katello-lnx1.inet.co.za-apache-1.0-1.noarch
v-katello-lnx1.inet.co.za-foreman-client-1.0-1.noarch
v-katello-lnx1.inet.co.za-foreman-proxy-1.0-1.noarch
v-katello-lnx1.inet.co.za-foreman-proxy-client-1.0-1.noarch
v-katello-lnx1.inet.co.za-puppet-client-1.0-1.noarch
v-katello-lnx1.inet.co.za-qpid-broker-1.0-2.noarch
v-katello-lnx1.inet.co.za-qpid-client-cert-1.0-1.noarch
v-katello-lnx1.inet.co.za-qpid-router-client-1.0-1.noarch
v-katello-lnx1.inet.co.za-qpid-router-server-1.0-1.noarch
v-katello-lnx1.inet.co.za-tomcat-1.0-1.noarch

Repositories

Errors

Action:
Actions::Pulp::Repository::Sync
Input:
{"pulp_id"=>"da985f79-db9b-48b1-aea0-061fa1e4746e",
 "task_id"=>nil,
 "source_url"=>nil,
 "options"=>{},
 "remote_user"=>"admin",
 "remote_cp_user"=>"admin"}
Output:
{"pulp_tasks"=>
  [{"exception"=>nil,
    "task_type"=>"pulp.server.managers.repo.sync.sync",
    "_href"=>"/pulp/api/v2/tasks/c53c31c7-95ce-486e-aa69-8f0d86d9c1be/",
    "task_id"=>"c53c31c7-95ce-486e-aa69-8f0d86d9c1be",
    "tags"=>
     ["pulp:repository:da985f79-db9b-48b1-aea0-061fa1e4746e",
      "pulp:action:sync"],
    "finish_time"=>"2018-11-13T07:57:09Z",
    "_ns"=>"task_status",
    "start_time"=>"2018-11-13T07:31:41Z",
    "traceback"=>
     "Traceback (most recent call last):\n" +
     "  File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n" +
     "    R = retval = fun(*args, **kwargs)\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 529, in __call__\n" +
     "    return super(Task, self).__call__(*args, **kwargs)\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 107, in __call__\n" +
     "    return super(PulpTask, self).__call__(*args, **kwargs)\n" +
     "  File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in __protected_call__\n" +
     "    return self.run(*args, **kwargs)\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 769, in sync\n" +
     "    sync_report = sync_repo(transfer_repo, conduit, call_config)\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 737, in wrap_f\n" +
     "    return f(*args, **kwargs)\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/importers/importer.py\", line 135, in sync_repo\n" +
     "    report = self._current_sync.process_lifecycle()\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 572, in process_lifecycle\n" +
     "    super(PluginStep, self).process_lifecycle()\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 163, in process_lifecycle\n" +
     "    step.process()\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 256, in process\n" +
     "    self._process_block()\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 303, in _process_block\n" +
     "    self.process_main()\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/importers/sync.py\", line 231, in process_main\n" +
     "    with open(path, \"rb\") as fobj:\n" +
     "IOError: [Errno 2] No such file or directory: u'/var/cache/pulp/reserved_resource_worker-1@v-katello-lnx1.inet.co.za/c53c31c7-95ce-486e-aa69-8f0d86d9c1be/packages/00/9c/rhythmbox_3.4.2-4ubuntu1_amd64.deb'\n",
    "spawned_tasks"=>[],
    "progress_report"=>
     {"deb_importer"=>
       [{"num_success"=>1,
         "description"=>"Retrieving metadata: release file(s)",
         "step_type"=>"sync_step_release_download",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"7a1061e0-06cb-43f8-9c44-c2050eae217d",
         "num_processed"=>1},
        {"num_success"=>1,
         "description"=>"Parse Release Files",
         "step_type"=>"sync_step_release_parse",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"05845f0c-39d3-452f-89d7-4ab61da76b8e",
         "num_processed"=>1},
        {"num_success"=>1,
         "description"=>"Retrieving metadata: Packages files",
         "step_type"=>"sync_step_packages_download",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"6a515c73-0471-4ae7-95be-0a83996214b0",
         "num_processed"=>1},
        {"num_success"=>1,
         "description"=>"Parse Packages Files",
         "step_type"=>"sync_step_packages_parse",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"3e653645-9c14-40c8-91ae-6fd6001dd0a1",
         "num_processed"=>1},
        {"num_success"=>1,
         "description"=>"Copying units already in pulp",
         "step_type"=>"get_local",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"816b0542-ddac-4bc2-bc5a-b6485b106a3b",
         "num_processed"=>1},
        {"num_success"=>1,
         "description"=>"Prepare Package Download",
         "step_type"=>"sync_step_unit_download_requests",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"3f874ec3-3ad2-4997-999d-14ce81b1248f",
         "num_processed"=>1},
        {"num_success"=>3019,
         "description"=>"Retrieving units",
         "step_type"=>"sync_step_unit_download",
         "items_total"=>6372,
         "state"=>"FAILED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>3353,
         "step_id"=>"79ac37d3-036e-4b76-a98d-6304605ae790",
         "num_processed"=>6372},
        {"num_success"=>0,
         "description"=>"Save and associate downloaded units",
         "step_type"=>"sync_step_save",
         "items_total"=>1,
         "state"=>"FAILED",
         "error_details"=>
          [{"traceback"=>
             "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 256, in process\n" +
             "    self._process_block()\n" +
             "\n" +
             "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 303, in _process_block\n" +
             "    self.process_main()\n" +
             "\n" +
             "  File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/importers/sync.py\", line 231, in process_main\n" +
             "    with open(path, \"rb\") as fobj:\n",
            "error"=>
             "[Errno 2] No such file or directory: u'/var/cache/pulp/reserved_resource_worker-1@v-katello-lnx1.inet.co.za/c53c31c7-95ce-486e-aa69-8f0d86d9c1be/packages/00/9c/rhythmbox_3.4.2-4ubuntu1_amd64.deb'"}],
         "details"=>"",
         "num_failures"=>1,
         "step_id"=>"356a3c9e-e1e4-4d63-851a-6973bb9f9bbd",
         "num_processed"=>1},
        {"num_success"=>0,
         "description"=>"Save metadata",
         "step_type"=>"sync_step_save_meta",
         "items_total"=>1,
         "state"=>"NOT_STARTED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"c867dbfb-9dbb-4ac5-b195-05b0586895a1",
         "num_processed"=>0}]},
    "queue"=>"reserved_resource_worker-1@v-katello-lnx1.inet.co.za.dq2",
    "state"=>"error",
    "worker_name"=>"reserved_resource_worker-1@v-katello-lnx1.inet.co.za",
    "result"=>nil,
    "error"=>
     {"code"=>"PLP0000",
      "data"=>{},
      "description"=>
       "[Errno 2] No such file or directory: u'/var/cache/pulp/reserved_resource_worker-1@v-katello-lnx1.inet.co.za/c53c31c7-95ce-486e-aa69-8f0d86d9c1be/packages/00/9c/rhythmbox_3.4.2-4ubuntu1_amd64.deb'",
      "sub_errors"=>[]},
    "_id"=>{"$oid"=>"5bea7ddd15348f7866aea394"},
    "id"=>"5bea7ddd15348f7866aea394"}],
 "contents_changed"=>true,
 "poll_attempts"=>{"total"=>115, "failed"=>1}}
Exception:
Katello::Errors::PulpError: PLP0000: [Errno 2] No such file or directory: u'/var/cache/pulp/reserved_resource_worker-1@v-katello-lnx1.inet.co.za/c53c31c7-95ce-486e-aa69-8f0d86d9c1be/packages/00/9c/rhythmbox_3.4.2-4ubuntu1_amd64.deb'
Backtrace:
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/pulp/abstract_async_task.rb:121:in `block in external_task='
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/pulp/abstract_async_task.rb:119:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/pulp/abstract_async_task.rb:119:in `external_task='
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/pulp/repository/sync.rb:48:in `external_task='
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action/polling.rb:98:in `poll_external_task_with_rescue'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action/polling.rb:21:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action/cancellable.rb:13:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/pulp/abstract_async_task.rb:45:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action.rb:538:in `block (3 levels) in execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware.rb:31:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/middleware/remote_action.rb:16:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/models/katello/concerns/user_extensions.rb:21:in `cp_config'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/middleware/remote_action.rb:16:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.13.4/app/lib/actions/middleware/rails_executor_wrap.rb:14:in `block in run'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/execution_wrapper.rb:85:in `wrap'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.13.4/app/lib/actions/middleware/rails_executor_wrap.rb:13:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action/progress.rb:30:in `with_progress_calculation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action/progress.rb:16:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/middleware/keep_locale.rb:11:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/lib/actions/middleware/keep_locale.rb:11:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.13.4/app/lib/actions/middleware/keep_current_user.rb:15:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.13.4/app/lib/actions/middleware/keep_current_user.rb:43:in `restore_curent_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.13.4/app/lib/actions/middleware/keep_current_user.rb:15:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware.rb:31:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/middleware/world.rb:30:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action.rb:537:in `block (2 levels) in execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action.rb:536:in `catch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action.rb:536:in `block in execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action.rb:451:in `block in with_error_handling'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action.rb:451:in `catch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action.rb:451:in `with_error_handling'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action.rb:531:in `execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/action.rb:278:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:17:in `block (2 levels) in execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/execution_plan/steps/abstract.rb:162:in `with_meta_calculation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:16:in `block in execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:30:in `open_action'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:15:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/director.rb:56:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/executors/parallel/worker.rb:12:in `block in on_message'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/executors.rb:12:in `run_user_code'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/executors/parallel/worker.rb:11:in `on_message'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/context.rb:46:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.0/lib/dynflow/actor.rb:26:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/core.rb:161:in `process_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/core.rb:95:in `block in on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/core.rb:115:in `block in schedule_execution'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb:18:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb:96:in `work'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
Action:
Actions::Pulp::Repository::Sync
Input:
{"pulp_id"=>"da985f79-db9b-48b1-aea0-061fa1e4746e",
 "task_id"=>nil,
 "source_url"=>nil,
 "options"=>{},
 "remote_user"=>"admin",
 "remote_cp_user"=>"admin"}
Output:
{"pulp_tasks"=>
  [{"exception"=>nil,
    "task_type"=>"pulp.server.managers.repo.sync.sync",
    "_href"=>"/pulp/api/v2/tasks/c53c31c7-95ce-486e-aa69-8f0d86d9c1be/",
    "task_id"=>"c53c31c7-95ce-486e-aa69-8f0d86d9c1be",
    "tags"=>
     ["pulp:repository:da985f79-db9b-48b1-aea0-061fa1e4746e",
      "pulp:action:sync"],
    "finish_time"=>"2018-11-13T07:57:09Z",
    "_ns"=>"task_status",
    "start_time"=>"2018-11-13T07:31:41Z",
    "traceback"=>
     "Traceback (most recent call last):\n" +
     "  File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n" +
     "    R = retval = fun(*args, **kwargs)\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 529, in __call__\n" +
     "    return super(Task, self).__call__(*args, **kwargs)\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 107, in __call__\n" +
     "    return super(PulpTask, self).__call__(*args, **kwargs)\n" +
     "  File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in __protected_call__\n" +
     "    return self.run(*args, **kwargs)\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 769, in sync\n" +
     "    sync_report = sync_repo(transfer_repo, conduit, call_config)\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 737, in wrap_f\n" +
     "    return f(*args, **kwargs)\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/importers/importer.py\", line 135, in sync_repo\n" +
     "    report = self._current_sync.process_lifecycle()\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 572, in process_lifecycle\n" +
     "    super(PluginStep, self).process_lifecycle()\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 163, in process_lifecycle\n" +
     "    step.process()\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 256, in process\n" +
     "    self._process_block()\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 303, in _process_block\n" +
     "    self.process_main()\n" +
     "  File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/importers/sync.py\", line 231, in process_main\n" +
     "    with open(path, \"rb\") as fobj:\n" +
     "IOError: [Errno 2] No such file or directory: u'/var/cache/pulp/reserved_resource_worker-1@v-katello-lnx1.inet.co.za/c53c31c7-95ce-486e-aa69-8f0d86d9c1be/packages/00/9c/rhythmbox_3.4.2-4ubuntu1_amd64.deb'\n",
    "spawned_tasks"=>[],
    "progress_report"=>
     {"deb_importer"=>
       [{"num_success"=>1,
         "description"=>"Retrieving metadata: release file(s)",
         "step_type"=>"sync_step_release_download",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"7a1061e0-06cb-43f8-9c44-c2050eae217d",
         "num_processed"=>1},
        {"num_success"=>1,
         "description"=>"Parse Release Files",
         "step_type"=>"sync_step_release_parse",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"05845f0c-39d3-452f-89d7-4ab61da76b8e",
         "num_processed"=>1},
        {"num_success"=>1,
         "description"=>"Retrieving metadata: Packages files",
         "step_type"=>"sync_step_packages_download",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"6a515c73-0471-4ae7-95be-0a83996214b0",
         "num_processed"=>1},
        {"num_success"=>1,
         "description"=>"Parse Packages Files",
         "step_type"=>"sync_step_packages_parse",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"3e653645-9c14-40c8-91ae-6fd6001dd0a1",
         "num_processed"=>1},
        {"num_success"=>1,
         "description"=>"Copying units already in pulp",
         "step_type"=>"get_local",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"816b0542-ddac-4bc2-bc5a-b6485b106a3b",
         "num_processed"=>1},
        {"num_success"=>1,
         "description"=>"Prepare Package Download",
         "step_type"=>"sync_step_unit_download_requests",
         "items_total"=>1,
         "state"=>"FINISHED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"3f874ec3-3ad2-4997-999d-14ce81b1248f",
         "num_processed"=>1},
        {"num_success"=>3019,
         "description"=>"Retrieving units",
         "step_type"=>"sync_step_unit_download",
         "items_total"=>6372,
         "state"=>"FAILED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>3353,
         "step_id"=>"79ac37d3-036e-4b76-a98d-6304605ae790",
         "num_processed"=>6372},
        {"num_success"=>0,
         "description"=>"Save and associate downloaded units",
         "step_type"=>"sync_step_save",
         "items_total"=>1,
         "state"=>"FAILED",
         "error_details"=>
          [{"traceback"=>
             "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 256, in process\n" +
             "    self._process_block()\n" +
             "\n" +
             "  File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 303, in _process_block\n" +
             "    self.process_main()\n" +
             "\n" +
             "  File \"/usr/lib/python2.7/site-packages/pulp_deb/plugins/importers/sync.py\", line 231, in process_main\n" +
             "    with open(path, \"rb\") as fobj:\n",
            "error"=>
             "[Errno 2] No such file or directory: u'/var/cache/pulp/reserved_resource_worker-1@v-katello-lnx1.inet.co.za/c53c31c7-95ce-486e-aa69-8f0d86d9c1be/packages/00/9c/rhythmbox_3.4.2-4ubuntu1_amd64.deb'"}],
         "details"=>"",
         "num_failures"=>1,
         "step_id"=>"356a3c9e-e1e4-4d63-851a-6973bb9f9bbd",
         "num_processed"=>1},
        {"num_success"=>0,
         "description"=>"Save metadata",
         "step_type"=>"sync_step_save_meta",
         "items_total"=>1,
         "state"=>"NOT_STARTED",
         "error_details"=>[],
         "details"=>"",
         "num_failures"=>0,
         "step_id"=>"c867dbfb-9dbb-4ac5-b195-05b0586895a1",
         "num_processed"=>0}]},
    "queue"=>"reserved_resource_worker-1@v-katello-lnx1.inet.co.za.dq2",
    "state"=>"error",
    "worker_name"=>"reserved_resource_worker-1@v-katello-lnx1.inet.co.za",
    "result"=>nil,
    "error"=>
     {"code"=>"PLP0000",
      "data"=>{},
      "description"=>
       "[Errno 2] No such file or directory: u'/var/cache/pulp/reserved_resource_worker-1@v-katello-lnx1.inet.co.za/c53c31c7-95ce-486e-aa69-8f0d86d9c1be/packages/00/9c/rhythmbox_3.4.2-4ubuntu1_amd64.deb'",
      "sub_errors"=>[]},
    "_id"=>{"$oid"=>"5bea7ddd15348f7866aea394"},
    "id"=>"5bea7ddd15348f7866aea394"}],
 "contents_changed"=>true,
 "poll_attempts"=>{"total"=>115, "failed"=>1}}
Action:
Actions::Katello::Repository::IndexContent
Input:
{"id"=>3,
 "contents_changed"=>Step(5).output[:contents_changed],
 "full_index"=>false,
 "current_user_id"=>4}
Output:
{}
Action:
Actions::Katello::Repository::ErrataMail
Input:
{"repo"=>3,
 "last_updated"=>"2018-11-13 09:31:40 +0200",
 "contents_changed"=>Step(5).output[:contents_changed]}
Output:
{}
Action:
Actions::Katello::Repository::ErrataMail
Input:
{"repo"=>3,
 "last_updated"=>"2018-11-13 09:31:40 +0200",
 "contents_changed"=>Step(5).output[:contents_changed]}
Output:
{}
Action:
Actions::Katello::Repository::Sync
Input:
{"repository"=>
  {"id"=>3, "name"=>"Ubuntu 18.04 main", "label"=>"Ubuntu_18_04_main"},
 "product"=>
  {"id"=>2,
   "name"=>"Ubuntu 18",
   "label"=>"Ubuntu_18",
   "cp_id"=>"486827827908"},
 "provider"=>{"id"=>3, "name"=>"Anonymous"},
 "organization"=>{"id"=>3, "name"=>"Iress", "label"=>"Iress"},
 "services_checked"=>["pulp", "pulp_auth"],
 "id"=>3,
 "sync_result"=>Step(5).output,
 "skip_metadata_check"=>false,
 "validate_contents"=>false,
 "contents_changed"=>Step(5).output[:contents_changed],
 "current_user_id"=>4}
Output:
{}

Has there been any progress with incorporating Ubuntu repo’s into Foreman/Katello?
I’m having similar results when trying to create the Product, Ubuntu 18 repositories.

Can you share your repo configuration and the error message you’re receiving?

Hey Tony,
I opened a new case for this. I don’t want to piggyback on another case.
Thanks for your follow up tho

Jim