Bug #19006
openCannot add Host group parameter "kt_activation_keys"
Added by Mike Hulsman about 8 years ago. Updated 8 months ago.
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"
Files
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 |
Updated by Dominic Cleal about 8 years ago
- Category set to Host groups
- The log shows editing of an existing host group, not creation of a new host group as described. Which exactly is affected?
- 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.
- Does this happen for parameters with any name, or only this one?
Updated by Mike Hulsman about 8 years ago
- File edit hostgroup.png edit hostgroup.png added
- File edit hostgroup-parameter.png edit hostgroup-parameter.png added
- File edit hostgroup-parameter-test.png edit hostgroup-parameter-test.png added
- Category deleted (
Host groups)
Dominic Cleal wrote:
- The log shows editing of an existing host group, not creation of a new host group as described. Which exactly is affected?
- 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.
- 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.
Updated by Mike Hulsman about 8 years ago
- File add-hostgroupparameter-2 add-hostgroupparameter-2 added
This is the result, when trying to add kt_activation_keys and test
Updated by Dominic Cleal about 8 years ago
- Project changed from Foreman to Katello
If the parameter "test" succeeds, perhaps this is a bug in Katello, not Foreman.
Updated by Mike Hulsman about 8 years ago
- File After update AK.png After update AK.png added
- File Before update AK.png Before update AK.png added
- File Change AK.png Change AK.png added
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.
Updated by Justin Sherrill about 8 years ago
- Subject changed from Cannot add Host group parameters to Cannot add Host group parameter "kt_activation_keys"
- Category set to Hosts
- Translation missing: en.field_release 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.