Project

General

Profile

Bug #19006

Cannot add Host group parameter "kt_activation_keys"

Added by Mike Hulsman over 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
hard
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When I create a new Hostgroup I cannot add a hostgroup parameter.
I updated to katello 3.3.1 this morning and the problem still exist.
Also in 3.3.0 the same problem exist.

Before 3.3 we could add hostgroup parameters.

I attached the logfile when adding a hostgroup paramater.
I waanted to add a parameter with the name "kt_activation_keys"

add-hostgroupparameter add-hostgroupparameter 2.04 KB Mike Hulsman, 03/23/2017 11:50 AM
edit hostgroup-parameter.png View edit hostgroup-parameter.png 186 KB Mike Hulsman, 03/23/2017 12:07 PM
edit hostgroup.png View edit hostgroup.png 198 KB Mike Hulsman, 03/23/2017 12:07 PM
edit hostgroup-parameter-test.png View edit hostgroup-parameter-test.png 168 KB Mike Hulsman, 03/23/2017 12:07 PM
add-hostgroupparameter-2 add-hostgroupparameter-2 3.87 KB Mike Hulsman, 03/23/2017 12:10 PM
After update AK.png View After update AK.png 245 KB After updating the Activation Key Mike Hulsman, 03/24/2017 12:15 PM
Before update AK.png View Before update AK.png 259 KB Before updating the Activation Key Mike Hulsman, 03/24/2017 12:15 PM
Change AK.png View Change AK.png 193 KB Change the Activation Key Mike Hulsman, 03/24/2017 12:15 PM
Edit%20hostgroup parameter Edit%20hostgroup Edit%20hostgroup parameter test After%20update%20ak Before%20update%20ak Change%20ak

History

#1 Updated by Dominic Cleal over 2 years ago

  • Category set to Host groups
  1. The log shows editing of an existing host group, not creation of a new host group as described. Which exactly is affected?
  2. The log shows the new parameter is marked as deleted (_destroy => 1) when submitted by the web browser, so the UI probably has it marked as deleted too. Please show a screenshot of the parameter when you're entering it and the corresponding log.
  3. Does this happen for parameters with any name, or only this one?

#2 Updated by Mike Hulsman over 2 years ago

Dominic Cleal wrote:

  1. The log shows editing of an existing host group, not creation of a new host group as described. Which exactly is affected?
  2. The log shows the new parameter is marked as deleted (_destroy => 1) when submitted by the web browser, so the UI probably has it marked as deleted too. Please show a screenshot of the parameter when you're entering it and the corresponding log.
  3. Does this happen for parameters with any name, or only this one?

Hi Dominic,

Sorry for that, I did a lot of actions.
I added screenshots.
When I add a parameter with the name "test" it succeeds.

#3 Updated by Mike Hulsman over 2 years ago

This is the result, when trying to add kt_activation_keys and test

#4 Updated by Dominic Cleal over 2 years ago

  • Project changed from Foreman to Katello

If the parameter "test" succeeds, perhaps this is a bug in Katello, not Foreman.

#5 Updated by Mike Hulsman over 2 years ago

A colleague in our team found the solution.
There is also a tab named "Activation keys", when you change the activation key over there it will work.
When you change it and go to the "Parameters" tab, the original kt_activation_keys becomes kt_activation_keys but the
new value is not shown.

It is strange that the kt_activation_keys is shown in the "Parameters" tab while you can only change it in the "Activation keys" tab.

See attached screen shots.

#6 Updated by Justin Sherrill over 2 years ago

  • Subject changed from Cannot add Host group parameters to Cannot add Host group parameter "kt_activation_keys"
  • Category set to Hosts
  • Legacy Backlogs Release (now unused) set to 114
  • Difficulty set to hard

This is the only parameter that should be a problem to add, because as you said its managed by that tab. This needs some more thought to resolve.

Also available in: Atom PDF