Bug 213245

Summary: Kickstart Post Scripts execute in different sequence each time
Product: Red Hat Satellite 5 Reporter: Steven Warfield <steven.warfield>
Component: ServerAssignee: Shannon Hughes <shughes>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: high Docs Contact:
Priority: medium    
Version: 410CC: awiggins, g.stroh, rhn-bugs, tao
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: sat511 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-13 18:59:54 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: 429319    

Description Steven Warfield 2006-10-31 14:06:52 UTC
Description of problem:
The post scripts of a kickstart file do not execute in the same sequence every
time that they are run.  For example, when I have 4 post scripts in a single
kickstart profile, if I download the kickstart file several times, I will see
different execution sequences for the post scripts in each file.

Version-Release number of selected component (if applicable):
rhn 4.1.4 on redhat as 3 update 8

How reproducible:
every time

Steps to Reproduce:
1. create kickstart profile
2. create multiple kickstart post scripts
3. acccess the kickstart file in whatever manner you wish, and compare the order
of kickstart post scripts.
  
Actual results:

The post scripts will vary in execution order

Expected results:

The post scripts will execute in the same order every time.

Additional info:

This is certainly a large problem for the installation of software but it is
exacerbated by the fact that the post scripts are limited to only 2000
characters.  In version 4.0.6 there wasn't a 2000 character limit.  Bug # 204246

Comment 1 Mike McCune 2007-01-18 06:20:55 UTC

*** This bug has been marked as a duplicate of 215711 ***

Comment 2 g.stroh 2007-06-08 00:47:21 UTC
I don't have access to 215711 has this bug been resolved in later releases of 
Satellite?

Comment 3 Steven Warfield 2007-06-08 12:35:08 UTC
This bug is present in 4.2.0 I have not tested it yet in 4.2.1 .

1. Created kickstart file
2. Created 3 post scripts in kickstart file
3. Retrieved kickstart file 5 times, had a different order 3 of the times (some
duplication is expected)

With the newer versions of the satellite they at least allow you to have 150K+
characters so you can work around it by having all config done in one post script

Comment 8 Shannon Hughes 2008-05-08 18:59:51 UTC
added logic to sort kickstart scripts based on db insertion order. ready to move
to qa

Comment 10 Shannon Hughes 2008-06-11 15:42:05 UTC
mass move to onqa

Comment 11 Preethi Thomas 2008-06-12 18:52:17 UTC
verified

Comment 12 Jesus M. Rodriguez 2008-07-23 15:39:16 UTC
release pending, scripts remain in order as applied.

Comment 13 Brandon Perkins 2008-08-13 18:59:54 UTC
5.1.1 Satellite is now GA, bugs Closed for Current Release.

Comment 14 Brandon Perkins 2008-08-13 19:05:52 UTC
5.1.1 Satellite is now GA, bugs Closed for Current Release.