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 2056469 - Not possible to set hostgroup parameter during hostgroup creation
Summary: Not possible to set hostgroup parameter during hostgroup creation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Group
Version: 6.11.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: 6.11.0
Assignee: Ron Lavi
QA Contact: Omkar Khatavkar
URL:
Whiteboard:
: 2092860 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-21 10:25 UTC by Jan Jansky
Modified: 2022-07-05 14:33 UTC (History)
9 users (show)

Fixed In Version: tfm-rubygem-katello-4.3.0.40-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:33:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34747 0 Normal Closed Adding host parameters clears the values of the prior line 2022-04-27 14:52:24 UTC
Foreman Issue Tracker 34934 0 Normal Closed activation key overriding broke parameters table 2022-06-06 13:38:09 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:33:49 UTC

Description Jan Jansky 2022-02-21 10:25:34 UTC
Description of problem:
When i am trying to create new hostgroup and i will set hostgroup parameter during creation it will fail with "Name can't be blank" even though it was set.

As bonus when i will fill again hostgroup parameter and try to submit again hostgroup creation will forget already set values as below.

Content Source
Content view
Lifecycle Environmnent
Synced Content
Root Password


Version-Release number of selected component (if applicable):
7.0 snap 9.0

How reproducible:
Always

Steps to Reproduce:
1. Create hostgroup
2. Fill all choices
3. Add hostgroup parameter
4. Submit
5. Fill hostgroup parameter again
6. Submit

Actual results:
4. Hostgroup parameter shows "Name can't be blank"
6. Please select a content source before assigning a kickstart repository on Host Group tab

Expected results:
Create host group on first attempt.
Remember already selected values during seconds attempt.

Additional info:

Comment 2 Brad Buckingham 2022-02-21 14:06:06 UTC
Is this a regression from Satellite 6.10?

Comment 3 Jan Jansky 2022-02-21 14:29:17 UTC
Just tested the same on Satellite 6.9 and 6.10 and there it works fine, it is new behavior on 7.0 Snap 9.0

Comment 10 Oleh Fedorenko 2022-04-27 14:52:24 UTC
Connecting redmine issue https://projects.theforeman.org/issues/34747 from this bug

Comment 11 Omkar Khatavkar 2022-05-17 11:18:13 UTC
After having a conversation with Jan, Verified this Bugzilla in Satellite 6.11 and snap 20. The main issue mentioned by Jan is resolved but the underneath issue is still not fixed when we use the Activation Key tab. 

Steps:
1. Create a host group with parameters and submit it.
2. Try to edit the same group by adding a content view and then selecting the activation key and clicking on submit.
3. the parameters in parameter tabs are getting reset.

The error displayed as "Name can't be blank"

Marking this as Failed QA and assigned back again.

Comment 12 Ron Lavi 2022-05-17 11:29:55 UTC
Thanks Omkar,
I created a fix in https://github.com/Katello/katello/pull/10117
and connected it to https://projects.theforeman.org/issues/34747 as well

Comment 15 Brad Buckingham 2022-05-25 15:52:28 UTC
Moving to POST as the upstream PR referenced in comment 14 has been merged.

Comment 17 Ron Lavi 2022-06-06 11:12:02 UTC
*** Bug 2092860 has been marked as a duplicate of this bug. ***

Comment 18 Omkar Khatavkar 2022-06-07 13:37:24 UTC
verified on Satellite 6.11 in snap 23 it is fixed.

Comment 21 errata-xmlrpc 2022-07-05 14:33:39 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 (Moderate: Satellite 6.11 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:5498


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