Hi, Before I dive into the code, could someone help me with an answer to this question:
Reading https://pulp.readthedocs.org/en/2.7-release/dev-guide/integration/rest-api/content/upload.html#creating-an-upload-request I have assumed that the workflow would be: * create upload request * upload bits * import into ONE OR MORE repositories * delete upload request However, in my tests, if I try to upload to two different repositories, the second one fails, with the task reporting: (Epdb) task['result'] {u'details': {u'errors': [u'unexpected error occurred importing uploaded file']}, u'success_flag': False, u'summary': u''} I also just noticed in the syslog an error: pulp_rpm.plugins.importers.yum.upload:ERROR: (8441-68800) OSError: [Errno 2] No such file or directory: '/var/lib/pulp/uploads/b103085d-4072-4900-8012-00280d832e48' So, could the documentation make it clear that the upload request can only be used once, now that I just convinced myself I'm using the tool wrong? Mihai PS In a sense, this is disappointing; I don't want to pay the cost of uploading the bits twice, just because I want them in two different repositories. While I understand I could *copy* content between the two repos, but it wasn't immediately obvious either.
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
