Bug 1334532
| Summary: | Sync fails: no such file or directory '/var/lib/pulp/content/units/yum_repo_metadata_file' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Geoff Gatward <ggatward> | ||||||
| Component: | Content Management | Assignee: | Christine Fouant <cfouant> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.2.0 | CC: | aperotti, bbuckingham, bkearney, bmbouter, cfouant, chrobert, cpatters, daviddavis, dkliban, dnagarat, egolov, ehelms, ggainey, ipanova, jcallaha, jentrena, mhrivnak, omaciel, pcfe, pcreech, rchan, sauchter, sghai, sreber, sthirugn, tbhowmik, ttereshc, will_darton | ||||||
| Target Milestone: | Unspecified | Keywords: | Reopened, Triaged | ||||||
| Target Release: | Unused | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | pulp-rpm-2.8.3.2-1 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2017-03-28 19:25:05 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1110659 Can identify the 'missing' files using the following command: grep OSError /var/log/messages | awk '{ print $16 }' | sort -du | tr -d "'" On my system this gives me: root@sat62[~] # grep OSError /var/log/messages | awk '{ print $16 }' | sort -du | tr -d "'" /var/lib/pulp/content/units/yum_repo_metadata_file/15/ffee92c7d0b32cf118de6ae293579dc7a7bbe5548c785dfc0be53a220383a0/productid /var/lib/pulp/content/units/yum_repo_metadata_file/1c/cfa029872f719a2af2579cb8c6e478a3b645b73db7100aed038cf45c4650a6/productid.gz /var/lib/pulp/content/units/yum_repo_metadata_file/47/0e175edb5c6aaef12a3fbbd30a9da21a43333a8007760771a23444710c5683/productid.gz /var/lib/pulp/content/units/yum_repo_metadata_file/4e/58786cfb6d5464f10b5857e04bee80fde6724db1e09be6a41ad0006b08763e/productid /var/lib/pulp/content/units/yum_repo_metadata_file/6c/fb611ee2b8ea5681249937608e97e468e909e2097b6ba56639ab3609cfe08a/productid.gz /var/lib/pulp/content/units/yum_repo_metadata_file/74/9461e9e3da1de616cbf7d3ddc0a5d9e5b40382e308f65626d975c40a4b1dfa/productid.gz /var/lib/pulp/content/units/yum_repo_metadata_file/97/18442047e54f356e9fc403938062013e63d10f40cde258eeb0e411a9fa7079/productid /var/lib/pulp/content/units/yum_repo_metadata_file/aa/18bd7c3dbb0de48db638b1c7683a7a9e67b9c8cf890e84a84e8f751dae64fa/productid /var/lib/pulp/content/units/yum_repo_metadata_file/c5/35164be01a813713f6a412a202af7368a026df0105d6d0f1142b304de2e14e/productid /var/lib/pulp/content/units/yum_repo_metadata_file/c8/c346cf2eba9e8a395d9c9da41cb074a58565c0b172bb1b4102d49ca6e2bab3/productid.gz /var/lib/pulp/content/units/yum_repo_metadata_file/c8/cf4774a18ec49d187638a20abdc367bd43b14276388143b84f6070bff0764e/productid /var/lib/pulp/content/units/yum_repo_metadata_file/cd/a0fdb8d6a30f0ce313c5db1797086e31b372c4234177a388fa2fde60d64509/f146b21bbae8a8e6bcfe4aaf60b82f7ac7adbbc00100976bac32b9227c8067e9-productid.gz /var/lib/pulp/content/units/yum_repo_metadata_file/e1/9453ff7f903a6f6ae5c5c7f49062368a0eec37b47694abcdaa271c606312cc/e67a1b710afb8343fb2c1fef5c670e25b46e6aa25b736c2db657bce6cd356a4d-productid.gz /var/lib/pulp/content/units/yum_repo_metadata_file/e4/ff198fd7a063ac7479a1cdbdaab96639b4d3952ff2ce32cada7a47e1e395e3/productid As per BZ 1110659, a mkdir -p and touching the productid file seems to be a workaround, as the sync tasks complete successfully after this is done. The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug. The Pulp upstream bug priority is at High. Updating the external tracker on this bug. The Pulp upstream bug status is at POST. Updating the external tracker on this bug. The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug. The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug. The Pulp upstream bug status is at POST. Updating the external tracker on this bug. The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug. The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug. The Pulp upstream bug status is at VERIFIED. Updating the external tracker on this bug. The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. Verified in Satellite 6.2 Beta Snap 18. After many repo syncs' (50+), I've yet to encounter this error. I too have seen this same error while testing a Satellite 6.2.0 SNAP 19.1 system (on RHEL 7). I had previously synchronized (and re-synced) the following repositories:
* Red Hat Enterprise Linux 6 Server Kickstart i386 6.8
* Red Hat Enterprise Linux 6 Server RPMs i386 6Server
The following error is displayed in the Tasks page for each sync job:
Katello::Errors::PulpError: PLP0000: [Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/46/a95252ac77eb19652fa948f5ddd76975283ee885de6e30c16efbaccfa7bd14/4f2bda362ab820537fe5c085f9c9b40f828728200024334c2c5d0660004637b7-productid.gz'
Output:
{"pulp_tasks"=>
[{"exception"=>nil,
"task_type"=>"pulp.server.managers.repo.sync.sync",
"_href"=>"/pulp/api/v2/tasks/b84eb5c8-fe81-46e7-ace7-42bef37f55bc/",
"task_id"=>"b84eb5c8-fe81-46e7-ace7-42bef37f55bc",
"tags"=>
["pulp:repository:Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_i386_6_8",
"pulp:action:sync"],
"finish_time"=>"2016-07-11T19:12:52Z",
"_ns"=>"task_status",
"start_time"=>"2016-07-11T19:12:26Z",
"traceback"=>nil,
"spawned_tasks"=>
[{"_href"=>"/pulp/api/v2/tasks/fa4f5fc4-38f4-460d-87bf-60775b15ac48/",
"task_id"=>"fa4f5fc4-38f4-460d-87bf-60775b15ac48"}],
"progress_report"=>
{"yum_importer"=>
{"content"=>
{"items_total"=>0,
"state"=>"FINISHED",
"error_details"=>[],
"details"=>
{"rpm_total"=>0, "rpm_done"=>0, "drpm_total"=>0, "drpm_done"=>0},
"size_total"=>0,
"size_left"=>0,
"items_left"=>0},
"comps"=>{"state"=>"FINISHED"},
"purge_duplicates"=>{"state"=>"FINISHED"},
"distribution"=>
{"items_total"=>0,
"state"=>"FINISHED",
"error_details"=>[],
"items_left"=>0},
"errata"=>{"state"=>"FINISHED"},
"metadata"=>{"state"=>"FINISHED"}}},
"queue"=>
"reserved_resource_worker-1.eng.rdu2.redhat.com.dq",
"state"=>"finished",
"worker_name"=>
"reserved_resource_worker-1.eng.rdu2.redhat.com",
"result"=>
{"result"=>"success",
"importer_id"=>"yum_importer",
"exception"=>nil,
"repo_id"=>
"Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_i386_6_8",
"traceback"=>nil,
"started"=>"2016-07-11T19:12:26Z",
"_ns"=>"repo_sync_results",
"completed"=>"2016-07-11T19:12:52Z",
"importer_type_id"=>"yum_importer",
"error_message"=>nil,
"summary"=>
{"content"=>{"state"=>"FINISHED"},
"comps"=>{"state"=>"FINISHED"},
"purge_duplicates"=>{"state"=>"FINISHED"},
"distribution"=>{"state"=>"FINISHED"},
"errata"=>{"state"=>"FINISHED"},
"metadata"=>{"state"=>"FINISHED"}},
"added_count"=>0,
"removed_count"=>0,
"updated_count"=>0,
"id"=>"5783efb44a455238e66c353c",
"details"=>
{"content"=>
{"size_total"=>0,
"items_left"=>0,
"items_total"=>0,
"state"=>"FINISHED",
"size_left"=>0,
"details"=>
{"rpm_total"=>0, "rpm_done"=>0, "drpm_total"=>0, "drpm_done"=>0},
"error_details"=>[]},
"comps"=>{"state"=>"FINISHED"},
"purge_duplicates"=>{"state"=>"FINISHED"},
"distribution"=>
{"items_total"=>0,
"state"=>"FINISHED",
"error_details"=>[],
"items_left"=>0},
"errata"=>{"state"=>"FINISHED"},
"metadata"=>{"state"=>"FINISHED"}}},
"error"=>nil,
"_id"=>{"$oid"=>"5783ef9ae0967a8a393f39f9"},
"id"=>"5783ef9ae0967a8a393f39f9"},
{"exception"=>nil,
"task_type"=>"pulp.server.managers.repo.publish.publish",
"_href"=>"/pulp/api/v2/tasks/fa4f5fc4-38f4-460d-87bf-60775b15ac48/",
"task_id"=>"fa4f5fc4-38f4-460d-87bf-60775b15ac48",
"tags"=>
["pulp:repository:Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_i386_6_8",
"pulp:action:publish"],
"finish_time"=>"2016-07-11T19:13:04Z",
"_ns"=>"task_status",
"start_time"=>"2016-07-11T19:12:52Z",
"traceback"=>
"Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\n R = retval = fun(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 473, in __call__\n return super(Task, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 103, in __call__\n return super(PulpTask, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\n return self.run(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 971, in publish\n result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1023, in _do_publish\n publish_report = publish_repo(transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 658, in wrap_f\n return f(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py\", line 174, in publish_repo\n return self._publisher.process_lifecycle()\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 562, in process_lifecycle\n super(PluginStep, self).process_lifecycle()\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 159, in process_lifecycle\n step.process()\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 232, in process\n self._process_block(item=item)\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 291, in _process_block\n self.process_main(item=item)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py\", line 507, in process_main\n add_metadata_file_metadata(unit.data_type, link_path)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/metadata/repomd.py\", line 80, in add_metadata_file_metadata\n timestamp_element.text = str(int(os.path.getmtime(file_path)))\n File \"/usr/lib64/python2.7/genericpath.py\", line 54, in getmtime\n return os.stat(filename).st_mtime\nOSError: [Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/46/a95252ac77eb19652fa948f5ddd76975283ee885de6e30c16efbaccfa7bd14/4f2bda362ab820537fe5c085f9c9b40f828728200024334c2c5d0660004637b7-productid.gz'\n",
"spawned_tasks"=>[],
"progress_report"=>
{"Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_i386_6_8"=>
[{"num_success"=>1,
"description"=>"Copying files",
"step_type"=>"save_tar",
"items_total"=>1,
"state"=>"FINISHED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"7d9e21b8-2cb4-4982-afde-4bad78e53144",
"num_processed"=>1},
{"num_success"=>1,
"description"=>"Initializing repo metadata",
"step_type"=>"initialize_repo_metadata",
"items_total"=>1,
"state"=>"FINISHED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"7d0c8ff3-9d11-4517-902a-9bb09f341cb0",
"num_processed"=>1},
{"num_success"=>1,
"description"=>"Publishing Distribution files",
"step_type"=>"distribution",
"items_total"=>1,
"state"=>"FINISHED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"199f18ba-9a35-4fa6-a4b7-161d1e50c733",
"num_processed"=>1},
{"num_success"=>0,
"description"=>"Publishing RPMs",
"step_type"=>"rpms",
"items_total"=>0,
"state"=>"FINISHED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"7d16f082-0e8b-4f81-961a-e2a10a19015f",
"num_processed"=>0},
{"num_success"=>0,
"description"=>"Publishing Delta RPMs",
"step_type"=>"drpms",
"items_total"=>1,
"state"=>"SKIPPED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"95e1ecae-344a-496a-94e0-02812cbf9d37",
"num_processed"=>0},
{"num_success"=>0,
"description"=>"Publishing Errata",
"step_type"=>"errata",
"items_total"=>0,
"state"=>"FINISHED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"3502c70b-d2da-4709-94f3-b760ec3e7000",
"num_processed"=>0},
{"num_success"=>212,
"description"=>"Publishing Comps file",
"step_type"=>"comps",
"items_total"=>212,
"state"=>"FINISHED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"2e0f5a6d-322c-4be6-b90f-5a5a59ced932",
"num_processed"=>212},
{"num_success"=>0,
"description"=>"Publishing Metadata.",
"step_type"=>"metadata",
"items_total"=>1,
"state"=>"FAILED",
"error_details"=>
[{"traceback"=>
" File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 232, in process\n self._process_block(item=item)\n\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 291, in _process_block\n self.process_main(item=item)\n\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py\", line 507, in process_main\n add_metadata_file_metadata(unit.data_type, link_path)\n\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/metadata/repomd.py\", line 80, in add_metadata_file_metadata\n timestamp_element.text = str(int(os.path.getmtime(file_path)))\n\n File \"/usr/lib64/python2.7/genericpath.py\", line 54, in getmtime\n return os.stat(filename).st_mtime\n",
"error"=>
"[Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/46/a95252ac77eb19652fa948f5ddd76975283ee885de6e30c16efbaccfa7bd14/4f2bda362ab820537fe5c085f9c9b40f828728200024334c2c5d0660004637b7-productid.gz'"}],
"details"=>"",
"num_failures"=>1,
"step_id"=>"088de4d0-8dd1-476e-bf4d-de517e76b1a3",
"num_processed"=>1},
{"num_success"=>0,
"description"=>"Closing repo metadata",
"step_type"=>"close_repo_metadata",
"items_total"=>1,
"state"=>"NOT_STARTED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"887e5806-09aa-431a-8413-36703a38de1a",
"num_processed"=>0},
{"num_success"=>0,
"description"=>"Generating sqlite files",
"step_type"=>"generate sqlite",
"items_total"=>1,
"state"=>"NOT_STARTED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"51ba3ba2-e81b-4e77-b645-e636aab77bac",
"num_processed"=>0},
{"num_success"=>0,
"description"=>"Publishing files to web",
"step_type"=>"publish_directory",
"items_total"=>1,
"state"=>"NOT_STARTED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"6a7bae1f-38c2-4431-b318-5868711aa1da",
"num_processed"=>0},
{"num_success"=>0,
"description"=>"Writing Listings File",
"step_type"=>"initialize_repo_metadata",
"items_total"=>1,
"state"=>"NOT_STARTED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"4e1bd790-2148-4b28-b7d3-d03586e5a01f",
"num_processed"=>0},
{"num_success"=>0,
"description"=>"Writing Listings File",
"step_type"=>"initialize_repo_metadata",
"items_total"=>1,
"state"=>"NOT_STARTED",
"error_details"=>[],
"details"=>"",
"num_failures"=>0,
"step_id"=>"98831154-ccb9-4b38-bc1b-a1179270b5e4",
"num_processed"=>0}]},
"queue"=>
"reserved_resource_worker-1.eng.rdu2.redhat.com.dq",
"state"=>"error",
"worker_name"=>
"reserved_resource_worker-1.eng.rdu2.redhat.com",
"result"=>nil,
"error"=>
{"code"=>"PLP0000",
"data"=>{},
"description"=>
"[Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/46/a95252ac77eb19652fa948f5ddd76975283ee885de6e30c16efbaccfa7bd14/4f2bda362ab820537fe5c085f9c9b40f828728200024334c2c5d0660004637b7-productid.gz'",
"sub_errors"=>[]},
"_id"=>{"$oid"=>"5783efb4e0967a8a393f39fa"},
"id"=>"5783efb4e0967a8a393f39fa"}],
"contents_changed"=>false,
"poll_attempts"=>{"total"=>19, "failed"=>1}}
Backtrace:
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/pulp/abstract_async_task.rb:121:in `block in external_task='
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/pulp/abstract_async_task.rb:119:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/pulp/abstract_async_task.rb:119:in `external_task='
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/pulp/repository/sync.rb:48:in `external_task='
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:98:in `poll_external_task_with_rescue'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/polling.rb:21:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/cancellable.rb:9:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/pulp/abstract_async_task.rb:45:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/middleware/remote_action.rb:16:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/models/katello/concerns/user_extensions.rb:20:in `cp_config'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/middleware/remote_action.rb:16:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:30:in `with_progress_calculation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:16:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/middleware/keep_locale.rb:11:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.58/app/lib/actions/middleware/keep_locale.rb:11:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:30:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/world.rb:30:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:505:in `block (2 levels) in execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in `catch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:504:in `block in execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `block in with_error_handling'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `catch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:419:in `with_error_handling'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:499:in `execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:260:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/executors/parallel/worker.rb:12:in `on_message'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/context.rb:46:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/actor.rb:26:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:161:in `process_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:95:in `block in on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:115:in `block in schedule_execution'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:96:in `work'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `run_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:322:in `block (3 levels) in create_worker'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `loop'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `block (2 levels) in create_worker'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `catch'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `block in create_worker'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
Created attachment 1178529 [details]
foreman-debug
Here's the output of foreman-debug using pulp-server-2.8.3.2-1.el7sat.noarch
Moving back to assigned per comment #18. Created attachment 1178840 [details]
foreman-debug from a Sat 6.2 beta2 that I see the bug on
FWIW; also seeing this bug on my test sat at home
both on nightly sync plans and on manual syncs
6.2 public beta 2 (fresh install, not an upgrade of previous version)
pulp-server-2.8.3-2.el7sat.noarch
Patrick, it seems that you are one version behind the version of pulp that has the fix for this (should be pulp-server-2.8.3.2-1.el7sat.noarch). My scenario is slightly different since I have been upgrading between Betas, which is not officially supported. Here is the setup made by Og on sat6.1.9 and later upgrade performed by me from sat6.1.9 -> sat6.2 GA snap20 and I don't see the reported issue on upgraded setup. steps performed: Setup 6.1.9 Installed with: ========================= * Installed Satellite 6.1.9 * Enable and synchronize: * Red Hat Enterprise Linux 6 Server Kickstart i386 6.8 * Red Hat Enterprise Linux 6 Server RPMs i386 6Server * Add it to a content view and publish it * Promote it to a lifecycle environment (Library > LCE1) * Promote it to a lifecycle environment (LCE1 > LCE2) Performed upgrade from 6.1.9 to sat6.2 snap20 ============================================ * Upgrade the system to 6.2.0 SNAP 20.0 (ssh root.106.3 - dog8code) * You may want to double-check if the hostname looks ok * Re-sync those 2 repositories and make sure they finished successfully. ( tried couple of times) I don't see any exception/issue while syncing repos after upgrade. thanks. After conferring with @ipanova and going over the steps described on comment #23, we feel that it is safe to close this as fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501 *** Bug 1343037 has been marked as a duplicate of this bug. *** Requesting needsinfo from upstream developer ipanova because the 'FailedQA' flag is set. Requesting needsinfo from upstream developer ipanova because the 'FailedQA' flag is set. Requesting needsinfo from upstream developer ipanova because the 'FailedQA' flag is set. Requesting needsinfo from upstream developer ipanova because the 'FailedQA' flag is set. Since this has already been released as a fix, I am setting it back to closed-errata. If it's determined that there is still a problem, please open a new issue. This helps us track what has and has not been released with any particular version. Thanks! |
Satellite 6.2.0 Beta 1 (RHEL7) Various repositories failing to sync (via daily sync plan), throwing errors about missing directories PLP0000: [Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/cd/a0fdb8d6a30f0ce313c5db1797086e31b372c4234177a388fa2fde60d64509/f146b21bbae8a8e6bcfe4aaf60b82f7ac7adbbc00100976bac32b9227c8067e9-productid.gz' Checking the file structure, path is indeed missing. root@sat62[/var/lib/pulp/content/units/yum_repo_metadata_file] # ls 04 14 22 2e 35 43 54 60 75 8f 9b a3 a8 b2 c3 d6 12 1f 26 2f 42 4f 5b 6c 8e 97 9d a7 b1 c2 c4 da The failing repos have previously been sync'd successfully and content exported via the Default Organization View (this is a sync host for a disconnected environment) Output from task monitor error tab: Action: Actions::Pulp::Repository::Sync Input: {"pulp_id"=> "Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7", "task_id"=>"3af0a6ee-5efc-4844-aa47-d4a3aa66c1ac", "source_url"=>nil, "remote_user"=>"admin", "remote_cp_user"=>"admin", "locale"=>"en"} Output: {"contents_changed"=>false, "pulp_tasks"=> [{"exception"=>nil, "task_type"=>"pulp.server.managers.repo.sync.sync", "_href"=>"/pulp/api/v2/tasks/3af0a6ee-5efc-4844-aa47-d4a3aa66c1ac/", "task_id"=>"3af0a6ee-5efc-4844-aa47-d4a3aa66c1ac", "tags"=> ["pulp:repository:Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7", "pulp:action:sync"], "finish_time"=>"2016-05-09T14:14:02Z", "_ns"=>"task_status", "start_time"=>"2016-05-09T14:13:56Z", "traceback"=>nil, "spawned_tasks"=> [{"_href"=>"/pulp/api/v2/tasks/e67056b4-78bc-43b9-86ae-6733a82541b2/", "task_id"=>"e67056b4-78bc-43b9-86ae-6733a82541b2"}], "progress_report"=> {"yum_importer"=> {"content"=> {"items_total"=>0, "state"=>"FINISHED", "error_details"=>[], "details"=> {"rpm_total"=>0, "rpm_done"=>0, "drpm_total"=>0, "drpm_done"=>0}, "size_total"=>0, "size_left"=>0, "items_left"=>0}, "comps"=>{"state"=>"FINISHED"}, "purge_duplicates"=>{"state"=>"FINISHED"}, "distribution"=> {"items_total"=>0, "state"=>"FINISHED", "error_details"=>[], "items_left"=>0}, "errata"=>{"state"=>"FINISHED"}, "metadata"=>{"state"=>"FINISHED"}}}, "queue"=>"reserved_resource_worker-2.org.dq", "state"=>"finished", "worker_name"=>"reserved_resource_worker-2.org", "result"=> {"result"=>"success", "importer_id"=>"yum_importer", "exception"=>nil, "repo_id"=> "Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7", "traceback"=>nil, "started"=>"2016-05-09T14:13:56Z", "_ns"=>"repo_sync_results", "completed"=>"2016-05-09T14:14:01Z", "importer_type_id"=>"yum_importer", "error_message"=>nil, "summary"=> {"content"=>{"state"=>"FINISHED"}, "comps"=>{"state"=>"FINISHED"}, "purge_duplicates"=>{"state"=>"FINISHED"}, "distribution"=>{"state"=>"FINISHED"}, "errata"=>{"state"=>"FINISHED"}, "metadata"=>{"state"=>"FINISHED"}}, "added_count"=>0, "removed_count"=>0, "updated_count"=>0, "id"=>"57309b299d9422df712751ac", "details"=> {"content"=> {"size_total"=>0, "items_left"=>0, "items_total"=>0, "state"=>"FINISHED", "size_left"=>0, "details"=> {"rpm_total"=>0, "rpm_done"=>0, "drpm_total"=>0, "drpm_done"=>0}, "error_details"=>[]}, "comps"=>{"state"=>"FINISHED"}, "purge_duplicates"=>{"state"=>"FINISHED"}, "distribution"=> {"items_total"=>0, "state"=>"FINISHED", "error_details"=>[], "items_left"=>0}, "errata"=>{"state"=>"FINISHED"}, "metadata"=>{"state"=>"FINISHED"}}}, "error"=>nil, "_id"=>{"$oid"=>"573097ea2d723599562be2f8"}, "id"=>"573097ea2d723599562be2f8"}, {"exception"=>nil, "task_type"=>"pulp.server.managers.repo.publish.publish", "_href"=>"/pulp/api/v2/tasks/e67056b4-78bc-43b9-86ae-6733a82541b2/", "task_id"=>"e67056b4-78bc-43b9-86ae-6733a82541b2", "tags"=> ["pulp:repository:Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7", "pulp:action:publish"], "finish_time"=>"2016-05-09T14:40:27Z", "_ns"=>"task_status", "start_time"=>"2016-05-09T14:40:13Z", "traceback"=> "Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\n R = retval = fun(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 473, in __call__\n return super(Task, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 103, in __call__\n return super(PulpTask, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\n return self.run(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 971, in publish\n result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1023, in _do_publish\n publish_report = publish_repo(transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 658, in wrap_f\n return f(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py\", line 174, in publish_repo\n return self._publisher.process_lifecycle()\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 562, in process_lifecycle\n super(PluginStep, self).process_lifecycle()\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 159, in process_lifecycle\n step.process()\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 232, in process\n self._process_block(item=item)\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 291, in _process_block\n self.process_main(item=item)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py\", line 483, in process_main\n add_metadata_file_metadata(unit.data_type, link_path)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/metadata/repomd.py\", line 80, in add_metadata_file_metadata\n timestamp_element.text = str(int(os.path.getmtime(file_path)))\n File \"/usr/lib64/python2.7/genericpath.py\", line 54, in getmtime\n return os.stat(filename).st_mtime\nOSError: [Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/cd/a0fdb8d6a30f0ce313c5db1797086e31b372c4234177a388fa2fde60d64509/f146b21bbae8a8e6bcfe4aaf60b82f7ac7adbbc00100976bac32b9227c8067e9-productid.gz'\n", "spawned_tasks"=>[], "progress_report"=> {"Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7"=> [{"num_success"=>1, "description"=>"Copying files", "step_type"=>"save_tar", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"960926ad-94ba-4b3b-94c2-2243fda8060c", "num_processed"=>1}, {"num_success"=>1, "description"=>"Initializing repo metadata", "step_type"=>"initialize_repo_metadata", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"d8f7cbef-94f6-4c82-9324-d695143beb29", "num_processed"=>1}, {"num_success"=>1, "description"=>"Publishing Distribution files", "step_type"=>"distribution", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"71b11dd5-a67e-4f2e-b14a-db8532fc2c71", "num_processed"=>1}, {"num_success"=>0, "description"=>"Publishing RPMs", "step_type"=>"rpms", "items_total"=>0, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"71e53be5-3cbb-4a2a-8b96-70f8e3f98813", "num_processed"=>0}, {"num_success"=>0, "description"=>"Publishing Delta RPMs", "step_type"=>"drpms", "items_total"=>1, "state"=>"SKIPPED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"ceffb68f-a93e-4194-9c1a-ec21d3758244", "num_processed"=>0}, {"num_success"=>0, "description"=>"Publishing Errata", "step_type"=>"errata", "items_total"=>0, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"2adff2d1-6f92-4862-ac8f-22ac57a72875", "num_processed"=>0}, {"num_success"=>212, "description"=>"Publishing Comps file", "step_type"=>"comps", "items_total"=>212, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"4fdca511-dc7b-4f03-9c1e-e975b14f8a12", "num_processed"=>212}, {"num_success"=>0, "description"=>"Publishing Metadata.", "step_type"=>"metadata", "items_total"=>1, "state"=>"FAILED", "error_details"=> [{"traceback"=> " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 232, in process\n self._process_block(item=item)\n\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 291, in _process_block\n self.process_main(item=item)\n\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py\", line 483, in process_main\n add_metadata_file_metadata(unit.data_type, link_path)\n\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/metadata/repomd.py\", line 80, in add_metadata_file_metadata\n timestamp_element.text = str(int(os.path.getmtime(file_path)))\n\n File \"/usr/lib64/python2.7/genericpath.py\", line 54, in getmtime\n return os.stat(filename).st_mtime\n", "error"=> "[Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/cd/a0fdb8d6a30f0ce313c5db1797086e31b372c4234177a388fa2fde60d64509/f146b21bbae8a8e6bcfe4aaf60b82f7ac7adbbc00100976bac32b9227c8067e9-productid.gz'"}], "details"=>"", "num_failures"=>1, "step_id"=>"67d2c4c1-f19e-4e56-be1b-29dc9d70dc8c", "num_processed"=>1}, {"num_success"=>0, "description"=>"Closing repo metadata", "step_type"=>"close_repo_metadata", "items_total"=>1, "state"=>"NOT_STARTED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"3406ca2a-f99d-4dbf-85bc-e50435f2536c", "num_processed"=>0}, {"num_success"=>0, "description"=>"Generating sqlite files", "step_type"=>"generate sqlite", "items_total"=>1, "state"=>"NOT_STARTED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"c260eed9-c469-46f8-8b2f-ed2e5243aacd", "num_processed"=>0}, {"num_success"=>0, "description"=>"Publishing files to web", "step_type"=>"publish_directory", "items_total"=>1, "state"=>"NOT_STARTED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"6b8e5b28-7302-4ea8-b597-b3f542526284", "num_processed"=>0}, {"num_success"=>0, "description"=>"Writing Listings File", "step_type"=>"initialize_repo_metadata", "items_total"=>1, "state"=>"NOT_STARTED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"40d72919-597f-45da-a79d-51f480282086", "num_processed"=>0}, {"num_success"=>0, "description"=>"Writing Listings File", "step_type"=>"initialize_repo_metadata", "items_total"=>1, "state"=>"NOT_STARTED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"ba48dbfb-1d0c-45aa-a6c9-7e819ce593bb", "num_processed"=>0}]}, "queue"=>"reserved_resource_worker-1.org.dq", "state"=>"error", "worker_name"=>"reserved_resource_worker-1.org", "result"=>nil, "error"=> {"code"=>"PLP0000", "data"=>{}, "description"=> "[Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/cd/a0fdb8d6a30f0ce313c5db1797086e31b372c4234177a388fa2fde60d64509/f146b21bbae8a8e6bcfe4aaf60b82f7ac7adbbc00100976bac32b9227c8067e9-productid.gz'", "sub_errors"=>[]}, "_id"=>{"$oid"=>"57309b2a2d723599562be36f"}, "id"=>"57309b2a2d723599562be36f"}], "poll_attempts"=>{"total"=>116, "failed"=>1}} Exception: Katello::Errors::PulpError: PLP0000: [Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/cd/a0fdb8d6a30f0ce313c5db1797086e31b372c4234177a388fa2fde60d64509/f146b21bbae8a8e6bcfe4aaf60b82f7ac7adbbc00100976bac32b9227c8067e9-productid.gz' Backtrace: /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/pulp/abstract_async_task.rb:121:in `block in external_task=' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/pulp/abstract_async_task.rb:119:in `each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/pulp/abstract_async_task.rb:119:in `external_task=' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/pulp/repository/sync.rb:46:in `external_task=' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action/polling.rb:98:in `poll_external_task_with_rescue' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action/polling.rb:21:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action/cancellable.rb:9:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/pulp/abstract_async_task.rb:45:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:30:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/middleware/remote_action.rb:16:in `block in run' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/models/katello/concerns/user_extensions.rb:20:in `cp_config' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/middleware/remote_action.rb:16:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action/progress.rb:30:in `with_progress_calculation' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action/progress.rb:16:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/middleware/keep_locale.rb:11:in `block in run' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/lib/actions/middleware/keep_locale.rb:11:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:30:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:505:in `block (2 levels) in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:504:in `catch' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:504:in `block in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `block in with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `catch' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:499:in `execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:260:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/executors/parallel/worker.rb:12:in `on_message' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/context.rb:46:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/actor.rb:26:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:161:in `process_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:95:in `block in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:115:in `block in schedule_execution' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:96:in `work' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `run_task' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:322:in `block (3 levels) in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `loop' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `block (2 levels) in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `catch' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `block in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context' Action: Actions::Pulp::Repository::Sync Input: {"pulp_id"=> "Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7", "task_id"=>"3af0a6ee-5efc-4844-aa47-d4a3aa66c1ac", "source_url"=>nil, "remote_user"=>"admin", "remote_cp_user"=>"admin", "locale"=>"en"} Output: {"contents_changed"=>false, "pulp_tasks"=> [{"exception"=>nil, "task_type"=>"pulp.server.managers.repo.sync.sync", "_href"=>"/pulp/api/v2/tasks/3af0a6ee-5efc-4844-aa47-d4a3aa66c1ac/", "task_id"=>"3af0a6ee-5efc-4844-aa47-d4a3aa66c1ac", "tags"=> ["pulp:repository:Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7", "pulp:action:sync"], "finish_time"=>"2016-05-09T14:14:02Z", "_ns"=>"task_status", "start_time"=>"2016-05-09T14:13:56Z", "traceback"=>nil, "spawned_tasks"=> [{"_href"=>"/pulp/api/v2/tasks/e67056b4-78bc-43b9-86ae-6733a82541b2/", "task_id"=>"e67056b4-78bc-43b9-86ae-6733a82541b2"}], "progress_report"=> {"yum_importer"=> {"content"=> {"items_total"=>0, "state"=>"FINISHED", "error_details"=>[], "details"=> {"rpm_total"=>0, "rpm_done"=>0, "drpm_total"=>0, "drpm_done"=>0}, "size_total"=>0, "size_left"=>0, "items_left"=>0}, "comps"=>{"state"=>"FINISHED"}, "purge_duplicates"=>{"state"=>"FINISHED"}, "distribution"=> {"items_total"=>0, "state"=>"FINISHED", "error_details"=>[], "items_left"=>0}, "errata"=>{"state"=>"FINISHED"}, "metadata"=>{"state"=>"FINISHED"}}}, "queue"=>"reserved_resource_worker-2.org.dq", "state"=>"finished", "worker_name"=>"reserved_resource_worker-2.org", "result"=> {"result"=>"success", "importer_id"=>"yum_importer", "exception"=>nil, "repo_id"=> "Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7", "traceback"=>nil, "started"=>"2016-05-09T14:13:56Z", "_ns"=>"repo_sync_results", "completed"=>"2016-05-09T14:14:01Z", "importer_type_id"=>"yum_importer", "error_message"=>nil, "summary"=> {"content"=>{"state"=>"FINISHED"}, "comps"=>{"state"=>"FINISHED"}, "purge_duplicates"=>{"state"=>"FINISHED"}, "distribution"=>{"state"=>"FINISHED"}, "errata"=>{"state"=>"FINISHED"}, "metadata"=>{"state"=>"FINISHED"}}, "added_count"=>0, "removed_count"=>0, "updated_count"=>0, "id"=>"57309b299d9422df712751ac", "details"=> {"content"=> {"size_total"=>0, "items_left"=>0, "items_total"=>0, "state"=>"FINISHED", "size_left"=>0, "details"=> {"rpm_total"=>0, "rpm_done"=>0, "drpm_total"=>0, "drpm_done"=>0}, "error_details"=>[]}, "comps"=>{"state"=>"FINISHED"}, "purge_duplicates"=>{"state"=>"FINISHED"}, "distribution"=> {"items_total"=>0, "state"=>"FINISHED", "error_details"=>[], "items_left"=>0}, "errata"=>{"state"=>"FINISHED"}, "metadata"=>{"state"=>"FINISHED"}}}, "error"=>nil, "_id"=>{"$oid"=>"573097ea2d723599562be2f8"}, "id"=>"573097ea2d723599562be2f8"}, {"exception"=>nil, "task_type"=>"pulp.server.managers.repo.publish.publish", "_href"=>"/pulp/api/v2/tasks/e67056b4-78bc-43b9-86ae-6733a82541b2/", "task_id"=>"e67056b4-78bc-43b9-86ae-6733a82541b2", "tags"=> ["pulp:repository:Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7", "pulp:action:publish"], "finish_time"=>"2016-05-09T14:40:27Z", "_ns"=>"task_status", "start_time"=>"2016-05-09T14:40:13Z", "traceback"=> "Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\n R = retval = fun(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 473, in __call__\n return super(Task, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 103, in __call__\n return super(PulpTask, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\n return self.run(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 971, in publish\n result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1023, in _do_publish\n publish_report = publish_repo(transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 658, in wrap_f\n return f(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py\", line 174, in publish_repo\n return self._publisher.process_lifecycle()\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 562, in process_lifecycle\n super(PluginStep, self).process_lifecycle()\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 159, in process_lifecycle\n step.process()\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 232, in process\n self._process_block(item=item)\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 291, in _process_block\n self.process_main(item=item)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py\", line 483, in process_main\n add_metadata_file_metadata(unit.data_type, link_path)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/metadata/repomd.py\", line 80, in add_metadata_file_metadata\n timestamp_element.text = str(int(os.path.getmtime(file_path)))\n File \"/usr/lib64/python2.7/genericpath.py\", line 54, in getmtime\n return os.stat(filename).st_mtime\nOSError: [Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/cd/a0fdb8d6a30f0ce313c5db1797086e31b372c4234177a388fa2fde60d64509/f146b21bbae8a8e6bcfe4aaf60b82f7ac7adbbc00100976bac32b9227c8067e9-productid.gz'\n", "spawned_tasks"=>[], "progress_report"=> {"Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7"=> [{"num_success"=>1, "description"=>"Copying files", "step_type"=>"save_tar", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"960926ad-94ba-4b3b-94c2-2243fda8060c", "num_processed"=>1}, {"num_success"=>1, "description"=>"Initializing repo metadata", "step_type"=>"initialize_repo_metadata", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"d8f7cbef-94f6-4c82-9324-d695143beb29", "num_processed"=>1}, {"num_success"=>1, "description"=>"Publishing Distribution files", "step_type"=>"distribution", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"71b11dd5-a67e-4f2e-b14a-db8532fc2c71", "num_processed"=>1}, {"num_success"=>0, "description"=>"Publishing RPMs", "step_type"=>"rpms", "items_total"=>0, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"71e53be5-3cbb-4a2a-8b96-70f8e3f98813", "num_processed"=>0}, {"num_success"=>0, "description"=>"Publishing Delta RPMs", "step_type"=>"drpms", "items_total"=>1, "state"=>"SKIPPED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"ceffb68f-a93e-4194-9c1a-ec21d3758244", "num_processed"=>0}, {"num_success"=>0, "description"=>"Publishing Errata", "step_type"=>"errata", "items_total"=>0, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"2adff2d1-6f92-4862-ac8f-22ac57a72875", "num_processed"=>0}, {"num_success"=>212, "description"=>"Publishing Comps file", "step_type"=>"comps", "items_total"=>212, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"4fdca511-dc7b-4f03-9c1e-e975b14f8a12", "num_processed"=>212}, {"num_success"=>0, "description"=>"Publishing Metadata.", "step_type"=>"metadata", "items_total"=>1, "state"=>"FAILED", "error_details"=> [{"traceback"=> " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 232, in process\n self._process_block(item=item)\n\n File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 291, in _process_block\n self.process_main(item=item)\n\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py\", line 483, in process_main\n add_metadata_file_metadata(unit.data_type, link_path)\n\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/metadata/repomd.py\", line 80, in add_metadata_file_metadata\n timestamp_element.text = str(int(os.path.getmtime(file_path)))\n\n File \"/usr/lib64/python2.7/genericpath.py\", line 54, in getmtime\n return os.stat(filename).st_mtime\n", "error"=> "[Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/cd/a0fdb8d6a30f0ce313c5db1797086e31b372c4234177a388fa2fde60d64509/f146b21bbae8a8e6bcfe4aaf60b82f7ac7adbbc00100976bac32b9227c8067e9-productid.gz'"}], "details"=>"", "num_failures"=>1, "step_id"=>"67d2c4c1-f19e-4e56-be1b-29dc9d70dc8c", "num_processed"=>1}, {"num_success"=>0, "description"=>"Closing repo metadata", "step_type"=>"close_repo_metadata", "items_total"=>1, "state"=>"NOT_STARTED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"3406ca2a-f99d-4dbf-85bc-e50435f2536c", "num_processed"=>0}, {"num_success"=>0, "description"=>"Generating sqlite files", "step_type"=>"generate sqlite", "items_total"=>1, "state"=>"NOT_STARTED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"c260eed9-c469-46f8-8b2f-ed2e5243aacd", "num_processed"=>0}, {"num_success"=>0, "description"=>"Publishing files to web", "step_type"=>"publish_directory", "items_total"=>1, "state"=>"NOT_STARTED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"6b8e5b28-7302-4ea8-b597-b3f542526284", "num_processed"=>0}, {"num_success"=>0, "description"=>"Writing Listings File", "step_type"=>"initialize_repo_metadata", "items_total"=>1, "state"=>"NOT_STARTED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"40d72919-597f-45da-a79d-51f480282086", "num_processed"=>0}, {"num_success"=>0, "description"=>"Writing Listings File", "step_type"=>"initialize_repo_metadata", "items_total"=>1, "state"=>"NOT_STARTED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"ba48dbfb-1d0c-45aa-a6c9-7e819ce593bb", "num_processed"=>0}]}, "queue"=>"reserved_resource_worker-1.org.dq", "state"=>"error", "worker_name"=>"reserved_resource_worker-1.org", "result"=>nil, "error"=> {"code"=>"PLP0000", "data"=>{}, "description"=> "[Errno 2] No such file or directory: '/var/lib/pulp/content/units/yum_repo_metadata_file/cd/a0fdb8d6a30f0ce313c5db1797086e31b372c4234177a388fa2fde60d64509/f146b21bbae8a8e6bcfe4aaf60b82f7ac7adbbc00100976bac32b9227c8067e9-productid.gz'", "sub_errors"=>[]}, "_id"=>{"$oid"=>"57309b2a2d723599562be36f"}, "id"=>"57309b2a2d723599562be36f"}], "poll_attempts"=>{"total"=>116, "failed"=>1}} Action: Actions::Katello::Repository::IndexContent Input: {"id"=>27, "contents_changed"=>Step(3).output[:contents_changed], "current_user_id"=>1, "locale"=>"en"} Output: {} Action: Actions::Katello::Repository::UpdateMedia Input: {"repo_id"=>27, "contents_changed"=>Step(3).output[:contents_changed], "locale"=>"en"} Output: {} Action: Actions::Katello::Repository::ErrataMail Input: {"repo"=>27, "last_updated"=>"2016-05-10 00:14:02 +1000", "contents_changed"=>Step(3).output[:contents_changed], "locale"=>"en"} Output: {} Action: Actions::Katello::Repository::ErrataMail Input: {"repo"=>27, "last_updated"=>"2016-05-10 00:14:02 +1000", "contents_changed"=>Step(3).output[:contents_changed], "locale"=>"en"} Output: {} Action: Actions::Katello::Repository::Sync Input: {"repository"=> {"id"=>27, "name"=>"Red Hat Enterprise Linux 6 Server Kickstart x86_64 6.7", "label"=>"Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7"}, "product"=> {"id"=>7, "name"=>"Red Hat Enterprise Linux Server", "label"=>"Red_Hat_Enterprise_Linux_Server", "cp_id"=>"69"}, "provider"=>{"id"=>2, "name"=>"Red Hat"}, "organization"=>{"id"=>1, "name"=>"Default_Organization", "label"=>"Default_Organization"}, "services_checked"=>["pulp", "pulp_auth"], "id"=>27, "sync_result"=>Step(3).output, "user_id"=>1, "contents_changed"=>Step(3).output[:contents_changed], "current_user_id"=>1, "locale"=>"en"} Output: {} Action: Actions::Pulp::Repository::RegenerateApplicability Input: {"pulp_id"=> "Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_Kickstart_x86_64_6_7", "contents_changed"=>Step(3).output[:contents_changed], "remote_user"=>"admin", "remote_cp_user"=>"admin", "locale"=>"en"} Output: {} Action: Actions::Katello::Repository::ImportApplicability Input: {"repo_id"=>27, "contents_changed"=>Step(3).output[:contents_changed], "locale"=>"en"} Output: {}