Bug 1300046 - [Docs] Syncing images/isos for disconnected requires post-processing
Summary: [Docs] Syncing images/isos for disconnected requires post-processing
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: doc-Installation_Guide
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ga
: 1.0
Assignee: rhci-docs
QA Contact: Dave Johnson
URL:
Whiteboard:
: 1300045 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-19 20:08 UTC by Jesus M. Rodriguez
Modified: 2017-04-03 05:52 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-03 05:52:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
script to fix export (2.40 KB, text/plain)
2016-01-19 20:11 UTC, Jesus M. Rodriguez
no flags Details

Description Jesus M. Rodriguez 2016-01-19 20:08:12 UTC
Customers will follow the instructions for setting a synchronization host for synchronizing content for a Disconnected Satellite.

https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.0/html/User_Guide/sect-Disconnected_Satellite.html

Unfortunately, pulp (the backing server hosting the content) does not export ISO/images to a directory structure friendly for use by RHCI as a CDN. The ISO/images are put in a top directory cf-me-5_4-for-rhel-6-files--x86_64/ instead of being in the content/ directory.

Pulp is adding support for this, but in the mean time we need to document that after exporting and expanding the content:

# katello-disconnected export -t /var/tmp/export
# ./expand_export.sh
*** Done expanding archives. ***

The user needs to post process the results with the following commands:

# fix cf-me image files
mkdir -p $EXPORT_DIR/content/dist/cf-me/server/5.5/x86_64/files/
mkdir -p $EXPORT_DIR/content/dist/cf-me/server/5.4/x86_64/files/

mv cf-me-5_5-for-rhel-7-files--x86_64/* $EXPORT_DIR/content/dist/cf-me/server/5.5/x86_64/files/

mv cf-me-5_4-for-rhel-6-files--x86_64/* $EXPORT_DIR/content/dist/cf-me/server/5.4/x86_64/files/

# fix openstack directory files
mkdir -p $EXPORT_DIR/content/dist/rhel/server/7/7Server/x86_64/openstack-director/7.0/files/
mv rhel-7-server-openstack-7_0-files-7Server-x86_64/* $EXPORT_DIR/content/dist/rhel/server/7/7Server/x86_64/openstack-director/7.0/files/

# recursively fix openstack listing files fix_listing_files $EXPORT_DIR/content/dist/rhel/server/7/7Server/x86_64/openstack-director/7.0/ true

Comment 1 Jesus M. Rodriguez 2016-01-19 20:11:12 UTC
Created attachment 1116349 [details]
script to fix export

This script will contain the commands the user should run or they can download the script and fix their exports more easily.

Usage: ./fix_export.sh /path/to/export

For example if your content lives in /var/tmp/export/content then pass in /var/tmp/export to the script.

Comment 2 Jesus M. Rodriguez 2016-01-20 15:27:06 UTC
*** Bug 1300045 has been marked as a duplicate of this bug. ***

Comment 9 Andrew Dahms 2017-04-03 05:52:49 UTC
Hi Jesus,

Thank you for raising this bug.

Given the current direction of QCI, only critical bugs are to be addressed in the documentation going forward.

As such, I will be closing this bug, but please let me know if you have any questions or concerns.

Kind regards,

Andrew


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