Bug 2173757
| Summary: | Can't rerun a failed content-import task if it was exported using chunks | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Joniel Pasqualetto <jpasqual> | |
| Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | |
| Status: | CLOSED ERRATA | QA Contact: | Vladimír Sedmík <vsedmik> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 6.12.1 | CC: | ahumbe, dalley, dkliban, ggainey, osousa, paji, rchan, sshewale, vsedmik | |
| Target Milestone: | 6.14.0 | Keywords: | PrioBumpGSS, Triaged | |
| Target Release: | Unused | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | pulpcore-3.22.6, pulpcore-3.21.9, pulpcore-3.18.19, pulpcore-3.16.19 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2218659 2227903 (view as bug list) | Environment: | ||
| Last Closed: | 2023-11-08 14:18:33 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: | ||||
|
Description
Joniel Pasqualetto
2023-02-27 21:43:56 UTC
Partha, Based upon the description, should this be on the Pulp component vs ISS ? Thanks! Yes this is pulp. The Pulp upstream bug status is at closed. Updating the external tracker on this bug. Verified in 6.14.0 snap 7 (python39-pulpcore-3.22.7-1.el8pc.noarch) Steps to verify: On export SAT: 1) Set immediate download policy, uploaded manifest. 2) Synced RH repo big enough to be chunked (RHEL8 baseos). 3) Exported complete Library using chunks: # hammer content-export complete library --organization-id 1 --chunk-size-gb 1 On import SAT: 1) Set immediate download policy, uploaded manifest, set "Export Sync" in CDN configuration. 2) Created import dir, copied the content from the export SAT, updated owner. # scp root@$EXP_SAT:/var/lib/pulp/exports/Default_Organization/Export-Library/1.0/$TIME/* /var/lib/pulp/imports/$TIME/ # chown -R pulp:pulp /var/lib/pulp/imports/$TIME/ 3) Started the import and once the chunks were gone (merged into single tar.gz), restarted the services: # hammer content-import library --organization="Default Organization" --path="/var/lib/pulp/imports/$TIME/" # foreman-maintain service restart 4) Started the import again and let it finish -> the task succeeded. 5) Checked that the imported content matched the export. *** Bug 2092008 has been marked as a duplicate of 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 (Important: Satellite 6.14 security and bug fix update), 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/RHSA-2023:6818 |