pulp [6d492bea6004460d9a0733b4c7423a13]: pulpcore.tasking.pulpcore_worker:INFO: Task 70149342-6894-4f86-a7cd-eda5a75cb75f failed (("Cannot delete some instances of model 'RepositoryVersion' because they are referenced through restricted foreign keys: 'RepositoryContent.version_added'.", {})) pulp [6d492bea6004460d9a0733b4c7423a13]: pulpcore.tasking.pulpcore_worker:INFO: File "/usr/local/lib/python3.8/site-packages/pulpcore/tasking/pulpcore_worker.py", line 458, in _perform_task result = func(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/galaxy_ng/app/tasks/publishing.py", line 62, in import_to_staging repo = _upload_collection(**kwargs) File "/usr/local/lib/python3.8/site-packages/galaxy_ng/app/tasks/publishing.py", line 49, in _upload_collection general_create(*general_args, **kwargs) File "/usr/local/lib/python3.8/site-packages/pulpcore/app/tasks/base.py", line 38, in general_create instance = serializer.save() File "/usr/local/lib/python3.8/site-packages/rest_framework/serializers.py", line 212, in save self.instance = self.create(validated_data) File "/usr/local/lib/python3.8/site-packages/pulp_ansible/app/serializers.py", line 515, in create content = super().create(validated_data) File "/usr/local/lib/python3.8/site-packages/pulpcore/plugin/serializers/content.py", line 164, in create result = super().create(validated_data) File "/usr/local/lib/python3.8/site-packages/pulpcore/plugin/serializers/content.py", line 57, in create with repository.new_version() as new_version: File "/usr/local/lib/python3.8/site-packages/pulpcore/app/models/repository.py", line 146, in new_version latest_version.delete() File "/usr/local/lib/python3.8/site-packages/pulpcore/app/models/repository.py", line 1025, in delete super().delete(**kwargs) File "/usr/lib64/python3.8/contextlib.py", line 75, in inner return func(*args, **kwds) File "/usr/local/lib/python3.8/site-packages/django_lifecycle/mixins.py", line 182, in delete value = super().delete(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/django/db/models/base.py", line 966, in delete collector.collect([self], keep_parents=keep_parents) File "/usr/local/lib/python3.8/site-packages/django/db/models/deletion.py", line 336, in collect raise RestrictedError(