Hi,

I was testing the upload with chunk. I made a little script to upload in
chunks (see attachment)

It works if I do

curl -O https://repos.fedorapeople.org/repos/pulp/pulp/fixtures/file-large/1.iso
./test-chunk.sh 1.iso

But with a 5.4G package the upload is completed but the artifact can not
be created.

I get:

Creating artifact
HTTP/1.1 500 Internal Server Error
Connection: close
Content-Length: 27
Content-Type: text/html
Date: Thu, 04 Jul 2019 15:55:03 GMT
Server: gunicorn/19.9.0
Vary: Cookie
X-Frame-Options: SAMEORIGIN

<h1>Server Error (500)</h1>

In /var/lib/pulp/upload/ path  in the pulp server, I see the file with
the correct size and sha256 value

ls -l

-rw-r--r--. 1 pulp pulp 5782786278 Jul  4 17:54
ceac3841-925a-4eff-88de-b9ad9d6d206b

And trying the command, I get the error again

[vagrant@dev-pulp-client scripts]$ http POST
$PORT/pulp/api/v3/artifacts/
upload=/pulp/api/v3/uploads/ceac3841-925a-4eff-88de-b9ad9d6d206b/
HTTP/1.1 500 Internal Server Error
Connection: close
Content-Length: 27
Content-Type: text/html
Date: Thu, 04 Jul 2019 15:57:35 GMT
Server: gunicorn/19.9.0
Vary: Cookie
X-Frame-Options: SAMEORIGIN

<h1>Server Error (500)</h1>

Is there a limitation in the artifact size ?

Another question. Is it normal that deleting the UPLOAD the file in
/var/lib/pulp/upload/ is not deleted ?

Regards

Juan


-- 

Juan CABRERA
Correspondant informatique
Département de Mathématiques

T. 081724919
[email protected] <mailto:[email protected]>
http://staff.unamur.be/jbcabrer

Université de Namur ASBL
Rue de Bruxelles 61 - 5000 Namur
Belgique

Let’s respect the environment together.
Only print this message if necessary!

Attachment: test-chunk.sh
Description: application/shellscript

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to