Bug 1326852
Summary: | Incremental repo import from exported CV contents is not updating the packages nor throwing any error. | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jitendra Yejare <jyejare> | |
Component: | Content Management | Assignee: | Chris Duryee <cduryee> | |
Status: | CLOSED ERRATA | QA Contact: | Jitendra Yejare <jyejare> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.2.0 | CC: | bbuckingham, bmbouter, cduryee, daviddavis, dkliban, ehelms, ggainey, ggatward, ipanova, jcallaha, mhrivnak, mmccune, pcreech, rchan, ttereshc | |
Target Milestone: | Unspecified | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | pulp-rpm-2.8.3.1-1 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1332616 (view as bug list) | Environment: | ||
Last Closed: | 2016-07-27 11:26:10 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: | 1314299 | |||
Bug Blocks: | 1332616 |
Description
Jitendra Yejare
2016-04-13 14:33:16 UTC
moving to GA target, the work required to finish this is too much to get done before beta goes out. Users will need to only use full exports for Beta and use incremental after GA. To give more detail, the current incremental import is slow and causes a number of strange issues. I can rewrite the incremental export so that it's in the same format as the full export. This avoids needing special code for incremental import and should speed it up significantly. It will also allow use of http for incremental import. This issue is also reproducible in case of exported as ISO and imported from this ISO contents. So need to look into this as well. BETA WORKAROUND NOTE: There are a handful of bugs related to incremental import of repositories which are being addressed for GA. I believe the workaround for this bug is to ensure the exported incremental repo has a small (less than 100) number of packages. The incremental export/import mechanism is being reworked for GA, which will resolve these bugs. Upstream bug component is Content Management *** Bug 1332616 has been marked as a duplicate of this bug. *** The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. @Chris, Please update the steps changed for incremental import of cv in GA to repro this issue. Thanks, Jitendra It should work the same from a user perspective. You should be able to still use "file:///" if you want, but "http" will also work now. Note though that for CV export, the incremental will only work as expected if you are exporting the Default Organization View (typically this is CV with id #1). If you use a published CV version, there is no incremental change to update. For example, if you publish version #1 of a CV, then version #2, the #2 CVV will have an entirely new set of repos, so there's no incremental change in #2. Verified ! @ Sat 6.2 GA Snap 17 Steps Followed: 1. Exported full RH and custom repo and imported full 2. Added some RPM's to both repos. 3. Incrementally export and imported the repos with newly updated rpms. Result: # hammer repository synchronize --id 1 --incremental 1 --source-url http://qeblade36.rhq.lab.eng.bos.redhat.com/pub/rhel_incre/ [.........................................................................................................................................................................................................] [100%] New packages: 2 (5.53 KB). # hammer repository synchronize --id 2 --incremental 1 --source-url http://qeblade36.rhq.lab.eng.bos.redhat.com/pub/cust_incre/ [.........................................................................................................................................................................................................] [100%] New packages: 2 (5.56 KB). So moving this to Verified ! The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. 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:1501 |