Bug 729645 - kickstart.profile.downloadRenderedKickstart do not contain advanced options
Summary: kickstart.profile.downloadRenderedKickstart do not contain advanced options
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 541
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 819027
TreeView+ depends on / blocked
 
Reported: 2011-08-10 12:58 UTC by Jan Hutař
Modified: 2012-11-28 12:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-28 12:38:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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