Actions
Bug #14098
closedCapsule-certs-generate asks me to register capsule, but usually I already am registered because I had to install capsule-installer
Difficulty:
trivial
Triaged:
Bugzilla link:
Description
Description of problem:
capsule-certs-generate asks me to register capsule, but usually capsule is already registered because you had to install capsule-installer
Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150217.0-Satellite-x86_64
How reproducible:
always
Steps to Reproduce:
1. On a Satellite run:
# capsule-certs-generate --capsule-fqdn <capsule_fqdn> \
--certs-tar ~/<capsule_fqdn>-certs.tar'
Actual results:
The utility advices me:
To finish the installation, follow these steps:
1. Ensure that the capsule-installer package is installed on the system.
2. Copy /root/<capsule_fqdn>-certs.tar to the system <capsule_fqdn>
3. Run the following commands on the capsule (possibly with the customized
parameters, see capsule-installer --help and
documentation for more info on setting up additional services):
rpm -Uvh http://&lt;satellite_fqdn&gt;/pub/katello-ca-consumer-latest.noarch.rpm
subscription-manager register --org "Default_Organization"
capsule-installer --parent-fqdn "<satellite_fqdn>"\
--register-in-foreman "true"\
--foreman-oauth-key "i6n...wgP"\
--foreman-oauth-secret "C56...p2n"\
--pulp-oauth-secret "6s4...SX2"\
--certs-tar "/root/<capsule_fqdn>-certs.tar"\
--puppet "true"\
--puppetca "true"\
--pulp "true"
The full log is at /var/log/katello-installer/capsule-certs-generate.log
Expected results:
Maybe first and second step should be somehow conditional like "if you already do not have your capsule registered to your satellite, do it using something like these commands"
Actions