Actions
Issue #9427
closedSync for BaseOS for AlmaLinux or CentOS 8 Stream fails with 'DistributionTree' object has no attribute 'filename'
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 105
Quarter:
Description
Offending line is this one https://github.com/pulp/pulpcore/blob/master/pulpcore/plugin/stages/artifact_stages.py#L355 and was introduced with this commit https://github.com/pulp/pulpcore/commit/349f2137d970f87190749b417cfa137dc0f99ff5#diff-28560cb4dba596314e3577becbd1974a015d47c08f8f17b38e6030a701999169 which landed in 3.15.0 and backported to 3.14.z
We cannot reference filename
on the content https://github.com/pulp/pulpcore/blob/master/pulpcore/app/models/content.py#L467
Related issues
Actions
Replaced incorrect use of 'filename' with 'natural_keys()' in error log.
fixes #9427. [nocoverage]