Project

Profile

Help

Issue #4692

closed

syncing is broken on 2-master branch

Added by dkliban@redhat.com over 5 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
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"=>[],

Added by dkliban@redhat.com over 5 years ago

Revision 55038c33 | 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

Actions #1

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added
Actions #2

Updated by dkliban@redhat.com over 5 years ago

  • Status changed from NEW to MODIFIED
Actions #3

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

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

Actions #4

Updated by dkliban@redhat.com over 5 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by dkliban@redhat.com over 5 years ago

  • Platform Release set to 2.19.1
Actions #6

Updated by dkliban@redhat.com over 5 years ago

  • Sprint/Milestone set to 2.19.1
Actions #7

Updated by ttereshc over 5 years ago

  • Assignee set to dkliban@redhat.com

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)

Actions #9

Updated by dkliban@redhat.com over 5 years ago

  • Status changed from MODIFIED to 5
Actions #10

Updated by dkliban@redhat.com over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

Also available in: Atom PDF