Actions
Issue #4165
closedBatch iterates over mixed content causing AttributeError
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 45
Quarter:
Description
We're seeing the following error in pulp_rpm:
Nov 15 21:28:11 pulp3 rq[10667]: Traceback (most recent call last):
Nov 15 21:28:11 pulp3 rq[10667]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/rq/worker.py", line 793, in perform_job
Nov 15 21:28:11 pulp3 rq[10667]: rv = job.perform()
Nov 15 21:28:11 pulp3 rq[10667]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/rq/job.py", line 599, in perform
Nov 15 21:28:11 pulp3 rq[10667]: self._result = self._execute()
Nov 15 21:28:11 pulp3 rq[10667]: File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/rq/job.py", line 605, in _execute
Nov 15 21:28:11 pulp3 rq[10667]: return self.func(*self.args, **self.kwargs)
Nov 15 21:28:11 pulp3 rq[10667]: File "/home/vagrant/devel/pulp_rpm/pulp_rpm/app/tasks/synchronizing.py", line 69, in synchronize
Nov 15 21:28:11 pulp3 rq[10667]: loop.run_until_complete(pipeline)
Nov 15 21:28:11 pulp3 rq[10667]: File "/usr/lib64/python3.6/asyncio/base_events.py", line 468, in run_until_complete
Nov 15 21:28:11 pulp3 rq[10667]: return future.result()
Nov 15 21:28:11 pulp3 rq[10667]: File "/home/vagrant/devel/pulp/plugin/pulpcore/plugin/stages/api.py", line 129, in create_pipeline
Nov 15 21:28:11 pulp3 rq[10667]: await asyncio.gather(*futures)
Nov 15 21:28:11 pulp3 rq[10667]: File "/home/vagrant/devel/pulp/plugin/pulpcore/plugin/stages/content_unit_stages.py", line 58, in __call__
Nov 15 21:28:11 pulp3 rq[10667]: in_memory_digest_value = getattr(declarative_content.content, field)
Nov 15 21:28:11 pulp3 rq[10667]: AttributeError: 'Package' object has no attribute 'digest'
The digest field is declared on the UpdateRecord content model.
Updated by daviddavis about 6 years ago
- Status changed from NEW to POST
Updated by daviddavis about 6 years ago
- Project changed from RPM Support to Pulp
Updated by daviddavis about 6 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 46
Added by daviddavis about 6 years ago
Added by daviddavis about 6 years ago
Revision b2c7e296 | View on GitHub
Filtering the batch based on model type
Updated by daviddavis about 6 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|b2c7e2961a349510bada4ccb9d4240d40ecf8288.
Updated by ttereshc about 6 years ago
- Sprint changed from Sprint 46 to Sprint 45
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Filtering the batch based on model type
fixes #4165 https://pulp.plan.io/issues/4165