Sync doesn't create RemoteArtifacts
It's expected that content even sync'd with immediate will have a RemoteArtifact created for it. It seems pulp_ansible (tested at commit dba80be7048c946dc9a4d631410c85e7b3e315bc) does not.
- Use pulp_ansible at commit dba80be7048c946dc9a4d631410c85e7b3e315bc
- Sync basic content using a functional test:
pytest -v -r sx --color=yes --pyargs pulp_ansible.tests.functional.api.collection.v2.test_sync::SyncTestCase::test_sync_simple_collections_file.
- Go into
- Observe that there are RemoteArtifact objects created with:
In : RemoteArtifact.objects.count() Out: 0
- Observe that the Artifact and ContentArtifact are created successful, but no corresponding RemoteArtifact.
In : Artifact.objects.count() Out: 1 In : a = Artifact.objects.first() In : a.content_memberships.count() Out: 1 In : ca = a.content_memberships.first() In : ca.remoteartifact_set.count() Out: 0
Why does this matter?¶
If content becomes corrupted for example, the
repair command or the
handle-content-checksums command won't be able to automatically re-download content.
Please register to edit this issue