<div dir="ltr"><div>Hi,</div><div><br></div><div>I am trying to create custom repo and trying to upload rpm for testing purpose.</div><div><br></div><div>However repo and upload is fine.But when I run publish command I am getting error</div><div><br></div><div># pulp-admin rpm repo create --repo-id custom_repo1 --relative-url=custom/repo1/ --serve-http true<br># pulp-admin rpm repo uploads rpm --repo-id custom_repo1 --file=/tmp/zip-3.0-1.el6.x86_64.rpm<br> # pulp-admin rpm repo publish run --repo-id=custom_repo1<br></div><div><br></div><div>I am getting the below error</div><div><br></div><div>Incorrect length of data produced</div><div><br>Task Failed</div><div>Incorrect length of data produced</div><div><br></div><div><strong>*************************************************************Command Output***************************************</strong><br></div><div>[root@server1]# pulp-admin rpm repo create --repo-id custom_repo1 --relative-url=custom/repo1/ --serve-http true</div><div><br>Successfully created repository [custom_repo1]</div><div><br></div><div>------------------------------------------------------------------------------------------------------------------------------------------------------------------</div><p>[root@server1]# pulp-admin rpm repo uploads rpm --repo-id custom_repo1 --file=/tmp/zip-3.0-1.el6.x86_64.rpm<br>+----------------------------------------------------------------------+<br>                              Unit Upload<br>+----------------------------------------------------------------------+</p><p>Extracting necessary metadata for each request...<br>[==================================================] 100%<br>Analyzing: zip-3.0-1.el6.x86_64.rpm<br>... completed</p><p>Creating upload requests on the server...<br>[==================================================] 100%<br>Initializing: zip-3.0-1.el6.x86_64.rpm<br>... completed</p><p>Starting upload of selected units. If this process is stopped through ctrl+c,<br>the uploads will be paused and may be resumed later using the resume command or<br>cancelled entirely using the cancel command.</p><p>Uploading: zip-3.0-1.el6.x86_64.rpm<br>[==================================================] 100%<br>265860/265860 bytes<br>... completed</p><p>Importing into the repository...<br>This command may be exited via ctrl+c without affecting the request.</p><p><br>[\]<br>Running...</p><p>Task Succeeded</p><div><br>Deleting the upload request...<br>... completed</div><div><br></div><div>------------------------------------------------------------------------------------------------------------------------------------------------------------------</div><div><br></div><p>[root@server1]# pulp-admin rpm repo publish run --repo-id=custom_repo1<br>+----------------------------------------------------------------------+<br>                  Publishing Repository [custom_repo1]<br>+----------------------------------------------------------------------+</p><p>This command may be exited via ctrl+c without affecting the request.</p><p><br>Initializing repo metadata<br>[-]<br>... completed</p><p>Publishing Distribution files<br>[-]<br>... completed</p><p>Publishing RPMs<br>[-]<br>... failed<br>Incorrect length of data produced</p><p><br>Task Failed</p><div>Incorrect length of data produced</div><div><br></div><div>------------------------------------------------------------------------------------------------------------------------------------------------------------------</div><div><br></div><div>Please help me why I am unable to publish after uploaded custom rpm's</div><div><br></div><div>Thanks,</div><div>BVIJAY<br></div></div>