Project

Profile

Help

Issue #9427

closed

Sync for BaseOS for AlmaLinux or CentOS 8 Stream fails with 'DistributionTree' object has no attribute 'filename'

Added by ipanova@redhat.com about 1 year ago. Updated about 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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:


Related issues

Copied to Pulp - Backport #9440: Backport #9427 "Sync for BaseOS for AlmaLinux or CentOS 8 Stream fails with 'DistributionTree' object has no attribute 'filename'"CLOSED - CURRENTRELEASEdalley

Actions
Actions #1

Updated by ipanova@redhat.com about 1 year ago

  • Subject changed from Sync for BaseOS for AlmaLinux or CentOS 8 Stream 'DistributionTree' object has no attribute 'filename' to Sync for BaseOS for AlmaLinux or CentOS 8 Stream fails with 'DistributionTree' object has no attribute 'filename'
Actions #2

Updated by ipanova@redhat.com about 1 year ago

  • Project changed from RPM Support to Pulp
Actions #4

Updated by dalley about 1 year ago

We should have a test for this also.

Actions #5

Updated by dalley about 1 year ago

  • Severity changed from 2. Medium to 3. High
  • Triaged changed from No to Yes
  • Sprint set to Sprint 105
Actions #6

Updated by ggainey about 1 year ago

  • Status changed from NEW to ASSIGNED
Actions #7

Updated by ggainey about 1 year ago

This is def a bug, and I am prepping a PR for it. However, I cannot reproduce the problem on core/master. Using the following remotes:

    http://mirror.phx1.us.spryservers.net/almalinux/8.4/BaseOS/aarch64/kickstart/    
    https://mirror.slu.cz/rocky/8.4/BaseOS/aarch64/kickstart/ 
    http://mirror.phx1.us.spryservers.net/almalinux/8.4/BaseOS/aarch64/os/                    
    https://mirror.slu.cz/rocky/8.4/BaseOS/aarch64/os/ 
    http://mirror.centos.org/centos/8-stream/BaseOS/aarch64/os/

I have sync'd on_demand, immediate (for ks-repos), autopublish, and mirror. Duplicate-file-paths I get - but not the failure noted in the foreman-issue in #c3. core/master is 3.16dev, and there have been a number of fixes addressing remote-artifacts since 3.14. It's possible we just never hit this path any more. It's also possible that the repos were in a suboptimal state which has been fixed - CentOS8-Stream, for example, was updated yesterday.

In any event - the traceback is a bug, PR to address it incoming.

Actions #8

Updated by ggainey about 1 year ago

  • Status changed from ASSIGNED to POST
Actions #9

Updated by dalley about 1 year ago

  • Assignee set to ggainey
Actions #11

Updated by dalley about 1 year ago

  • Sprint/Milestone set to 3.16.0
Actions #12

Updated by dalley about 1 year ago

  • Copied to Backport #9440: Backport #9427 "Sync for BaseOS for AlmaLinux or CentOS 8 Stream fails with 'DistributionTree' object has no attribute 'filename'" added

Added by ggainey about 1 year ago

Revision 6e18f2e7

Replaced incorrect use of 'filename' with 'natural_keys()' in error log.

fixes #9427. [nocoverage]

Actions #13

Updated by ggainey about 1 year ago

  • Status changed from POST to MODIFIED
Actions #14

Updated by pulpbot about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF