Project

Profile

Help

Issue #7193

closed

Packages from Fedora repositories not migrating properly

Added by dalley over 4 years ago. Updated about 4 years ago.

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

Description

Pulp 2

Id:                  centos7
Display Name:        None
Description:         None
Content Unit Counts: 
  Distribution:        1
  Package Category:    11
  Package Environment: 10
  Package Group:       88
  Package Langpacks:   1
  Rpm:                 10070

Id:                  centos6
Display Name:        None
Description:         None
Content Unit Counts: 
  Distribution:     1
  Package Category: 14
  Package Group:    214
  Rpm:              6713

Id:                  centos8-baseos
Display Name:        None
Description:         None
Content Unit Counts: 
  Distribution:        1
  Package Category:    4
  Package Environment: 3
  Package Group:       35
  Rpm:                 1675

Id:                  centos8-appstream
Display Name:        None
Description:         None
Content Unit Counts: 
  Distribution:        1
  Modulemd:            66
  Modulemd Defaults:   42
  Package Category:    5
  Package Environment: 4
  Package Group:       58
  Rpm:                 5359

Id:                  fedora30-updates
Display Name:        None
Description:         None
Content Unit Counts: 
  Drpm:                30
  Erratum:             3970
  Package Category:    15
  Package Environment: 17
  Package Group:       149
  Package Langpacks:   1
  Rpm:                 16235

Id:                  fedora31-updates
Display Name:        None
Description:         None
Content Unit Counts: 
  Drpm:                68
  Erratum:             4097
  Package Category:    15
  Package Environment: 18
  Package Group:       152
  Package Langpacks:   1
  Rpm:                 21337

Pulp 3

In [1]: Package.objects.count()                                                                                                                                                                                                               
Out[1]: 27109

In [2]: Pulp2Content.objects.count()                                                                                                                                                                                                          
Out[2]: 70383

In [3]: for repo in Repository.objects.all(): 
   ...:     lv = repo.latest_version() 
   ...:     print(f"{repo.name}: {lv.content.filter(pulp_type=Package.get_pulp_type()).count()}") 
   ...:                                                                                                                                                                                                                                       
fedora31-updates: 69
fedora30-updates: 3223
centos6: 6713
centos7: 10070
centos8-appstream: 5359
centos8-baseos: 1675

The Packages from the centos repositories are migrated properly, but not from the fedora repositories. On multiple migration re-runs the result is the same each time so it is deterministically wrong.

I think the fedora30 and 31 "release" repos are also migrated incorrectly though I don't have them synced at the moment to test. I tested them on a previous box and didn't record the measurements.


Related issues

Related to Migration Plugin - Issue #6469: exceptions encountered during migration run are not captured in a task CLOSED - CURRENTRELEASEdalleyActions

Also available in: Atom PDF