Bug 1037700 - katello-disconnected should throw more evident error if export is not successful
Summary: katello-disconnected should throw more evident error if export is not successful
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-03 15:48 UTC by Corey Welton
Modified: 2016-02-08 18:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-08 18:23:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.