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 1714260 - Unable to render provisioning template if snippet associated with partition table
Summary: Unable to render provisioning template if snippet associated with partition t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning Templates
Version: 6.5.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Roman Plevka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-27 14:06 UTC by Avijit Roy
Modified: 2023-09-07 20:04 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-31 17:59:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 25898 0 Normal Closed partition tables do not render snippets 2020-10-19 21:38:11 UTC
Red Hat Knowledge Base (Solution) 4183171 0 None None None 2019-06-13 18:58:15 UTC

Description Avijit Roy 2019-05-27 14:06:04 UTC
Description of problem:

If we associate snippet with partition table, Rendering provisioning template throws below error. 

"Warning! There was an error rendering the Kickstart default template: The specified snippet 'testsnippet' does not exist, or is not a snippet."


Version-Release number of selected component (if applicable):
Satellite 6.5

How reproducible:
100%

Steps to Reproduce:
1. Create a snippet under partition table and put a simple code like echo "test"
2. Associate it with correct Organization, Location and Operating system. 
3. Create a host and associate it with that operating system and resolve the provisioning templates (Kickstart default).
4. Go to Hosts > Provisioning Template > Render 'Kickstart Default' 

Actual results:

Gets below error. 

"Warning! There was an error rendering the Kickstart default template: The specified snippet 'testsnippet' does not exist, or is not a snippet."

testsnippet : Is the name of snippet. 

Expected results:

Provisioning template should be rendered. 


Additional info:

In satellite 6.4 it works fine.

Comment 5 Pat Riehecky 2019-05-29 19:28:45 UTC
I believe this is fixed upstream in https://github.com/theforeman/foreman/pull/6430

Comment 10 Marek Hulan 2020-01-31 17:59:52 UTC
This is fixed in 6.6.0, closing as current release.


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