Bug 1145424 - [RFE] expand_export.sh script should remove exported directories to avoid double space.
Summary: [RFE] expand_export.sh script should remove exported directories to avoid dou...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-23 04:15 UTC by Neha
Modified: 2016-08-15 02:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-08 18:24:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Neha 2014-09-23 04:15:05 UTC
While importing content to a disconnected satellite server expand_export.sh script is just expanding exported content. 

cat expand_export.sh 
#!/bin/bash

cat content-export-* | tar xzpf -

echo "*** Done expanding archives. ***"

it should remove exported directories at the end. 

Its consuming double space. Suppose if you are exporting rhel 6.5 rpm+kickstart (25 G), after running this script it will consume 50+ G on satellite. For syncing we just need content folder (http://repo-host/content) 

https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.0/html/Installation_Guide/Importing_Content_to_the_Disconnected_Satellite_Server.html

Comment 1 RHEL Program Management 2014-09-23 04:23:27 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Bryan Kearney 2016-02-08 18:24:01 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.