Project

Profile

Help

Issue #5509

Can't sync with 3.0.0b5 release of pulp_rpm

Added by daviddavis about 1 year ago. Updated 6 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 60
Quarter:

Description

Error:

                "description": "ProgressBar() got an unexpected keyword argument 'code'",
                "traceback": "  File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/rq/worker.py\", line 822, in perform_job\n    rv = job.perform()\n  File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/rq/job.py\", line 605, in perform\n    self._result = self._execute()\n  File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/rq/job.py\", line 611, in _execute\n    return self.func(*self.args, **self.kwargs)\n  File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\", line 105, in synchronize\n    dv.create()\n  File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py\", line 169, in create\n    loop.run_until_complete(pipeline)\n  File \"/usr/lib64/python3.7/asyncio/base_events.py\", line 579, in run_until_complete\n    return future.result()\n  File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\", line 209, in create_pipeline\n    await asyncio.gather(*futures)\n  File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\", line 43, in __call__\n    await self.run()\n  File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\", line 264, in run\n    packages_pb = ProgressBar(message='Parsed Packages', code='parsing.packages')\n  File \"/usr/local/lib/pulp/lib64/python3.7/site-packages/django/db/models/base.py\", line 501, in __init__\n    raise TypeError(\"%s() got an unexpected keyword argument '%s'\" % (cls.__name__, kwarg))\n"

We had the same issue in pulp_ansible and had to fix it with:

https://github.com/pulp/pulp_ansible/commit/00bec5339eaa091d63ae7be76464bc68ed040327

The other option would be to release a new version of core.

History

#1 Updated by fao89 about 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 60

#2 Updated by ttereshc about 1 year ago

  • Tags Pulp 3 RPM blocker added

#3 Updated by daviddavis about 1 year ago

  • Status changed from NEW to CLOSED - CURRENTRELEASE

This issue has been fixed by a new RC6 release of core + pulp_rpm.

#4 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3 RPM blocker)

Please register to edit this issue

Also available in: Atom PDF