Issue #7889
Updated by ipanova@redhat.com almost 4 years ago
Create plan and run:
```
{
"plan": {
"plugins": [
{
"repositories": [
{
"name": "file",
"pulp2_importer_repository_id": "file",
"repository_versions": [
{
"pulp2_distributor_repository_ids": [
"file2"
],
"pulp2_repository_id": "file"
}
]
},
{
"name": "file2",
"pulp2_importer_repository_id": "file2",
"repository_versions": [
{
"pulp2_distributor_repository_ids": [
"file-many"
],
"pulp2_repository_id": "file2"
}
]
}
],
"type": "iso"
}
]
},
```
Create another plan and run:
```
{
"plan": {
"plugins": [
{
"repositories": [
{
"name": "file",
"pulp2_importer_repository_id": "file",
"repository_versions": [
{
"pulp2_distributor_repository_ids": [
"file-many"
],
"pulp2_repository_id": "file"
}
]
},
{
"name": "file2",
"pulp2_importer_repository_id": "file2",
"repository_versions": [
{
"pulp2_distributor_repository_ids": [
"file-large"
],
"pulp2_repository_id": "file2"
}
]
}
],
"type": "iso"
}
]
},
```
`File2` repo will have 2 distributions displayed `file-large` and `file-many`. In addition there is a concern of hitting base_path collision because same distributor `file-many` has been used to distribute 2 different repos.
**NOTE**
Importers will suffer as well from correctness problem in case same importer will be used for 2 different repos in between the migration plans