Bug 522526

Summary: Can't enter snippet into partitioning info for kickstart
Product: Red Hat Satellite 5 Reporter: Justin Sherrill <jsherril>
Component: ProvisioningAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Garik Khachikyan <gkhachik>
Severity: high Docs Contact:
Priority: high    
Version: 530CC: cperry, gkhachik, mkoci, tcameron
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-10 14:26:16 UTC Type: ---
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: 518256    

Description Justin Sherrill 2009-09-10 15:29:55 UTC
If you are editing a wizard style kickstart, on the 'System Details" -> Partitioning page, try to enter a snippet:

$SNIPPET("/spacewalk/1/snippet")

you will get an error:

    * Invalid partition value removed: $SNIPPET"/spacewalk/1/snippet". Please verify the input values and resubmit.


I think two things are happening here.  the ')', '(' characters are being stripped and we are validating the input to make sure it's a valid partitioning command.  

We need to change this to allow snippets.

Comment 2 Justin Sherrill 2009-10-07 17:30:30 UTC
*** Bug 527279 has been marked as a duplicate of this bug. ***

Comment 3 Justin Sherrill 2009-10-12 16:30:49 UTC
app code changes (backportable) 04373bf8fc9101952feec90030ee0b3cce5838e0

schema upgrade for 5.4 (or what comes next) 2d37cd8705696dfcdab21af69a47378d13f95572

Comment 5 Justin Sherrill 2009-10-12 21:49:32 UTC
found a small issue with the fix, fixed in master: c24984e8a3ee77794afab7f484c69fd35c760ec9

and in satellite.git: f6afc4e3f2eb111a8793cd115cce106220ebedf2

Comment 11 errata-xmlrpc 2009-11-10 14:26:16 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1566.html