Bug #15315
closedCapsule upgrade 6.1->6.2 snap 13 incorrectly resets trusted hosts and foreman-url
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1341756
Description of problem:
When upgrading a capsule from satellite 6.1 to satellite 6.2 beta (snap 13), running "satellite-installer --upgrade --scenario capsule ..." causes settings.yml to remove the satellite server from the trusted_hosts list and resets the foreman_url to the capsule's hostname instead of the server's hostname.
Version-Release number of selected component (if applicable):
6.2 Beta snap 13
How reproducible:
Steps to Reproduce:
1. satellite-installer --upgrade --scenario capsule
2.
3.
Actual results:
settings.yml contains the following settings:
trusted_hosts:
- <capsule hostname>
foreman_url: <capsule hostname>
Expected results:
settings.yml contains the following settings:
trusted_hosts:
- <capsule hostname>
- <satellite server hostname>
foreman_url: <satellite server hostname>
Additional info: