Project

General

Profile

Actions

Bug #15350

closed

Upgrades are not migrating several capsule answers/parameters

Added by Brad Buckingham almost 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Urgent
Category:
Upgrades
Target version:
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1344023
Description of problem:

When upgrading a Satellite or an external Capsule from 6.1 to 6.2, there are several parameters that are not getting migrated from the old configuration [1] to the new configuration [2].

This includes parameters such as:

bmc
bmc_default_provider
dhcp
dhcp_listen_on
dhcp_option_domain
dhcp_managed
dhcp_interface
dhcp_gateway
dhcp_range
dhcp_nameservers
dhcp_vendor
dhcp_config
dhcp_leases
dhcp_key_name
dhcp_key_secret
dns
dns_managed
dns_provider
dns_zone
dns_reverse
dns_interface
dns_server
dns_ttl
dns_tsig_keytab
dns_tsig_principal
dns_forwarders
virsh_network
realm
realm_provider
realm_keytab
realm_principal
freeipa_remove_dns
register_in_foreman

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

Satellite 6.2 SNAP 14

How reproducible:

Always

Steps to Reproduce:
1. Install Satellite 6.1 and Capsule 6.1
2. Ensure that the configuration has several foreman proxy services configured with non-default values (e.g. dns, dhcp, realm, bnc...)
3. Upgrade the Satellite to 6.2
4. Upgrade the Capsule to 6.2

Actual results:

Upgrade may fail; however, observe that the answers file generated for the upgraded environment does not indicated that the previous configuration was migrated.

See [2] for the new files.

Expected results:

The answers from should be migrated from [1] to [2] and used as part of the upgrade process.

Additional info:

[1] /etc/katello-installer/answers.katello-installer.yaml (internal capsule)
/etc/capsule-installer/answers.capsule-installer.yaml (external capsule)

[2] /etc/foreman-installer/scenarios.d/satellite-answers.yaml (internal capsule)
/etc/foreman-installer/scenarios.d/capsule-answers.yaml (external capsule)

Actions #1

Updated by Justin Sherrill almost 8 years ago

  • Assignee set to Brad Buckingham
  • Priority changed from Normal to Urgent
  • translation missing: en.field_release set to 86
  • Difficulty set to medium
Actions #2

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/361 added
Actions #3

Updated by Brad Buckingham almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF