Bug 1037700

Summary: katello-disconnected should throw more evident error if export is not successful
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: Inter Satellite SyncAssignee: Mike McCune <mmccune>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-08 18:23:31 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:

Description Corey Welton 2013-12-03 15:48:39 UTC
Description of problem:
When an export is not successful (for a variety of reasons), it's possible that the CLI does not clearly indicate a failure

Version-Release number of selected component (if applicable):
Satellite-6.0.2-RHEL-6-20131202.0


How reproducible:


Steps to Reproduce:
1.  Attempt to export into a location where there is not enough storage.
2.  View results
3.

Actual results:
 Archiving contents of /var/tmp/export into 4600M tar archives.
 NOTE: This may take a while.
split: /var/tmp/export/content-export-01: No space left on device

Done exporting content, please copy /var/tmp/export/* to your disconnected host


Expected results:
 Archiving contents of /var/tmp/export into 4600M tar archives.
 NOTE: This may take a while.
split: /var/tmp/export/content-export-01: No space left on device

ERROR: There was an issue exporting content.  Reason: $reason

^ This should be done for any detected issue exporting, really.

Additional info:

Comment 2 Corey Welton 2013-12-03 16:03:31 UTC
Another example of when an error should be thrown is if user hits ^C to cancel.

ERROR: There was an issue exporting content.  Reason: User cancelled export.

Comment 4 Bryan Kearney 2016-02-08 18:23:31 UTC
The katello-disconnected server synchronization and export functions are being moved into the Satellite server itself. With 6.2, the katello-disconnected command will no longer be delivered and instead will be replaced with a new export and import functions delivered via the UI and hammer CLI. This bug is being closed as "WONTFIX" since it relates only to the existing katello-disconnected tooling. Please check the Satellite docs with the release of Satellite 6.2 on how to use the new content export and import features.