Bug 489423

Summary: Add a way to regenerate KS files on disk
Product: [Community] Spacewalk Reporter: Partha Aji <paji>
Component: ServerAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.5CC: mmccune
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 07:11:00 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: 456553    

Description Partha Aji 2009-03-09 22:52:20 UTC
When a kickstart profile is currently created through the wizard, the actual file is dumped on the hard drive at the creation time.  This means that any time there is an update in the code that fixes the KickstartFormatter the administrator has to apply the patch and renegenerate the files one at a time. 

A better option would be to have either a taskomatic task to check the time stamps in the file system and the rhnKickstartData and basically regenerate profiles on update AND have an api call to force regenerate each profile..

Comment 1 Justin Sherrill 2009-03-11 17:14:07 UTC
So I added a task to look for missing Wizard-style kickstart files.  If one is missing then it simply regenerates it.  

This will provide a solution for upgrades to spacewalk/satellite with cobbler, as wizard ks files will now be generated automagically.

Not sure an API call is necessary simply because the user only needs to delete everything in /var/lib/rhn/kickstarts/wizard/  to regenerate all the files.  


commit	b17b9a4c297d19f38acda26690af11c88912bf3f
tree	7b3214a5a63b865efe7b79d9dcfea9df2f62b13c	tree | snapshot
parent	0585f8d4199dfc780b92cba41cff27692a6b5411	commit | diff

Comment 2 Jesus M. Rodriguez 2009-04-14 14:13:27 UTC
Spacewalk 0.5 released.

Comment 3 Miroslav Suchý 2009-09-17 07:11:00 UTC
Spacewalk 0.5 has been released for long time ago.