Bug 2255421

Summary: The Activation Keys page in Satellite WebUI asks user to register hosts with Satellite using old deprecated method
Product: Red Hat Satellite Reporter: Jayant Bhatia <jbhatia>
Component: Activation KeysAssignee: Jeremy Lenz <jlenz>
Status: CLOSED ERRATA QA Contact: Cole Higgins <chiggins>
Severity: low Docs Contact:
Priority: low    
Version: 6.15.0CC: ahumbe, chiggins, jlenz, rlavi, zhunting
Target Milestone: 6.15.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-katello-4.11.0.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:16:33 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-20 17:04:44 UTC
Description of problem:

The Satellite WebUI -> Content -> Activation Keys page asks user to register hosts with Satellite using deprecated method.

       subscription-manager register --org="org_name" --activationkey="activation_key_name"


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


How reproducible: Always


Steps to Reproduce:
1. Create a activation key in Satellite.
2. Navigate to Satellite WebUI -> Content -> Activation Keys -> Click on the name of created activation key. Go to 'Details' tab.

Actual results: The page asks user to register machine with Satellite using old deprecated method.

        ~~~~~
        This activation key may be used during system registration. For example:

        subscription-manager register --org="RedHat" --activationkey="ak_1"
        ~~~~~


Expected results: The page should ask user to register machine with Satellite using Global Registration Template way and not using deprecated way.


Additional info: Navigate to Satellite WebUI -> Configure -> Host groups -> Create Host Groups -> Go to 'Activation keys' tab. It says below.

       ~~~
       Subscriptions information based on selected activation keys:

       Activation keys and subscriptions can be managed here

       http://vm205-193.uatlab.pnq2.redhat.com/pub/katello-ca-consumer-latest.noarch.rpm
       ~~~
The katello-ca-consumer method of registration has been deprecated and should be removed from Host Groups page also.

Comment 1 Jeremy Lenz 2024-01-10 18:58:30 UTC
Created redmine issue https://projects.theforeman.org/issues/37040 from this bug

Comment 2 Bryan Kearney 2024-01-10 20:02:54 UTC
Upstream bug assigned to jlenz

Comment 3 Bryan Kearney 2024-01-10 20:02:56 UTC
Upstream bug assigned to jlenz

Comment 4 Bryan Kearney 2024-01-16 00:03:03 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/37040 has been resolved.

Comment 10 errata-xmlrpc 2024-04-23 17:16:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.15.0 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2024:2010