<div dir="ltr">Hi,<div><br></div><div>Before I dive into the code, could someone help me with an answer to this question:</div><div><br></div><div>Reading <a href="https://pulp.readthedocs.org/en/2.7-release/dev-guide/integration/rest-api/content/upload.html#creating-an-upload-request">https://pulp.readthedocs.org/en/2.7-release/dev-guide/integration/rest-api/content/upload.html#creating-an-upload-request</a></div><div><br></div><div>I have assumed that the workflow would be:</div><div><br></div><div>* create upload request</div><div>* upload bits</div><div>* import into ONE OR MORE repositories</div><div>* delete upload request</div><div><br></div><div>However, in my tests, if I try to upload to two different repositories, the second one fails, with the task reporting:</div><div><br></div><div><div>(Epdb) task['result']</div><div>{u'details': {u'errors': [u'unexpected error occurred importing uploaded file']}, u'success_flag': False, u'summary': u''}</div></div><div><br></div><div>I also just noticed in the syslog an error:</div><div><br></div><div><div>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'</div></div><div><br></div><div><br></div><div>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?</div><div><br></div><div>Mihai<br></div><div><br></div><div><div>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.</div><div><br></div></div></div>