[Pulp-list] artifact creation using chunk upload of big package

Juan Cabrera juan.cabrera at unamur.be
Thu Jul 4 16:26:27 UTC 2019


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 at 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
juan.cabrera at unamur.be <mailto:juan.cabrera at unamur.be>
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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20190704/5c510ad4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jaimkghplaocjdbo.png
Type: image/png
Size: 9356 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20190704/5c510ad4/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-chunk.sh
Type: application/x-shellscript
Size: 1017 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20190704/5c510ad4/attachment.bin>


More information about the Pulp-list mailing list