Project

Profile

Help

Issue #7080

Updated by ttereshc over 3 years ago

To reproduce: 
  1.    in pulp 2 sync a repo with a distribution tree in it 
  2. migrate this repository to pulp 3 
  3. remove pulp 2 repo and create update feed on the same again and sync repository/importer, so the url is different but it points to the exact same content (distribution tree) 
  4. migrate the same repo again 

 You'll observe error similar to #6949. 

 Even thought the content has already been migrated before, the list of image_paths is needed to migrate new LCEs. 
 The spot is [here](https://github.com/pulp/pulp-2to3-migration/blob/57e729d45b0cde3c085cfbc4593dc49a01f77c43/pulp_2to3_migration/app/plugin/content.py#L248), however the goal is to skip content model instantiation as much as possible not to affect performance.  

Back