Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.
This repository was archived by the owner on Jul 18, 2023. It is now read-only.

add --force option to installer job to allow re-installation on existing systems. #318

Open
@rochacbruno

Description

@rochacbruno

If you have satellite currently installed and wants to re-install you can do manually using:

$ katello-remove
$ yum install -y satellite

and then this long command

$ satellite-installer --scenario satellite  -v --foreman-proxy-tftp-servername="FQDN" --foreman-proxy-tftp="true" --foreman-proxy-dns-zone="FQDN" --katello-proxy-password="secret" --katello-proxy-port="3128" --katello-proxy-url="FQDN" --foreman-proxy-dhcp="true" --foreman-proxy-dns="true" --foreman-proxy-register-in-foreman="true" --foreman-admin-password="changeme" --capsule-puppet="true" --foreman-proxy-puppetca="true" --foreman-proxy-dns-interface="virbr1" --foreman-proxy-dhcp-interface="virbr1" --katello-proxy-username="admin" --foreman-proxy-dns-forwarders="IPADDRESS" --foreman-proxy-dns-forwarders="IPADDRESS" --foreman-proxy-dns-forwarders="IPADDRESS" --foreman-proxy-dns-forwarders="IPADDRESS"

Because of the long command above, using satellite6 installer job on jenkins is useful, but it is currently failing because it misses --force option. (the error says you are trying to reinstall in existing system)

So we can have a new job: satellite6-reinstall or add REINSTALL boolean to the current install job and if true we add satellite-installer --scenario satellite --force ..... and the other needed steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions