Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Created attachment 991387[details]
host_group not found , asks to update request
Description of problem:
unable to create host_group with parent as it prompts to update request
If I try to manually select and override the 'life-cycle-environment' to the same value (without 'inherit parent' dropdown ) and upon submitting the request the host-group with parent is created successfully.
Also in foreman/production.log many values appear to be NULL("").
Processing by HostgroupsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"mpc1TdSa9br/7Z/B6zUKG4HFEpOaZJlhmRKbaYdmZjQ=", "hostgroup"=>{"parent_id"=>"4", "name"=>"kedarb", "lifecycle_environment_id"=>"Inherit parent (dev)", "content_view_id"=>"2", "environment_id"=>"", "content_source_id"=>"", "puppet_ca_proxy_id"=>"", "puppet_proxy_id"=>"", "puppetclass_ids"=>[""], "domain_id"=>"", "subnet_id"=>"", "realm_id"=>"", "architecture_id"=>"", "operatingsystem_id"=>"", "medium_id"=>"", "ptable_id"=>"", "root_pass"=>"[FILTERED]", "location_ids"=>["", "2"], "organization_ids"=>["", "1"], "id"=>""}, "fakepassword"=>"[FILTERED]", "parent_parameter_0_key"=>"", "parent_parameter_0_value"=>"[FILTERED]", "kt_activation_keys"=>"rhel", "commit"=>"Submit"}
Rendered common/404.html.erb within layouts/application (2.4ms)
Rendered layouts/base.html.erb (1.5ms)
Completed 404 Not Found in 72ms (Views: 7.6ms | ActiveRecord: 7.0ms)
Version-Release number of selected component (if applicable):
Sat6.1 beta snap2
How reproducible:
always
Steps to Reproduce:
1. create a host-group hgrp1
2. create a host-group hgrp2 and select hgrp1 as parent.
3.
Actual results:
unable to create host-group with parent info, unitl 'life-cycle-environment' is overridden. more info as mentioned in "description of problem".
Expected results:
should be able to create host-group with parent info as it is.
At-least it should prompt the user as to why the request needs to be updated
Additional info:
Does this happen in satellite only? I just tested this on a katello deployment (nightly release) and it worked as expected. will test on Sat 6.1 tomorrow.
Created attachment 991387 [details] host_group not found , asks to update request Description of problem: unable to create host_group with parent as it prompts to update request If I try to manually select and override the 'life-cycle-environment' to the same value (without 'inherit parent' dropdown ) and upon submitting the request the host-group with parent is created successfully. Also in foreman/production.log many values appear to be NULL(""). Processing by HostgroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mpc1TdSa9br/7Z/B6zUKG4HFEpOaZJlhmRKbaYdmZjQ=", "hostgroup"=>{"parent_id"=>"4", "name"=>"kedarb", "lifecycle_environment_id"=>"Inherit parent (dev)", "content_view_id"=>"2", "environment_id"=>"", "content_source_id"=>"", "puppet_ca_proxy_id"=>"", "puppet_proxy_id"=>"", "puppetclass_ids"=>[""], "domain_id"=>"", "subnet_id"=>"", "realm_id"=>"", "architecture_id"=>"", "operatingsystem_id"=>"", "medium_id"=>"", "ptable_id"=>"", "root_pass"=>"[FILTERED]", "location_ids"=>["", "2"], "organization_ids"=>["", "1"], "id"=>""}, "fakepassword"=>"[FILTERED]", "parent_parameter_0_key"=>"", "parent_parameter_0_value"=>"[FILTERED]", "kt_activation_keys"=>"rhel", "commit"=>"Submit"} Rendered common/404.html.erb within layouts/application (2.4ms) Rendered layouts/base.html.erb (1.5ms) Completed 404 Not Found in 72ms (Views: 7.6ms | ActiveRecord: 7.0ms) Version-Release number of selected component (if applicable): Sat6.1 beta snap2 How reproducible: always Steps to Reproduce: 1. create a host-group hgrp1 2. create a host-group hgrp2 and select hgrp1 as parent. 3. Actual results: unable to create host-group with parent info, unitl 'life-cycle-environment' is overridden. more info as mentioned in "description of problem". Expected results: should be able to create host-group with parent info as it is. At-least it should prompt the user as to why the request needs to be updated Additional info: