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 1996077 - Not possible to Nest hostgroup
Summary: Not possible to Nest hostgroup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Group
Version: 6.10.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: 6.10.0
Assignee: satellite6-bugs
QA Contact: Omkar Khatavkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-20 13:22 UTC by Jan Jansky
Modified: 2021-11-16 14:13 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:13:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:13:30 UTC

Description Jan Jansky 2021-08-20 13:22:08 UTC
Description of problem:
When trying to Nest new host group, do necessary changes and save, page got refreshed instead of showing error.

Version-Release number of selected component (if applicable):
6.10 snap 13

How reproducible: Always


Steps to Reproduce:
1. Create Host Group
2. Click on Nest, select new name, optionally change some other parameters (in my case it was name, LFE, AK)
3. Save

Actual results:
Page will refresh and loose some values from previously set parameters.

Expected results:
Correctly create Nested Host Group

Additional info:
In log i can see error below, not sure why it was not shown.

"Base The selected kickstart repository is not part of the assigned content view, lifecycle environment, content source, operating system, and architecture"

But in my current setup kickstart repository is part of content view, lfe, content source, OS and arch, so not sure what went wrong.

2021-08-20T15:15:19 [I|app|9b3f2b24] Started POST "/hostgroups" for 10.40.192.61 at 2021-08-20 15:15:19 +0200
2021-08-20T15:15:19 [I|app|9b3f2b24] Processing by HostgroupsController#create as HTML
2021-08-20T15:15:19 [I|app|9b3f2b24]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"pYUCj6uUlm/wmdOb1RzSXN9ncQscqgx4KT7bZcC/1rDJ99nrxb5MyHx1TjYAzEcf7ugDYKKIFXvICkYkgbIaJg==", "hostgroup"=>{"parent_id"=>"1", "name"=>"RHEL6-dev", "description"=>"", "lifecycle_environment_id"=>"2", "content_view_id"=>"3", "content_source_id"=>"1", "environment_id"=>"", "compute_resource_id"=>"", "puppet_proxy_id"=>"", "puppet_ca_proxy_id"=>"", "openscap_proxy_id"=>"", "puppetclass_ids"=>[""], "domain_id"=>"", "subnet_id"=>"", "realm_id"=>"", "architecture_id"=>"", "operatingsystem_id"=>"", "medium_id"=>"", "kickstart_repository_id"=>"93", "ptable_id"=>"", "pxe_loader"=>"", "root_pass"=>"[FILTERED]", "group_parameters_attributes"=>{"1629465306310"=>{"name"=>"kt_activation_keys", "parameter_type"=>"string", "value"=>"[FILTERED]", "hidden_value"=>"[FILTERED]", "_destroy"=>"0"}}, "location_ids"=>["2", ""], "organization_ids"=>["1", ""], "id"=>""}, "media_selector"=>"synced_content", "commit"=>"Submit"}
2021-08-20T15:15:20 [E|app|9b3f2b24] Failed to save: Base The selected kickstart repository is not part of the assigned content view, lifecycle environment,
 9b3f2b24 |                   content source, operating system, and architecture
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendering hostgroups/new.html.erb within layouts/application
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered collection of puppetclasses/_selectedClasses.html.erb [0 times] (Duration: 0.1ms | Allocations: 3)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered collection of puppetclasses/_classes_in_groups.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered puppetclasses/_classes.html.erb (Duration: 12.1ms | Allocations: 8676)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered puppetclasses/_class_selection.html.erb (Duration: 147.6ms | Allocations: 52922)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered common/os_selection/_architecture.html.erb (Duration: 20.1ms | Allocations: 9889)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered common/os_selection/_pxe_loader.html.erb (Duration: 20.9ms | Allocations: 9655)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered common/os_selection/_operatingsystem.html.erb (Duration: 209.5ms | Allocations: 65961)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered common/os_selection/_initial.html.erb (Duration: 251.0ms | Allocations: 85733)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered collection of puppetclasses/_class_parameters.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered puppetclasses/_classes_parameters.html.erb (Duration: 28.3ms | Allocations: 15866)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered common_parameters/_inherited_parameters.html.erb (Duration: 11.8ms | Allocations: 12079)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered common_parameters/_parameter.html.erb (Duration: 16.2ms | Allocations: 17603)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered common_parameters/_parameter.html.erb (Duration: 10.8ms | Allocations: 7944)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered common_parameters/_parameters.html.erb (Duration: 38.6ms | Allocations: 33745)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered taxonomies/_loc_org_tabs.html.erb (Duration: 28.6ms | Allocations: 12766)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered hostgroups/_form.html.erb (Duration: 789.6ms | Allocations: 315618)
2021-08-20T15:15:20 [I|app|9b3f2b24]   Rendered hostgroups/new.html.erb within layouts/application (Duration: 800.7ms | Allocations: 323085)
2021-08-20T15:15:21 [I|app|9b3f2b24]   Rendered layouts/_application_content.html.erb (Duration: 9.6ms | Allocations: 7622)
2021-08-20T15:15:21 [I|app|9b3f2b24]   Rendering layouts/base.html.erb
2021-08-20T15:15:21 [I|app|9b3f2b24]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-8.0.1.2/app/views/foreman_theme_satellite/_theme_client_side_branding.js.erb (Duration: 8.1ms | Allocations: 7120)
2021-08-20T15:15:21 [I|app|9b3f2b24]   Rendered layouts/base.html.erb (Duration: 46.3ms | Allocations: 37397)

Comment 7 Omkar Khatavkar 2021-10-11 05:28:47 UTC
Moving to Verified as it is fixed already !

Comment 10 errata-xmlrpc 2021-11-16 14:13:24 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.10 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-2021:4702


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