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 1994877 - [RFE] Example is missing in "Install packages" option in the Advanced Tab of "Register Host" form.
Summary: [RFE] Example is missing in "Install packages" option in the Advanced Tab of ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Registration
Version: 6.10.0
Hardware: Unspecified
OS: All
unspecified
medium
Target Milestone: 6.12.0
Assignee: satellite6-bugs
QA Contact: Sam Bible
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-18 04:49 UTC by Sayan Das
Modified: 2022-11-16 13:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:32:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34252 0 Normal New Missing example for "Install packages" field 2022-01-12 13:01:07 UTC
Red Hat Issue Tracker SAT-4658 0 None None None 2021-08-19 00:39:57 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:33:34 UTC

Description Sayan Das 2021-08-18 04:49:36 UTC
Description of problem:

Right now, If I click on the info (?) button for "Install packages" , It shows me only what it's meant to do but not how the values are meant to be mentioned.

Someone can get confused whether if they have to mention the package's name in array format or csv format or name separated by space.


Version-Release number of selected component (if applicable):
Sat 6.10 snap 13


How reproducible:
100%

Steps to Reproduce:
1. Host --> All Hosts --> Register Host
2. Go to Advanced Tab
3. Click on the info (?) button for "Install packages" option


Actual results:
Install packages on the host when registered. Can be set by `host_packages` parameter


Expected results:

Install packages on the host when registered. Can be set by `host_packages` parameter. Example: `pkg1 pkg2`


Additional info:

It seems our code for controllers has that info with examples.

# grep -r "Packages to install" /usr/share/foreman
/usr/share/foreman/app/controllers/api/v2/registration_commands_controller.rb:        param :packages, String, desc: N_("Packages to install on the host when registered. Can be set by `host_packages` parameter. Example: `pkg1 pkg2`")
/usr/share/foreman/app/controllers/api/v2/registration_controller.rb:      param :packages, String, desc: N_("Packages to install on the host when registered. Can be set by `host_packages` parameter. Example: `pkg1 pkg2`")

Comment 1 Leos Stejskal 2022-01-12 13:01:06 UTC
Created redmine issue https://projects.theforeman.org/issues/34252 from this bug

Comment 2 Bryan Kearney 2022-01-14 16:04:43 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34252 has been resolved.

Comment 4 Sam Bible 2022-08-24 17:07:21 UTC
Version- Sat 6.12.0 snap 7


How reproducible:
100%

Steps to Reproduce:
1. Host --> All Hosts --> Register Host
2. Go to Advanced Tab
3. Click on the info (?) button for "Install packages" option


Actual results:
Text displays "Packages to install on the host when registered. Can be set by `host_packages` parameter, example: `pkg1 pkg2`."


Expected results:

Install packages on the host when registered. Can be set by `host_packages` parameter. Example: `pkg1 pkg2`

Comment 8 errata-xmlrpc 2022-11-16 13:32:46 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.12 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-2022:8506


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