Project

Profile

Help

Issue #4692

syncing is broken on 2-master branch

Added by dkliban@redhat.com 7 months ago. Updated 6 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Master
Platform Release:
2.19.1
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

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"=>[],

Associated revisions

Revision 55038c33 View on GitHub
Added by dkliban@redhat.com 7 months ago

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

Revision a310c6da View on GitHub
Added by dkliban@redhat.com 7 months ago

Problem: file could be copied into link location

Solution: unlink all symlinked YumMetadataFiles before copying

re: #4692
https://pulp.plan.io/issues/4692

Revision 5de9188a View on GitHub
Added by dkliban@redhat.com 6 months ago

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)

Revision 18513d9b View on GitHub
Added by dkliban@redhat.com 6 months ago

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)

History

#1 Updated by bmbouter 7 months ago

  • Tags Pulp 2 added

#2 Updated by dkliban@redhat.com 7 months ago

  • Status changed from NEW to MODIFIED

#3 Updated by dkliban@redhat.com 7 months ago

  • Status changed from MODIFIED to POST

#4 Updated by dkliban@redhat.com 7 months ago

  • Status changed from POST to MODIFIED

#5 Updated by dkliban@redhat.com 7 months ago

  • Platform Release set to 2.19.1

#6 Updated by dkliban@redhat.com 7 months ago

  • Sprint/Milestone set to 2.19.1

#7 Updated by ttereshc 6 months ago

  • Assignee set to dkliban@redhat.com

#9 Updated by dkliban@redhat.com 6 months ago

  • Status changed from MODIFIED to ON_QA

#10 Updated by dkliban@redhat.com 6 months ago

  • Status changed from ON_QA to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF