Run following command twice in paralel: $ pulp-admin package upload <big-rpm> It will fail with: * Starting Package Upload operation. See /var/log/pulp/client.log for more verbose output * Performing Package Uploads to Pulp server error: operation failed: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/base.py", line 52, in report_error return method(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/services.py", line 144, in POST f.append(base64.b64decode(content)) File "/usr/lib/python2.7/site-packages/pulp/server/api/upload.py", line 172, in append raise UploadAlreadyFinished(self.md) UploadAlreadyFinished: (<rpm>) already finished, bad append()
Currently, we're trying to find a balance between making the upload of a specific file interruptable/resumable and tolerant of concurrent (parallel) upload attempts. In 0.140, pulp is completely intolerant to concurrent uploads of the same file. Basically, they stomp on each other as you notice here. This was the first pass. In 0.141, each upload of a specific file (unique by name and checksum) is considered a unique upload that is normalized when the uploaded file is imported. Meaning, that if the file has already been uploaded, it is not imported and no error is raised. However, if a user Ctrl^C out of pulp-admin, then decides to resume the upload on the same box, it will resume where it left off. Daniel, I'd like to schedule a meeting with you ASAP to make sure we understand your upload requirements.
Build: 0.143
verified [root@preethi ~]# rpm -q pulp pulp-0.0.173-1.fc14.noarch I tried parallel uploads and haven't encountered any error. So moving to verified
Closing with Community Release 15 pulp-0.0.223-4.