<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I was testing the upload with chunk. I made a little script to
      upload in chunks (see attachment)<br>
    </p>
    <p>It works if I do</p>
    <p>
    </p>
    <pre><span></span>curl -O <a class="moz-txt-link-freetext" href="https://repos.fedorapeople.org/repos/pulp/pulp/fixtures/file-large/1.iso">https://repos.fedorapeople.org/repos/pulp/pulp/fixtures/file-large/1.iso</a>
./test-chunk.sh 1.iso</pre>
    <p>But with a 5.4G package the upload is completed but the artifact
      can not be created.</p>
    <p>I get:</p>
    <p><tt>Creating artifact</tt><tt><br>
      </tt><tt>HTTP/1.1 500 Internal Server Error</tt><tt><br>
      </tt><tt>Connection: close</tt><tt><br>
      </tt><tt>Content-Length: 27</tt><tt><br>
      </tt><tt>Content-Type: text/html</tt><tt><br>
      </tt><tt>Date: Thu, 04 Jul 2019 15:55:03 GMT</tt><tt><br>
      </tt><tt>Server: gunicorn/19.9.0</tt><tt><br>
      </tt><tt>Vary: Cookie</tt><tt><br>
      </tt><tt>X-Frame-Options: SAMEORIGIN</tt><tt><br>
      </tt><tt><br>
      </tt><tt><h1>Server Error (500)</h1></tt><tt><br>
      </tt><br>
      In <tt>/var/lib/pulp/upload/</tt> path  in the pulp server, I see
      the file with the correct size and sha256 value<br>
    </p>
    <p><tt>ls -l</tt></p>
    <p><tt>-rw-r--r--. 1 pulp pulp 5782786278 Jul  4 17:54
        ceac3841-925a-4eff-88de-b9ad9d6d206b</tt></p>
    <p>And trying the command, I get the error again</p>
    <p><tt>[vagrant@dev-pulp-client scripts]$ http POST
        $PORT/pulp/api/v3/artifacts/
        upload=/pulp/api/v3/uploads/ceac3841-925a-4eff-88de-b9ad9d6d206b/</tt><tt><br>
      </tt><tt>HTTP/1.1 500 Internal Server Error</tt><tt><br>
      </tt><tt>Connection: close</tt><tt><br>
      </tt><tt>Content-Length: 27</tt><tt><br>
      </tt><tt>Content-Type: text/html</tt><tt><br>
      </tt><tt>Date: Thu, 04 Jul 2019 15:57:35 GMT</tt><tt><br>
      </tt><tt>Server: gunicorn/19.9.0</tt><tt><br>
      </tt><tt>Vary: Cookie</tt><tt><br>
      </tt><tt>X-Frame-Options: SAMEORIGIN</tt><tt><br>
      </tt><tt><br>
      </tt><tt><h1>Server Error (500)</h1></tt><br>
    </p>
    <p>Is there a limitation in the artifact size ?</p>
    <p>Another question. Is it normal that deleting the UPLOAD the file
      in <tt>/var/lib/pulp/upload/</tt> is not deleted ?<br>
    </p>
    <p>Regards</p>
    <p>Juan<br>
    </p>
    <div class="moz-signature"><br>
    </div>
    <div class="moz-signature">-- <br>
      <div style="font-family: Verdana, Helvetica, Arial, sans-serif;
        font-size: 8pt; font-weight: normal; color: #616365;"> <img
          src="cid:part1.36BEC48C.40D6ECB2@unamur.be" style="display:
          block; margin: 1em 0em;">
        <p style="margin: 1em;"> <span style="font-weight: bold;">Juan
            CABRERA</span><br>
          <span style="color: #69BE28;">Correspondant informatique</span><br>
          <span>Département de Mathématiques</span> </p>
        <p style="margin: 1em;">
          <span style="font-weight: bold;">T.</span> 081724919<br>
          <a style="color: #69BE28;"
            href="mailto:juan.cabrera@unamur.be">juan.cabrera@unamur.be</a><br>
          <a style="color: #69BE28;"
            href="http://staff.unamur.be/jbcabrer">http://staff.unamur.be/jbcabrer</a>
        </p>
        <p style="margin: 1em;"> <span style="font-weight: bold;
            font-size: 8pt;">Université de Namur ASBL</span><br>
          <span>Rue de Bruxelles 61 - 5000 Namur</span><br>
          <span>Belgique</span><br>
        </p>
        <p style="margin: 1em; font-size: 6pt; color: #69BE28;"> <span>Let’s
            respect the environment together.</span><br>
          <span style="font-weight: bold;">Only print this message if
            necessary!</span><br>
        </p>
      </div>
    </div>
  </body>
</html>