Created attachment 1133726 [details] Edit host form doesn't show the provisioning templates on provisioning a discovered host Description of problem: I was trying to provision a discovered host but the dit host form doesn't show the associated templates. I double checked and all templates were associated with selected OS. 2016-03-07 07:33:08 [app] [I] Started POST "/hosts/template_used?id=7?provisioning=build" for 10.65.193.200 at 2016-03-07 07:33:08 -0500 2016-03-07 07:33:08 [app] [I] Processing by HostsController#template_used as */* 2016-03-07 07:33:08 [app] [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"aeJryRqFNLFTahLEy3nj4hV3ul2mYq4hI+orrncotPs=", "host"=>{"name"=>"mac525400689a6f", "hostgroup_id"=>"1", "content_facet_attributes"=>{"id"=>""}, "environment_id"=>"1", "content_source_id"=>"1", "puppet_ca_proxy_id"=>"1", "puppet_proxy_id"=>"1", "openscap_proxy_id"=>"", "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "mac"=>"52:54:00:68:9a:6f", "identifier"=>"eth0", "name"=>"mac525400689a6f", "domain_id"=>"1", "subnet_id"=>"1", "ip"=>"192.168.100.14", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "tag"=>"", "attached_to"=>"", "id"=>"13"}, "new_interfaces"=>{"_destroy"=>"1", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"", "domain_id"=>"", "subnet_id"=>"", "ip"=>"", "managed"=>"1", "primary"=>"0", "provision"=>"0", "execution"=>"0", "virtual"=>"0", "tag"=>"", "attached_to"=>""}}, "architecture_id"=>"1", "operatingsystem_id"=>"3", "build"=>"1", "medium_id"=>"10", "ptable_id"=>"61", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"3-Users", "enabled"=>"1", "model_id"=>"2", "comment"=>"", "overwrite"=>"false"}, "hostgroup"=>{"lifecycle_environment_id"=>"2", "content_view_id"=>"2", "puppetclass_ids"=>[""]}, "fakepassword"=>"[FILTERED]", "bare_metal_capabilities"=>"build", "id"=>"7?provisioning=build"} 2016-03-07 07:33:08 [app] [I] Rendered common/404.html.erb within layouts/application (1.8ms) 2016-03-07 07:33:08 [app] [I] Rendered layouts/_application_content.html.erb (0.2ms) 2016-03-07 07:33:08 [app] [I] Rendered layouts/base.html.erb (0.8ms) 2016-03-07 07:33:08 [app] [I] Completed 404 Not Found in 14ms (Views: 4.2ms | ActiveRecord: 1.8ms) Please note on provisioning a host other than discovered one, I can see the templates Version-Release number of selected component (if applicable): Sat 6.2 snap2 How reproducible: always Steps to Reproduce: 1. discovered a host 2. click on provision _> edit host form -> Operating System 3. Actual results: Edit host form doesn't show the provisioning templates on provisioning a discovered host Expected results: Additional info:
This is not a regression, this button hasn't ever worked. Since we are likely changing the discovery provisioning form for 6.3, I am giving this low priority for 6.2. It does not *block* anything, if I understand the BZ correctly.
*** Bug 1367214 has been marked as a duplicate of this bug. ***
Upstream bug component is Discovery Plugin
*** Bug 1373521 has been marked as a duplicate of this bug. ***
Upstream bug assigned to dlobatog
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/15548 has been resolved.
Verified w/ sat6.3 beta Provisioning templates being resolved now when provisioning a discovered hosts and later I can resolved on edit host form too. thank you for fix.
Created attachment 1354113 [details] snap24- provisioning templates being resolved on edit host form when provisioning discovered host
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, 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-2018:0336