Bug 1185367
| Summary: | rpm repo publish fails with "Incorrect length of data produced" error | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | z_other | Assignee: | pulp-bugs |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | pulp-qe-list |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.5 | CC: | bcourt, bryce.pier, cduryee, dhaval.joshi, igulina, jiri.tyr, mhrivnak, pthomas, skarmark, vijaykumar.jain |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 2.5.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1176698 | Environment: | |
| Last Closed: | 2015-01-31 04:17:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1176698 | ||
| Bug Blocks: | 1138475 | ||
|
Description
Preethi Thomas
2015-01-23 14:31:55 UTC
Moving to on-qa since its already in a beta build. verified
[root@gizmo ~]# rpm -qa pulp-server
pulp-server-2.5.3-0.1.beta.el6.noarch
[root@gizmo ~]
[root@gizmo ~]#
[root@gizmo ~]# pulp-admin rpm repo sync run --repo-id epel6_1
+----------------------------------------------------------------------+
Synchronizing Repository [epel6_1]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[|]
... completed
Downloading repository content...
[==================================================] 100%
RPMs: 11189/11189 items
Delta RPMs: 0/0 items
... completed
Individual package errors encountered during sync:
An unexpected error has occurred. More information can be found in the client
log file ~/.pulp/admin.log.
[root@gizmo ~]# pulp-admin rpm repo sync run --repo-id epel6_1
+----------------------------------------------------------------------+
Synchronizing Repository [epel6_1]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[|]
... completed
Downloading repository content...
[==================================================] 100%
RPMs: 1/1 items
Delta RPMs: 0/0 items
... completed
Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed
Importing errata...
[-]
... completed
Importing package groups/categories...
[\]
... completed
Task Succeeded
Copying files
[\]
... completed
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[-]
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[==================================================] 100%
3639 of 3639 items
... completed
Publishing Comps file
[==================================================] 100%
211 of 211 items
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Publishing files to web
[/]
... completed
Writing Listings File
[-]
... completed
Task Succeeded
[root@gizmo ~]# pulp-admin rpm repo create --repo-id epel5 --feed http://mirror.us.leaseweb.net/epel/5/x86_64/ --serve-http true
Successfully created repository [epel5]
[root@gizmo ~]#
[root@gizmo ~]#
[root@gizmo ~]# pulp-admin rpm repo sync run --repo-id epel5
+----------------------------------------------------------------------+
Synchronizing Repository [epel5]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[\]
... completed
Downloading repository content...
[==================================================] 100%
RPMs: 6848/6848 items
Delta RPMs: 0/0 items
... completed
Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed
Importing errata...
[\]
... completed
Importing package groups/categories...
[-]
... completed
Task Succeeded
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[==================================================] 100%
6848 of 6848 items
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[==================================================] 100%
1998 of 1998 items
... completed
Publishing Comps file
[==================================================] 100%
41 of 41 items
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Publishing files to web
[\]
... completed
Writing Listings File
[-]
... completed
Task Succeeded
[root@gizmo ~]# pulp-admin rpm repo create --repo-id epel5-copySuccessfully created repository [epel5-copy]
[root@gizmo ~]#
[root@gizmo ~]#
[root@gizmo ~]#
[root@gizmo ~]# pulp-admin rpm repo copy
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
Description: copies one or more content units between repositories
Available Commands:
all - copy all content units from one repository to another
category - copy package categories from one repository to another
distribution - copy distributions from one repository to another
environment - copy package environment from one repository to another
errata - copy errata from one repository to another
group - copy package groups from one repository to another
rpm - copy RPMs from one repository to another
srpm - copy SRPMs from one repository to another
[root@gizmo ~]# pulp-admin rpm repo copy all -f epel5 -t epel5-copy
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Copied:
package_group: 36
package_category: 5
rpm: 6848
yum_repo_metadata_file: 1
erratum: 1998
[root@gizmo ~]# pulp-admin rpm repo publish run --repo-id epel5-copy
+----------------------------------------------------------------------+
Publishing Repository [epel5-copy]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[==================================================] 100%
6848 of 6848 items
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[==================================================] 100%
1998 of 1998 items
... completed
Publishing Comps file
[==================================================] 100%
41 of 41 items
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Publishing files to web
[|]
... completed
Writing Listings File
[-]
... completed
Task Succeeded
[root@gizmo ~]#
[root@gizmo ~]#
[root@gizmo ~]# pulp-admin rpm repo create --repo-id upload
Successfully created repository [upload]
[root@gizmo ~]#
[root@gizmo ~]#
[root@gizmo ~]# pulp-admin rpm repo uploads rpm --repo-id upload --dir upload/ -v
+----------------------------------------------------------------------+
Unit Upload
+----------------------------------------------------------------------+
No files selected for upload
[root@gizmo ~]#
[root@gizmo ~]#
[root@gizmo ~]#
[root@gizmo ~]#
[root@gizmo ~]# pulp-admin rpm repo uploads rpm --repo-id upload --dir upload/ -v
+----------------------------------------------------------------------+
Unit Upload
+----------------------------------------------------------------------+
Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: gmp-4.3.1-7.el6_2.2.x86_64.rpm
... completed
Files to be uploaded:
kde-i18n-Hungarian-3.5.10-11.el6.noarch.rpm
xorg-x11-drv-cirrus-1.5.2-2.el6.x86_64.rpm
GConf2-2.28.0-6.el6.i686.rpm
zd1211-firmware-1.4-4.el6.noarch.rpm
festival-1.96-18.el6.x86_64.rpm
texlive-texmf-errata-2007-7.1.el6.noarch.rpm
krb5-libs-1.10.3-33.el6.i686.rpm
libXxf86dga-1.1.4-2.1.el6.x86_64.rpm
gmp-4.3.1-7.el6_2.2.x86_64.rpm
Creating upload requests on the server...
[==================================================] 100%
Initializing: gmp-4.3.1-7.el6_2.2.x86_64.rpm
... completed
Starting upload of selected units. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
cancelled entirely using the cancel command.
Uploading: kde-i18n-Hungarian-3.5.10-11.el6.noarch.rpm
[==================================================] 100%
1058680/1058680 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
Uploading: xorg-x11-drv-cirrus-1.5.2-2.el6.x86_64.rpm
[==================================================] 100%
34960/34960 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
Uploading: GConf2-2.28.0-6.el6.i686.rpm
[==================================================] 100%
984340/984340 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
Uploading: zd1211-firmware-1.4-4.el6.noarch.rpm
[==================================================] 100%
22664/22664 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
Uploading: festival-1.96-18.el6.x86_64.rpm
[==================================================] 100%
1421920/1421920 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
Uploading: texlive-texmf-errata-2007-7.1.el6.noarch.rpm
[==================================================] 100%
5328/5328 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
Uploading: krb5-libs-1.10.3-33.el6.i686.rpm
[==================================================] 100%
791164/791164 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
Uploading: libXxf86dga-1.1.4-2.1.el6.x86_64.rpm
[==================================================] 100%
18440/18440 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
Uploading: gmp-4.3.1-7.el6_2.2.x86_64.rpm
[==================================================] 100%
211560/211560 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
[root@gizmo ~]# pulp-admin rpm repo publish run --repo-id upload
+----------------------------------------------------------------------+
Publishing Repository [upload]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[==================================================] 100%
9 of 9 items
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[-]
... completed
Publishing Comps file
[-]
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Publishing files to web
[-]
... completed
Writing Listings File
[-]
... completed
|