Bug 1343084 - Upgrades need to handle legacy configurations in multiple directories
Summary: Upgrades need to handle legacy configurations in multiple directories
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Martin Bacovsky
QA Contact: Jitendra Yejare
URL:
Whiteboard:
Depends On: 1343438
Blocks: 1335807 1342449
TreeView+ depends on / blocked
 
Reported: 2016-06-06 13:14 UTC by Brad Buckingham
Modified: 2019-09-25 21:29 UTC (History)
5 users (show)

Fixed In Version: satellite-installer-6.2.0.8-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:20:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Brad Buckingham 2016-06-06 13:14:36 UTC
Description of problem:

In Satellite 6.1, the capsule configuration could be located in one of 2 places depending on the deployment scenario:

1. /etc/katello-installer - for storing the 'internal' capsule configuration
2. /etc/capsule-installer - for storing the 'external' capsule configuration

In Satellite 6.2, as part of the upgrade, the legacy configuration needs to be migrated to the new scenario-based configuration.  In order to do this, it needs to be able to support pulling from either of these locations depending on whether it is a Satellite (satellite or katello) or Capsule.

Version-Release number of selected component (if applicable):

Satellite 6.2  SNAP 14.1

How reproducible:

Always

Additional Notes:

From a QA perspective, testing the upgrade of 6.1 to 6.2 Satellite & Capsule should be sufficient.  The key is to ensure that the answers from the legacy configuration above (1. & 2.) are migrated to the new location (/etc/foreman-installer/scenarios.d).

Comment 6 Martin Bacovsky 2016-06-07 12:05:35 UTC
BZ#1343438 and BZ#1343084 are not related and are not blocking each other. But we need both fixed for successful capsule upgrade.

Comment 8 Jitendra Yejare 2016-06-29 10:56:35 UTC
Verified!

@ Sat 6.2 Snap 17

The satellite and capsule are successfully upgraded. Also the configuration files for satellite and capsule are listed under /etc/foreman-installer/scenarios.d/
 
So moving this bug to verified as per steps/comment/note for QE mentioned in Description.

Comment 9 Bryan Kearney 2016-07-27 11:20:09 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.