Bug 1192487

Summary: unable to create host_group with parent as it prompts to update request
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: WebUIAssignee: Tom Caspy <tcaspy>
WebUI sub component: Foreman QA Contact: Kedar Bidarkar <kbidarka>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: bkearney, katello-qa-list, ohadlevy
Version: 6.1.0Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 13:57:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1166161    
Attachments:
Description Flags
host_group not found , asks to update request none

Description Kedar Bidarkar 2015-02-13 13:56:17 UTC
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:

Comment 2 Tom Caspy 2015-03-11 12:39:57 UTC
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.

Comment 3 Kedar Bidarkar 2015-03-19 09:51:13 UTC
this issue was seen with sanp2, but no longer with snap6-compose2.

Will re-open if this issue is seen again.

Comment 4 Bryan Kearney 2015-08-11 13:30:57 UTC
This bug is slated to be released with Satellite 6.1.

Comment 5 Bryan Kearney 2015-08-12 13:57:03 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.

Comment 6 Red Hat Bugzilla 2023-09-14 02:54:53 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days