Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
'Location' field is marked as mandatory field to be selected while generating curl command using Global registration Template. Even when the 'Location' field is not specified/selected, the curl commands gets generated without any issue/error/warning. Curl command should not get generated unless 'Location' field is explicitly specified since it is a mandatory field.
Version-Release number of selected component (if applicable): Satellite 6.12
How reproducible: Always
Steps to Reproduce:
1. Navigate to Satellite WebUI -> Hosts -> Content Hosts -> Register Content Hosts.
2. Specify all the mandatory fields except Location. Do not specify the "Location" field and keep it as default which is "Not specified".
3. Click on "Generate" at the bottom.
Actual results: The curl command is generated even when Location field is Not specified.
Expected results: Location field is marked as a mandatory field with asterisk(*). Clicking on "Generate" button should ask to specify the "Location" field and should not generate the curl command until Location field is explicitly specified.
Additional info: While hovering to the question mark (?) near Location field, it says: "If no location is set, the default location of the user is assumed.". If that is the scenario, then "Location" field should be by default set to the user's location and should not be set as "Not specified".
Verified.
Version Tested: Satellite 6.14.0 Snap 2.0
Steps to Reproduce:
1. Create an activation key.
2. Navigate to Satellite UI --> Hosts --> Register Host
3. Change location to "Not Specified" and select the new created activation key.
4. Generate curl command to register host.
Actual Result:
Curl command gets generated successfully without specifying location
PS: This is expected behavior so moving this to verified.
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.14 security and bug fix update), 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-2023:6818