Bug 1337938 - Document pre-upgrade script in 6.2 upgrade docs
Summary: Document pre-upgrade script in 6.2 upgrade docs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Docs Install Guide
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: Unspecified
Assignee: Stephen Wadeley
QA Contact: Russell Dickenson
URL:
Whiteboard:
Depends On: 1268283
Blocks: 1339417
TreeView+ depends on / blocked
 
Reported: 2016-05-20 13:50 UTC by Sachin Ghai
Modified: 2019-09-26 16:20 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-31 21:28:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sachin Ghai 2016-05-20 13:50:58 UTC
Description of problem: 
Pre-upgrade script that lists all hosts which can be deleted before
performing real migration from sat6.1 to 6.2 needs to be packaged for 6.2

Not sure if its needed for Satellite repo or capsule too?

Version-Release number of selected component (if applicable):
sat6.2 GA snap12

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Justin Sherrill 2016-05-20 13:59:07 UTC
This is a dup of https://bugzilla.redhat.com/show_bug.cgi?id=1268283

do you want to keep this open to ensure its documented in the 6.2 docs?

Comment 5 Brad Buckingham 2016-05-23 00:02:37 UTC
Adding NEEDINFO based on comment #3.

Comment 6 Sachin Ghai 2016-05-30 08:56:05 UTC
Yes please, I just changed the component to 'Documentation' to properly add this.

Comment 7 Sachin Ghai 2016-06-01 08:26:44 UTC
User should place the `preupgrade.rake` script under `/usr/share/foreman/lib/tasks`.

==Run the script using:==

# foreman-rake katello:preupgrade_content_host_check --trace

===Expected output should be like:===

# foreman-rake katello:preupgrade_content_host_check --trace
** Invoke katello:preupgrade_content_host_check (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute katello:preupgrade_content_host_check
This script makes no modifications and can be re-run multiple times for the most up to date results.
Calculating Host changes on upgrade.  This may take a few minutes.


Summary:
Content hosts to be preserved: 6
Content hosts to be deleted: 11
Details on Content Hosts planned for deletion saved to /tmp/pre-upgrade-1464769262.csv
You may want to manually resolve some of the conflicts and duplicate Content Hosts.
Upon upgrade those found for deletion will be removed permanently.

Comment 25 Stephen Wadeley 2016-07-31 21:22:34 UTC
This is now live on the customer portal.

Satellite 6.2 docs are here:

https://access.redhat.com/documentation/en/red-hat-satellite/


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