Bug 2172845
| Summary: | Hammer is not propagating error message from production log when content-export fails | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Vladimír Sedmík <vsedmik> |
| Component: | Inter Satellite Sync | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | NEW --- | QA Contact: | Satellite QE Team <sat-qe-bz-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.13.0 | CC: | jlenz, ofedoren |
| Target Milestone: | Unspecified | Keywords: | Triaged, UserExperience |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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
Vladimír Sedmík
2023-02-23 09:56:41 UTC
Similar result for different scenario: 1) Create new repo, add content, export complete importable format: hammer content-export complete repository --format importable --organization-id 1 --id <repo_id> 2) Check the export path -> tar.gz exported 3) Upload one rpm. 4) Export incremental syncable format: hammer content-export incremental repository --format syncable --organization-id 1 --id <repo_id> Actual results: [root@sat ~]# hammer content-export incremental repository --format syncable --organization-id 1 --id 80 Could not export the repository: 400 Bad Request production log: 2023-02-23T05:25:37 [E|app|63206f2c] Katello::HttpErrors::BadRequest: Unable to incrementally export. Do a Full Export on the repository content. Expected results: [root@sat ~]# hammer content-export incremental repository --format syncable --organization-id 1 --id 80 Could not export the repository: Unable to incrementally export. Do a Full Export on the repository content. |