Project

General

Profile

Actions

Bug #13735

closed

Unable to install a capsule using katello-nightly repos

Added by Brad Buckingham about 8 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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"

Actions #1

Updated by Brad Buckingham about 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

Actions #2

Updated by Mario Gamboa about 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

Actions #3

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions #4

Updated by Brad Buckingham about 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"\

Actions #5

Updated by Eric Helms about 8 years ago

  • Status changed from New to Resolved

I believe this has been resolved through a series of updates to the installer.

Actions

Also available in: Atom PDF