Project

General

Profile

Actions

Bug #14098

closed

Capsule-certs-generate asks me to register capsule, but usually I already am registered because I had to install capsule-installer

Added by Chris Roberts about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Installer
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

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/&lt;capsule_fqdn&gt;-certs.tar to the system &lt;capsule_fqdn&gt;
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://&amp;lt;satellite_fqdn&amp;gt;/pub/katello-ca-consumer-latest.noarch.rpm
subscription-manager register --org "Default_Organization"
capsule-installer --parent-fqdn "&lt;satellite_fqdn&gt;"\
--register-in-foreman "true"\
--foreman-oauth-key "i6n...wgP"\
--foreman-oauth-secret "C56...p2n"\
--pulp-oauth-secret "6s4...SX2"\
--certs-tar "/root/&lt;capsule_fqdn&gt;-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 #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/310 added
Actions #2

Updated by Eric Helms about 8 years ago

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

Updated by Anonymous about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF