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: | Chris Roberts <chrobert> |
Status: | CLOSED MIGRATED | QA Contact: | Vladimír Sedmík <vsedmik> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.13.0 | CC: | chrobert, iballou, jlenz, ofedoren, rlavi |
Target Milestone: | stream | Keywords: | MigratedToJIRA, Triaged, UserExperience |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
URL: | https://projects.theforeman.org/issues/36977 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-06-06 16:08: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: |
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. Verified in stream snap 49.0 (future 6.16.0) following steps from comment#0 and comment#1: [root@satellite ~]# hammer content-export incremental version --format syncable --organization-id 1 --id 4 Could not export the content view version: Cannot incrementally export from a filtered and a non-filtered content view version. The exported content view version 'CV-1 3.0' cannot be incrementally updated from version '2.0.'. Please do a full export. [root@satellite ~]# hammer content-export incremental repository --format syncable --organization-id 1 --id 6 Could not export the repository: Unable to incrementally export. Do a Full Export on the repository content. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |