Upstream-pulp replication breaks links between distributions and repositories
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 47/100
Línea de trabajo
Start by tracing upstream-pulp replication for RPM distributions and inspect how replicated distributions are linked to repositories, repository versions, or publications. The report shows repository, repository_version, and publication are all null after replication, and a distribution update with --repository restores the link. Done means replication preserves a valid content link so the distribution serves content without a manual update.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Version
pulp core version: 3.121.3, rpm 3.39.1
Describe the bug
After a successful upstream-pulp replication, all website links show this error message:
404: Distribution is not pointing to a publication, repository, repository version, or remote.
Looking at the json configuration, I see that the distribution does not have the repository listed:
username@secondserver:~> pulp rpm distribution show --name rhel8.10-appstream-x86_64
{
"pulp_href": "/pulp/api/v3/distributions/rpm/rpm/01a18df1-6a59-71ad-a14a-b73d0cdbb6d5/",
"prn": "prn:rpm.rpmdistribution:01a18df1-6a59-71ad-a14a-b73d0cdbb6d5",
"pulp_created": "2026-10-30T17:52:51.292327Z",
"pulp_last_updated": "2026-10-30T17:52:51.292340Z",
"base_path": "rhel8.10-appstream-x86_64",
"base_url": "https://www.firstserver.com/pulp/content/rhel8.10-appstream-x86_64/",
"content_guard": null,
"content_guard_prn": null,
"no_content_change_since": null,
"hidden": false,
"pulp_labels": {
"UpstreamPulp": "01a18d18-3985-721d-b44c-33e3b12abf32"
},
"name": "rhel8.10-appstream-x86_64",
"repository": null,
"repository_version": null,
"publication": null,
"generate_repo_config": false,
"checkpoint": false
}
To Reproduce
Configure a working set of rpm repositories - remote, repository, distribution. Verify it all works. On another server ("www.secondserver.com"), configure upstream-pulp:
pulp upstream-pulp create --name qa-pulp --base-url "https://www.<firstserver>.com" --api-root pulp --policy all --username admin --password <password>.
Run replication: pulp upstream-pulp replicate --upstream-pulp qa-pulp
Wait for replication to complete. Then test the website (www.secondserver.com/pulp/content). Verify you see all distributions from the first server, however, clicking on each one produces the above 404 error message.
Expected behavior
All repositories should replicate and work right after the replication command.
Additional context
It's very easy to fix - all it takes is one command on the second (target / destination) server to reestablish the link between distributions and repositories:
pulp rpm distribution update --name rhel8.10-baseos-x86_64 --repository rhel8.10-baseos-x86_64
However, each next upstream-pulp replicate run breaks the links again, so the links have to be reestablished.
- Lenguaje dominante
- Python
- Estrellas
- 641
- Forks
- 178
- Merge medio
- 17 h 36 min
- PR fusionados (30 d)
- 76
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pulp/pulpcore
-
Content cache ignores the query string, so one path serves the response cached for another queryAbiertoTriage-Needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Reclaim Space Server ErrorAbiertoIssue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
pulp/pulpcore#5802 · 10 comentarios ·
Los mantenedores suelen responder en 1 día
-
Creating a repository version from a large base_version uses excessive memory (can OOM the worker)Posiblemente ocupada @dkliban la tomó hoy. AbiertoIssue Triage-Needed
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
Los mantenedores suelen responder en 1 día
-
Feature Triage-Needed
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
Todos los issues de pulp/pulpcore
Issues similares
-
Triage-Needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pulp/pulp-oci-images#875 ·
-
intake mcp-intake needs-human-review priority:high type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Ikalus1988/MisakaNet#5718 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
facebookresearch/autoform-bot#872 ·
Los mantenedores suelen responder en 1 día
-
Dataset.to_json() writes "Value": [] for an empty sequencePosiblemente ocupada @DG47 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
area: docs area: providers/oci priority: p3 size: S type: documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
finos/open-resource-broker#933 ·
Los mantenedores suelen responder en 1 día