Bug 1323730
| Summary: | [lazy sync] Exporting RHEL 7Server RPMs repository fails with BSON document too large | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Og Maciel <omaciel> | |
| Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | |
| Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.2.0 | CC: | bbuckingham, bmbouter, cduryee, daviddavis, dkliban, ehelms, ggainey, ipanova, mhrivnak, mmccune, pcreech, rchan, sjagtap, ttereshc, zhunting | |
| Target Milestone: | Unspecified | Keywords: | Triaged | |
| Target Release: | Unused | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | pulp-rpm-2.8.7.2-1 pulp-2.8.7.1-1 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1707778 (view as bug list) | Environment: | ||
| Last Closed: | 2016-10-26 12:25:49 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: | ||||
| Bug Blocks: | 1707778 | |||
|
Description
Og Maciel
2016-04-04 14:24:57 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug. The Pulp upstream bug status is at POST. Updating the external tracker on this bug. The Pulp upstream bug status is at NEW. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug. The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug. The Pulp upstream bug status is at POST. Updating the external tracker on this bug. The Pulp upstream bug priority is at High. Updating the external tracker on this bug. The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug. WORKAROUND: Configure the repositories being exported with a download policy of 'immediate'. Note: This is the policy used in the Satellite 6.2 Beta. The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug. The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug. The Pulp upstream bug status is at VERIFIED. Updating the external tracker on this bug. This is a lazy-sync related bug, moving to 6.2.z The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. Moving to POST as upstream fix is available. Build: Satellite 6.2.3 snap 2.0 Verification Steps: 1. Created a custom product and set the download policy to on-demand 2. Tried to export the product hammer> repository info --id 5 --organization-id 1 ID: 5 Name: The_product_repo Label: The_product_repo Organization: Default Organization Red Hat Repository: no Content Type: yum Checksum Type: sha256 URL: http://abc.redhat.com/pulp/repos/Sat6-CI/QA/Satellite_ RHEL7/custom/Red_Hat_Satellite_6_2_Composes/RHEL7_Satellite_x86_64_os/ Publish Via HTTP: yes Published At: http://xyz.redhat.com/pulp/repos/Default_Organization/ Library/custom/The_product/The_product_repo/ Relative Path: Default_Organization/Library/custom/The_product/The_ product_repo *Download Policy: on_demand* Product: ID: 7 Name: The_product GPG Key: Sync: Status: Success Last Sync Date: 1 minute Created: 2016/10/12 06:27:48 Updated: 2016/10/12 06:28:48 Content Counts: Packages: 302 Package Groups: 1 Errata: 0 hammer> repository export --id 5 [.......................... ] [37%] Error: PLP0046: The repository group cannot be exported because these repos have units that are not downloaded: Default_Organization-The_ product-The_product_repo The task has been started and then failed at 37% , as expected with proper error. Marking this to verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:2108 |