Project

Profile

Help

Backport #9446

closed

Backport #8133 "Same package from different repos yields error on sync" to 3.9.z

Added by jsherril@redhat.com about 3 years ago. Updated about 3 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Triaged:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Quarter:

Description

This was backported to 3.7.z but not 3.9.z and pulp-rpm 3.11.2 (which declares support for 3.9), does not work without this change:

pulp [f7c75e4f197542d983138f38256f5fb0]: rq.worker:ERROR: Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/rq/worker.py", line 975, in perform_job
rv = job.perform()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 696, in perform
self._result = self._execute()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 719, in _execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 269, in synchronize
dv.create()
File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py", line 142, in create
stages = self.pipeline_stages(new_version)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 302, in pipeline_stages
RemoteArtifactSaver(fix_mismatched_remote_artifacts=True),
TypeError: __init__() got an unexpected keyword argument 'fix_mismatched_remote_artifacts'
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/rq/worker.py", line 975, in perform_job
rv = job.perform()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 696, in perform
self._result = self._execute()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 719, in _execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 269, in synchronize
dv.create()
File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py", line 142, in create
stages = self.pipeline_stages(new_version)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 302, in pipeline_stages
RemoteArtifactSaver(fix_mismatched_remote_artifacts=True),
TypeError: __init__() got an unexpected keyword argument 'fix_mismatched_remote_artifacts'


Related issues

Related to Pulp - Issue #8133: Same package from different repos yields error on syncCLOSED - CURRENTRELEASEggaineyActions
Copied from Pulp - Backport #9227: Backport #8133 "Same package from different repos yields error on sync" to 3.7.zCLOSED - CURRENTRELEASEttereshc

Actions
Actions #1

Updated by jsherril@redhat.com about 3 years ago

  • Copied from Backport #9227: Backport #8133 "Same package from different repos yields error on sync" to 3.7.z added
Actions #2

Updated by jsherril@redhat.com about 3 years ago

  • Assignee deleted (ttereshc)
  • % Done changed from 100 to 0
Actions #3

Updated by jsherril@redhat.com about 3 years ago

  • Related to Issue #8133: Same package from different repos yields error on sync added
Actions #4

Updated by jsherril@redhat.com about 3 years ago

we've patched this on our rpm build of 3.9, so its not as big of a deal for us

Actions #5

Updated by bmbouter about 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter
Actions #6

Updated by bmbouter about 3 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (bmbouter)

This backport has one large conflict which contains several differences between 3.9 and 3.15. The backport would be more or less a custom patch. I'm not confident I can get this right so I'm reassigning back to new.

Actions #7

Updated by jsherril@redhat.com about 3 years ago

As i mentioned here https://pulp.plan.io/issues/9446#note-4 we've solved this ourselves via rpm patches, so an official release of 3.9 with this fixed isn't needed anymore

Actions #8

Updated by bmbouter about 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Thanks @jsherrill. Since the requestor resolved this in their RPMs, I'm closing as WONTFIX.

Also available in: Atom PDF