Bug 881830 - KickstartFileSyncTask won't re-create content of /var/lib/rhn/kickstarts/wizzard directory
KickstartFileSyncTask won't re-create content of /var/lib/rhn/kickstarts/wizz...
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Tomas Lestach
Pavel Studeník
Depends On:
Blocks: 819027
  Show dependency treegraph
Reported: 2012-11-29 11:23 EST by Milan Zázrivec
Modified: 2013-03-04 07:57 EST (History)
2 users (show)

See Also:
Fixed In Version: spacewalk-java-1.7.54-113
Doc Type: Bug Fix
Doc Text:
Consequence: If content of /var/lib/rhn/kickstarts/wizzard directory gets deleted, taskomatic fails to re-create it. Result: Possibly deleted content of /var/lib/rhn/kickstarts/wizzard directory will be correctly re-created by taskomatic.
Story Points: ---
Clone Of:
Last Closed: 2013-03-04 07:57:39 EST
Type: Bug
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 Milan Zázrivec 2012-11-29 11:23:25 EST
Description of problem:
The following directory on RHN Satellite:


contains kickstart files for every kickstart profile defined on RHN Satellite.
Should the content of this directory be deleted (which happens for example
automatically during RHN Satellite upgrade), KickstartFileSyncTask will
not re-create its content as it should (i.e. the task which should
be syncing the kickstart files to disk will not sync anything).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Satellite 5.5, create a kickstart profile
2. Check /var/lib/rhn/kickstarts/wizzard directory, a kickstart file
for the profile should be created by tomcat.
3. Delete the kickstart file from the step 2.
4. Manually execute KickstartFileSyncTask from:
5. See whether taskomatic re-created the deleted file.
Actual results:
The deleted kickstart file will never be re-created by taskomatic.

Expected results:
The deleted file is re-created by taskomatic

Additional info:
Change in behavior was introduced by bug #863479 and the following commit:

Comment 2 Tomas Lestach 2012-12-03 08:35:20 EST
create /var/lib/rhn/kickstarts/wizard/*.cfg files if missing by the KickstartFileSyncTask ...
+ bonus: fix the query returning all kickstart data to contain only unique entries

spacewalk.git: f8559ee73b52ba4959828459b8c68ed10ef27b2e
Comment 7 errata-xmlrpc 2013-03-04 07:57:39 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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