[Pulp-list] Clean uploaded but not imported content

Rohan McGovern rmcgover at redhat.com
Mon Jul 11 02:18:54 UTC 2016


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




More information about the Pulp-list mailing list