Bug 729645 - kickstart.profile.downloadRenderedKickstart do not contain advanced options
kickstart.profile.downloadRenderedKickstart do not contain advanced options
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API (Show other bugs)
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Tomas Lestach
Red Hat Satellite QA List
Depends On:
Blocks: 819027
  Show dependency treegraph
Reported: 2011-08-10 08:58 EDT by Jan Hutař
Modified: 2012-11-28 07:38 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-11-28 07:38:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Hutař 2011-08-10 08:58:41 EDT
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:

How reproducible:

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 07:38:32 EST
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.


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