Activation Key cannot be saved in host group
Running foreman 1.17.1-1 with katello 3.6.0-3 on Centos 7.5 I discovered the following issue:
It's is not possible to save an activation key to a host group.
Steps to reproduce:
1. Create an activation key and add a subscription to it (in my case I am using the Red Hat Developer Suite)
2. Create a host group and define an OS which is supported by the subscription attached to the activation key aost ground associate the activation key to the host group. (At this step no error is thrown and it says that the host group was saved successfully)
3. Check the host group settings and the activation key is not present. ]
Also I tried to skip adding the activation key and set it up directly in the host group params as kt_activation_keys but also this parameter doesn't get saved. Any other parameter defined in the host group is saved correctly.
Let me know if you need any logs.
#3 Updated by Partha Aji almost 2 years ago
I was unable to reproduce this. I was able to go to the Activation Keys tab in the Hostgroup and see the saved Activation Key. Moreover while I don't see 'kt_activation_keys' in the created Hostgroup, when I apply the hostgroup to a host on the New hosts page I see it as part of the parameters (See attached.)