Bug 1177627 - pulp- Publishing a repo throws error on first run after publish
Summary: pulp- Publishing a repo throws error on first run after publish
Keywords:
Status: CLOSED DUPLICATE of bug 1176698
Alias: None
Product: Pulp
Classification: Retired
Component: API/integration
Version: 2.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-29 13:54 UTC by vijaykumar.jain
Modified: 2015-01-02 14:39 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-02 14:39:35 UTC
Embargoed:


Attachments (Terms of Use)

Description vijaykumar.jain 2014-12-29 13:54:04 UTC
Description of problem: Publishing a repo throws error on first run after a package has been deleted from it. Rerun runs fine.


Version-Release number of selected component (if applicable):2.5.1


How reproducible:


Steps to Reproduce:
1. remove package from repo [/usr/bin/pulp-admin -u admin -p admin rpm repo remove rpm --repo-id pulp-2.5.1 --str-eq='filename=nmr-pulp-2.5.1-1.x86_64.rpm']
2. clear orphans: [/usr/bin/pulp-admin -u admin -p admin  orphan remove --all]
3. publish repo: [/usr/bin/pulp-admin -u admin rpm repo publish run --repo-id pulp-2.5.1]

Actual results:
+----------------------------------------------------------------------+
                   Publishing Repository [pulp-2.5.1]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.


Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[===                                               ] 6%
6 of 89 items
... failed
Incorrect length of data produced


Task Failed

Incorrect length of data produced

-----------------------------------------------------------------------------

Expected results:
+----------------------------------------------------------------------+
                   Publishing Repository [pulp-2.5.1]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.


Copying files
[-]
... completed

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[-]
... completed

Publishing Delta RPMs
... skipped

Publishing Errata
[-]
... completed

Publishing Comps file
[==================================================] 100%
7 of 7 items
... completed

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
... skipped

Publishing files to web
[-]
... completed

Writing Listings File
[-]
... completed


Task Succeeded


Additional info:
not sure if delay has got anything to do here, but we did run publish after 10s but got the same error.

Comment 1 Michael Hrivnak 2015-01-02 14:39:35 UTC

*** This bug has been marked as a duplicate of bug 1176698 ***


Note You need to log in before you can comment on or make changes to this bug.