Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1341622 - capsule-certs-generate advises a user to use foreman-installer
Summary: capsule-certs-generate advises a user to use foreman-installer
Keywords:
Status: CLOSED DUPLICATE of bug 1335724
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Branding
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Martin Bacovsky
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-01 11:27 UTC by Lukas Pramuk
Modified: 2019-04-01 20:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-02 09:40:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukas Pramuk 2016-06-01 11:27:50 UTC
Description of problem:


Version-Release number of selected component (if applicable):
6.2-Snap13.1

How reproducible:
always

Steps to Reproduce:
# capsule-certs-generate --capsule-fqdn <CAPSULE_FQDN> --certs-tar ~/<CAPSULE_FQDN>-certs.tar
Installing             Done                                               [100%] [....................................]
  Success!

  To finish the installation, follow these steps:

  If you do not have the smartproxy registered to the Katello instance, then please do the following:

  1. yum -y localinstall http://<SATELLITE_FQDN>/pub/katello-ca-consumer-latest.noarch.rpm
  2. subscription-manager register --org "Default_Organization"

  Once this is completed run the steps below to start the smartproxy installation:
 
  1. Ensure that the foreman-installer-katello 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 foreman-installer --scenario capsule --help and
     documentation for more info on setting up additional services):
  
  foreman-installer --scenario capsule\
                    --parent-fqdn                         "<SATELLITE_FQDN>"\
                    --register-in-foreman                 "true"\
                    --foreman-base-url                    "https://<SATELLITE_FQDN>"\
                    --trusted-hosts                       "<SATELLITE_FQDN>"\
                    --trusted-hosts                       "<CAPSULE_FQDN>"\
                    --oauth-consumer-key                  "r7bdMGraL8A6qHLH4cuKwrSxRwdDwDEp"\
                    --oauth-consumer-secret               "KAxjmFEPSFRgGFHnJB4EfoAZjVwQ9STx"\
                    --pulp-oauth-secret                   "gAuRZ7N5SuCnakb4mGheTWYtm5inWyWN"\
                    --certs-tar                           "/root/<CAPSULE_FQDN>-certs.tar"
  The full log is at /var/log/capsule-certs-generate.log


Actual results:
  foreman-installer --scenario capsule\

Expected results:
  satellite-installer --scenario capsule\


Additional info:
/usr/share/katello-installer-base/hooks/post/10-post_install.rb:63

Comment 2 Brad Buckingham 2016-06-01 17:05:55 UTC
Note: This may affect more than just this scenario.

Comment 3 Martin Bacovsky 2016-06-02 09:40:25 UTC
The same issue was reported as BZ#1335724. Fix for it should be available in Snap 14.

*** This bug has been marked as a duplicate of bug 1335724 ***


Note You need to log in before you can comment on or make changes to this bug.