Bug 947829

Summary: spacecmd errors out when trying to add script to kickstart
Product: [Community] Spacewalk Reporter: David Juran <djuran>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.10CC: aronparsons, tkasparek
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: 2013-08-02 13:09:18 UTC Type: Bug
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: 991452    

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.