Bug #13735
closedUnable to install a capsule using katello-nightly repos
Description
Attempting to install a capsule server from nightly fails.
Scenario:
- install katello from nightly
- generate certs for a capsule (using capsule-certs-generate)
- attempt to install a capsule
The installer fails with error during registration with the katello server:
[ERROR 2016-02-16 10:05:10 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katello-centos7.example.com]: Could not evaluate: Proxy katello-centos7.example.com cannot be registered (Could not load data from https://katello-centos7.example.com
The following is an example of the capsule-installer command used for the install:
capsule-installer --parent-fqdn "katello-centos7-nightly.example.com"\
--register-in-foreman "true"\
--oauth-consumer-key "fJcpx36e3hoQzPCfqRLX7TDTkKxZX8Tx"\
--oauth-consumer-secret "Eh4H4EZWbCkzzQhJNrycsoYhLA4ewCNa"\
--pulp-oauth-secret "bTqZRRvoZFycePKmqkG3CvoSziXMKbtr"\
--certs-tar "~/katello-centos7.example.com-certs.tar"\
--puppet "true"\
--puppetca "true"
Updated by Brad Buckingham over 8 years ago
Note: I was able to manually add the capsule from the UI using:
Infrastructure->Smart Proxies
New Smart Proxy
Name: katello-centos7.example.com
URL: https://katello-centos7.example.com:9090
It was created and the features were recognized: Templates, Pulp Node, Puppet, and Puppet CA
Updated by Mario Gamboa over 8 years ago
Normally the error indicate sometime firewall port closed on the katello server did you check if you have open the necessary ports for allow the connection of the capsule to katello can you please upload foreman-debug to see more logs from the katello server and the capsule server also
Thanks
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86
Updated by Brad Buckingham over 8 years ago
Mario, Thanks for the input!
I found on Friday that I need a few additional parameters to be input to the installer. The inputs will need to be added to the capsule-certs-generate output and are currently being added as part of: https://github.com/Katello/katello-installer/pull/290
The additional parameters needed were:
--foreman-base-url "https://katello-scenario-katello.example.com"\
--trusted-hosts "katello-scenario-katello.example.com"\
--trusted-hosts "katello-scenario-capsule.example.com"\
Updated by Eric Helms over 8 years ago
- Status changed from New to Resolved
I believe this has been resolved through a series of updates to the installer.