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 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.
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
Comment 12Satellite Program
2018-02-21 16:54:37 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, 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
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: