Bug 947829 - spacecmd errors out when trying to add script to kickstart
Summary: spacecmd errors out when trying to add script to kickstart
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 1.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space20
TreeView+ depends on / blocked
 
Reported: 2013-04-03 11:41 UTC by David Juran
Modified: 2013-08-02 13:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-02 13:09:18 UTC
Embargoed:


Attachments (Terms of Use)

Description David Juran 2013-04-03 11:41:00 UTC
Description of problem:
The spacecmd command
kickstart_addscript  -e post -f openshift.ks -c -p djuran-OpenShift

errors out with
ERROR: cannot marshal None unless allow_none is enabled



Version-Release number of selected component (if applicable):
spacecmd-1.10.1-1.el6
from spacecmd nightly on RHEL6

Comment 1 Aron Parsons 2013-04-28 21:10:14 UTC
Fixed with 35dcec453a66520666ba29bbc4432c23b28773f7.  The template variable wasn't being set in non-interactive mode.

Comment 2 Tomas Lestach 2013-05-10 11:46:03 UTC
According to Comment#1 I'm moving the BZ to MODIFIED.

Comment 3 Tomáš Kašpárek 2013-08-02 13:09:18 UTC
Fix for this bug is present in Spacewalk 2.0, closing this bug as CURRENTRELEASE.


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