Issue #4692
closedsyncing is broken on 2-master branch
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"=>[],
Added by dkliban@redhat.com over 5 years ago
Updated by dkliban@redhat.com over 5 years ago
- Status changed from NEW to MODIFIED
Applied in changeset 55038c3392b991e9971ec38671ccb9ccd0be4d02.
Updated by dkliban@redhat.com over 5 years ago
- Status changed from MODIFIED to POST
Added by dkliban@redhat.com over 5 years ago
Revision a310c6da | View on GitHub
Problem: file could be copied into link location
Solution: unlink all symlinked YumMetadataFiles before copying
Updated by dkliban@redhat.com over 5 years ago
- Status changed from POST to MODIFIED
Added by dkliban@redhat.com over 5 years ago
Revision 5de9188a | View on GitHub
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 (cherry picked from commit 55038c3392b991e9971ec38671ccb9ccd0be4d02)
Added by dkliban@redhat.com over 5 years ago
Revision 18513d9b | View on GitHub
Problem: file could be copied into link location
Solution: unlink all symlinked YumMetadataFiles before copying
re: #4692 https://pulp.plan.io/issues/4692 (cherry picked from commit a310c6dae1abb30194f698daacba9150f7aa6121)
Updated by dkliban@redhat.com over 5 years ago
Applied in changeset 5de9188a1ccfa65c8f66752ef7a771dd81fb06a7.
Updated by dkliban@redhat.com over 5 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com over 5 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
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