Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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:
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.