-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
Unspecified
-
False
-
False
-
2 issues were reported today when trying to import
- Import not completing, no errors in import log
- Seem to be caused by a worker that was hung on a previous task, needed pulp-worker pods to be restarted
- Repo version dup key error
- Import log error: duplicate key value violates unique constraint "pulp_app_repositoryversion_repository_id_number_07cb5788_uniq" DETAIL: Key (repository_id, number)=(1, 13839) already exists
- Issue occurring here: https://github.com/ansible/galaxy/blob/fb9b6dcaa5a2df2b282078a38059c24c65a718a1/galaxy/worker/tasks/collection.py#L169 Possibly a simultaneous import occurred and the pulp Repository was not locked and it caused the import to fail.
Note: There have been many iterations to the pulp tasking system that we are not able to utilize since we are not using the galaxy_ng codebase, and those likely minimize the occurrence of issues like this.