Bug 2253311

Summary: The capsule-certs-generate command asks to register the Capsule machine using old deprecated registration method
Product: Red Hat Satellite Reporter: Jayant Bhatia <jbhatia>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.15.0CC: ehelms, rlavi
Target Milestone: 6.15.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-14 16:26:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***