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 2253311 - The capsule-certs-generate command asks to register the Capsule machine using old deprecated registration method
Summary: The capsule-certs-generate command asks to register the Capsule machine using...
Keywords:
Status: CLOSED DUPLICATE of bug 2124052
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.15.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.15.0
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-06 19:02 UTC by Jayant Bhatia
Modified: 2023-12-14 16:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-14 16:26:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-21765 0 None None None 2023-12-06 19:02:45 UTC

Description Jayant Bhatia 2023-12-06 19:02:28 UTC
Description of problem:

After capsule-certs-generate has been completed successfully, at the end, the same command asks to register the Capsule machine with Satellite using old deprecated method.

Version-Release number of selected component (if applicable): Satellite 6.15.0


How reproducible: Always


Steps to Reproduce:

- Run below command on Satellite machine.

       # capsule-certs-generate \
        --foreman-proxy-fqdn capsule.example.com \
        --certs-tar /root/capsule_cert/capsule.example.com-certs.tar


Actual results: The command throws below output on screen at the end.

  To finish the installation, follow these steps:

  If you do not have the Capsule registered to the Satellite instance, then please do the following:

  1. yum -y localinstall http://satellite615.example.com/pub/katello-ca-consumer-latest.noarch.rpm
  2. subscription-manager register --org "RedHat"

Here we are asking user to manually install the katello-ca-consumer package and then run 'subscription-manager register' command which is a deprecated method now.

Expected results: Instead of above method, we should ask user to generate curl command using Global Registration Template method and use it to register the Capsule machine with Satellite.

Comment 1 Eric Helms 2023-12-14 16:26:47 UTC

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


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