-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
6.9.0
Description of problem:
cloning of hostgroups is not working anymore properly.
It doesn't clone Lifecycle and content View from the hostgroup
Version-Release number of selected component (if applicable):
6.9
How reproducible:
Always
Steps to Reproduce:
1. Create a HostGroup with Lifecycle and content View from the Configure -> Hostgroup
2. Now Clone the above Hostgroup
3. Provide a name to the cloned Hostgroup, you will see Lifecycle and content View field are empty in the cloned Hostgroup
Actual results:
Lifecycle and content View are not copied/cloned to the new Hostgroup
Expected results:
Lifecycle and content View should be copied to the cloned Hostgroup
Additional info:
2021-07-05T08:06:10 [I|app|813f69df] Processing by HostgroupsController#clone as HTML
2021-07-05T08:06:10 [I|app|813f69df] Parameters:
2021-07-05T08:06:10 [I|app|813f69df] Rendering hostgroups/new.html.erb within layouts/application
2021-07-05T08:06:11 [I|app|813f69df] Rendered collection of puppetclasses/_selectedClasses.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
2021-07-05T08:06:11 [I|app|813f69df] Rendered collection of puppetclasses/_classes_in_groups.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
:
:
:
2021-07-05T08:06:28 [I|app|ba60efa2] Started POST "/hostgroups" for 10.10.113.74 at 2021-07-05 08:06:28 -0400
2021-07-05T08:06:28 [I|app|ba60efa2] Processing by HostgroupsController#create as HTML
2021-07-05T08:06:28 [I|app|ba60efa2] Parameters: {"utf8"=>"✓", "authenticity_token"=>"ydzFOFbxZFnbnKmUG4nmd1pz+bBrtjk1dFYsRGXilBr06latENEULVoF9ey1u3GeRmIxsQXF44fxBrxkGQdQeA==", "hostgroup"=>
, "commit"=>"Submit"}
2021-07-05T08:06:28 [I|aud|ba60efa2] Hostgroup (6) create event on name andy
2021-07-05T08:06:28 [I|aud|ba60efa2] Hostgroup (6) create event on environment_id 1