RedHatSatellite / satellite-clone

Utility to assist cloning an existing Satellite 6 server to a new host
GNU General Public License v3.0
37 stars 31 forks source link

Disable "register-in-foreman" installer option for clones #275

Open lzap opened 6 years ago

lzap commented 6 years ago

When new clone starts installer, it will fail to re-register new proxy:

Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[]: Failed to call refresh: Proxy xyz cannot be registered (ApipieBindings::MissingArgumentsError: id): N/A

Declarative puppet will unlikely be able to rename proxy via API (it was designed to only add new ones which will fail), therefore we need to turn this feature off and ask the user to rename the proxy in web UI. Once this is fixed in satellite-clone please make doco change:

Once Satellite web UI is working, visit Capsules, edit the old Capsule and rename both the capsule and URL to:

Name: capsule.example.com URL: https://capsule.example.com:9090

Make sure the Name and URL are exactly the same.

lzap commented 6 years ago

Please turn this flag off:

    /etc/foreman-installer/scenarios.d/satellite-answers.yaml:    register_in_foreman: true

in order to improve upgrade experience for cloned satellites.