Actions
Issue #4692
closedsyncing is broken on 2-master branch
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
2.19.1
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
"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 1110, in publish\n" +
" result = check_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 1207, in check_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 1259, 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 737, 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 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 239, in process\n" +
" self._process_block(item=item)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 301, 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 530, in process_main\n" +
" if os.path.samefile(unit._storage_path, file_path):\n" +
" File \"/usr/lib64/python2.7/posixpath.py\", line 163, in samefile\n" +
" s2 = os.stat(f2)\n" +
"OSError: [Errno 2] No such file or directory: '/var/cache/pulp/reserved_resource_worker-0@qe-sat6-feature-rhel7.satqe.lab.eng.rdu2.redhat.com/bd2fbdc1-2f58-431f-8347-a264c81ec62c/repodata/productid'\n",
"spawned_tasks"=>[],
Actions
Problem: syncing of RedHat repos is broken
Solution: add a check to see if this is incremental publish or not
fixes: #4692 https://pulp.plan.io/issues/4692