Bug 1339645 - Capsule migration from legacy config doesn't run
Summary: Capsule migration from legacy config doesn't run
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Sachin Ghai
URL:
Whiteboard:
Depends On:
Blocks: 1335807
TreeView+ depends on / blocked
 
Reported: 2016-05-25 14:04 UTC by Eric Helms
Modified: 2019-09-26 17:33 UTC (History)
3 users (show)

Fixed In Version: katello-installer-base-3.0.0.37-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:07:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 15172 0 None None None 2016-05-25 14:04:14 UTC

Description Eric Helms 2016-05-25 14:04:13 UTC

Comment 1 Eric Helms 2016-05-25 14:04:17 UTC
Created from redmine issue http://projects.theforeman.org/issues/15172

Comment 2 Eric Helms 2016-05-25 14:04:20 UTC
Upstream bug assigned to ehelms

Comment 3 Brad Buckingham 2016-05-25 14:16:26 UTC
This is required to support capsule upgrades.

Comment 4 Bryan Kearney 2016-05-25 16:17:21 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/15172 has been closed

Comment 6 Sachin Ghai 2016-06-14 06:04:13 UTC
Performed upgrade from sat6.1.9 -> sat6.2 GA snap15.2 on rhel7

On my upgraded satellite, I see that capsule-installer.yaml.backup resides in /etc/capsule-installer instead of /etc/katello-installer

and capsule-upgrade was completed successfully:

 ~]# satellite-installer --scenario capsule --upgrade --certs-tar qe-capsule-rhel7.satqe.lab.eng.rdu2.redhat.com-certs.tar
Upgrading...
Upgrade Step: stop_services...
Upgrade Step: start_databases...
Upgrade Step: update_http_conf...
Upgrade Step: migrate_pulp...
Upgrade Step: fix_pulp_httpd_conf...
Upgrade Step: start_httpd...
Upgrade Step: start_qpidd...
Upgrade Step: start_pulp...
Upgrade Step: remove_nodes_importers...
Upgrade Step: Running installer...
Installing             Done                                               [100%] [..................................................................]
  The full log is at /var/log/foreman-installer/capsule.log
Upgrade Step: restart_services...
Katello upgrade completed!


Please advise if anything else needs to be tested here for verification ?

Comment 7 Brad Buckingham 2016-06-14 13:36:33 UTC
Hi Sachin,

Since bug 1341756 has been VERIFIED, you have essentially validated the behavior of this fix as well.  This fix was needed to help support the migrating of legacy configuration to the new configuration.  Bug 1341756 was one of the examples of data that was not migrated properly.

Comment 8 Sachin Ghai 2016-06-15 06:22:41 UTC
Thanks Brad for the info. Since the fix given with bug 1341756 has migrated the data properly. So moving this to verified.

Comment 9 Bryan Kearney 2016-07-27 11:07:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501


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