<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New"}
span.HTMLPreformattedChar
        {font-family:"Courier New"}
span.EmailStyle19
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.timestamp
        {}
span.EmailStyle21
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="SV" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello pulp users: </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">We are having some problems when uploading content to pulp using the pulp-admin CLI on pulp 2.3. The problem is that the upload command works asynchronously whenever the pulp is busy with the repository we are trying
 to upload to. </span></p>
<p class="MsoNormal"><span lang="EN-US">Here is an example of the problem:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">Command Line is: /usr/bin/pulp-admin --username admin --password **** puppet repo uploads upload --repo-id my-test-repo -d /tmp/pkgmgr_modules_6788470441478233886
</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] [0m+----------------------------------------------------------------------+</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO]                              
 Unit Upload</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] +----------------------------------------------------------------------+</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO]
</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Extracting necessary
 metadata for each request...</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] [93m[=========================                        
 ] 50%[0m</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Analyzing: test.tar.gz</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] [2A[J[92m[==================================================]
 100%[0m</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Analyzing: test2.tar.gz</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] ... completed</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO]
</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Creating upload
 requests on the server...</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] [93m[=========================                        
 ] 50%[0m</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Initializing: test.tar.gz</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] [2A[J[92m[==================================================]
 100%[0m</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Initializing: test2.tar.gz</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] ... completed</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO]
</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Starting upload
 of selected units. If this process is stopped through ctrl+c,</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] the uploads will
 be paused and may be resumed later using the resume command or</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] cancelled entirely
 using the cancel command.</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO]
</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Uploading: test.tar.gz</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] [92m[==================================================]
 100%[0m</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] 3790/3790 bytes</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] ... completed</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO]
</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Importing into
 the repository...</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Import postponed
 due to queued operations against the repository. The progress</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] of this import
 can be viewed in the repository tasks list.</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO]
</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] Uploading: test2.tar.gz</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] [92m[==================================================]
 100%[0m</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] 3792/3792 bytes</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO] ... completed</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:black"> [INFO]
</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:red">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:red"> [INFO] Importing into the
 repository...</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:red">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:red"> [INFO] Import postponed due
 to queued operations against the repository. The progress</span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:red">13:24:13</span></b><span lang="EN-US" style="font-size:8.5pt; font-family:"Courier New"; color:red"> [INFO] of this import can
 be viewed in the repository tasks list.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">We would like to have pulp-admin wait for the upload to be complete instead of just printing a warning when the import has been postponed.
</span></p>
<p class="MsoNormal"><span lang="EN-US">When looking at the code it seems like this has been fixed in the master branch:
</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Pulp 2.3 => <a href="https://github.com/pulp/pulp/blob/pulp-2.3/client_lib/pulp/client/commands/repo/upload.py">
https://github.com/pulp/pulp/blob/pulp-2.3/client_lib/pulp/client/commands/repo/upload.py</a></span></p>
<p class="MsoNormal">Master => <a href="https://github.com/pulp/pulp/blob/master/client_lib/pulp/client/commands/repo/upload.py">
https://github.com/pulp/pulp/blob/master/client_lib/pulp/client/commands/repo/upload.py</a></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span lang="EN-US">We would like to know if this is fixed in pulp 2.4 beta</span></b><span lang="EN-US"> to be able to decide if we have to implement this ourselves through the API or just roll out pulp 2.4 beta and check.
</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">BR </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Marco Tirado</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
</div>
<br>
<h4 style="padding:0px; margin-bottom:7px; font-family:arial,helvetica,sans-serif; font-size:12px">
Marco Tirado</h4>
<p style="padding:0px; margin-top:0px; font-family:arial,helvetica,sans-serif; font-weight:lighter; font-size:11px; color:#76ad1c">
Tools Engineer</p>
<p style="font-family:arial,helvetica,sans-serif; font-weight:lighter; font-size:11px">
Net Entertainment NE AB, Luntmakargatan 18, SE-111 37, Stockholm, SE <br>
T: , M: , F: +46 8 578 545 10 <br>
Marco.Tirado.ext@netent.com www.netent.com </p>
<p style="font-family:arial,helvetiva,sans-serif; color:#76ad1c; font-weight:bold">
Better Games</p>
<br>
<br>
<p style="font-family:arial,helvetica,sans-serif; font-weight:lighter; font-size:10px">
This email and the information it contains are confidential and may be legally privileged and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify me immediately. Please note
 that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure
 and, therefore, Net Entertainment does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. If you suspect the message may have been intercepted or amended please call me. Finally, the recipient
 should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Thank you.
</p>
</body>
</html>