Bug 729645

Summary: kickstart.profile.downloadRenderedKickstart do not contain advanced options
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 541CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-28 12:38:32 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: 819027    

Description Jan Hutař 2011-08-10 12:58:41 UTC
Description of problem:
I have KS with some advanced options configured by kickstart.profile.setAdvancedOptions and I'm trying to download the KS from Satellite using either:

 * kickstart.profile.downloadKickstart
 * kickstart.profile.downloadRenderedKickstart

and I'm not getting expected results for second method - for example it is missing my custom setting "user --user=qwertyuiop". They are also missing in downloaded KS file from http://<fqdn>/cblr/svc/op/ks/profile/ks-bz601524-24903:1:RHNSatelliteteam and in KS presented on Systems -> Kickstart -> Profiles -> <myks> -> Kickstart File


Version-Release number of selected component (if applicable):
Both these spacewalk-java versions:
spacewalk-java-1.2.39-89.el5sat.noarch
spacewalk-java-1.2.39-91.el5sat.noarch
cobbler-2.0.7-11.el5sat


How reproducible:
always


Steps to Reproduce:
1. create normal KS profile
2. using kickstart.profile.getAdvancedOptions and setAdvancedOptions set:
     autostep --autoscreenshot
     user --user=qwertyuiop
3. cobbler sync
4. examine output of kickstart.profile.downloadKickstart
5. examine output of kickstart.profile.downloadRenderedKickstart


Actual results:
KS config file from "4." contains unexpanded cobbler macros, but have these lines:

[...]
autostep --autoscreenshot
[...]
user --user=qwertyuiop
[...]

KS config file from "5." do not have any macros, but do not have user and autostep declarations as well.


Expected results:
KS config file from "5." should have user and autostep declarations.

Comment 2 Tomas Lestach 2012-11-28 12:38:32 UTC
I tried to reproduce the issue according to the reproducer and I see
autostep --autoscreenshot
user --user=qwertyuiop
in both API outputs - kickstart.profile.downloadKickstart and kickstart.profile.downloadRenderedKickstart

The issue could have been fixed by Bug 728638.


Closing as CURRENTRELEASE.