The pulp upload API docs [1] explain that uploading a unit to a repo is
a 4 step process:

1. Make upload request
2. Upload the content (file)
3. Trigger importer(s), wait for their tasks to run
4. Delete upload request

The process interacting with pulp's API might be prone to errors in
steps 2 or 3, leaving unimported content behind on the server
(e.g. files under /var/lib/pulp/uploads/ ).

Is there any mechanism to periodically clean these up?

If there's nothing already, would it be fair to include this in the
scope of pulp or is it considered this should instead be handled externally?

[1] 
https://docs.pulpproject.org/dev-guide/integration/rest-api/content/upload.html

_______________________________________________
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to