Actions
Bug #12061
open--capsule-parent-fqdn should not be a URL, just a hostname
Status:
New
Priority:
Normal
Assignee:
-
Description
When running through the provisioning setup, I received the following command to run:
katello-installer \ --enable-capsule \ --capsule-tftp=true \ --capsule-tftp-servername=10.123.123.50 \ --capsule-dhcp=true \ --capsule-dhcp-interface=eth0 \ --capsule-dhcp-gateway=10.123.123.1 \ --capsule-dhcp-range="10.123.123.220 10.123.123.250" \ --capsule-dhcp-nameservers="10.123.123.11,10.123.123.12" \ --capsule-dns=true \ --capsule-dns-interface=eth0 \ --capsule-dns-zone=domain.com \ --capsule-dns-reverse=123.123.10.in-addr.arpa \ --capsule-dns-forwarders=10.123.123.11 \ --capsule-dns-forwarders=10.123.123.12 \ --capsule-parent-fqdn=https://my-katello-01.domain.com \ --capsule-foreman-oauth-key=(censored) \ --capsule-foreman-oauth-secret=(also censored)
While running it, I got the following error:Could not evaluate: Proxy my-katello-01.domain.com cannot be registered (Could not load data from https://https://my-katello-01.domain.com
I believe that the --capsule-parent-fqdn
should not be prefixed with https://
, rather it should just be $(hostname -f)
.
I believe the issue to be here:
https://github.com/theforeman/foreman_setup/blob/f6cc5a6b147a121692849dd6e7c501a28b83f796/app/views/foreman_setup/provisioners/_step3.html.erb#L34
Updated by Tommy McNeely over 9 years ago
Sorry, meant to put... simple workaround is to run the installer again as follows
katello-installer --capsule-parent-fqdn=$(hostname -f)
Actions