Bug 1058431 - Spacewalk-remove-channel does not remove the kickstart trees.
Summary: Spacewalk-remove-channel does not remove the kickstart trees.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 560
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Ales Dujicek
URL:
Whiteboard:
Depends On:
Blocks: sat570-lowbug
TreeView+ depends on / blocked
 
Reported: 2014-01-27 19:08 UTC by Dimitar Yordanov
Modified: 2015-01-13 09:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-13 09:55:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch (6.70 KB, patch)
2014-01-30 10:15 UTC, Dimitar Yordanov
no flags Details | Diff

Description Dimitar Yordanov 2014-01-27 19:08:19 UTC
Description of problem:
Spacewalk-remove-channel does not remove the kickstart trees from the file system for the channel specified.

Version-Release number of selected component (if applicable):
spacewalk-backend-tools-2.0.3-20

How reproducible:
100%

Steps to Reproduce:
1. satellite-sync -c rhel-i386-server-5
2. Check if the kickstart trees are sync.
      # ll /var/satellite/rhn/kickstart/ks-rhel-i386-server-5-
3. spacewalk-remove-channel -c rhel-i386-server-5

Actual results:
The kickstart trees are not removed from the file system.
# ll /var/satellite/rhn/kickstart/ks-rhel-i386-server-5-

Expected results:
The kickstart trees are removed from the file system.

Additional info:

Comment 1 Dimitar Yordanov 2014-01-30 10:15:07 UTC
Created attachment 857418 [details]
patch

Comment 2 Michael Mráka 2014-01-31 13:59:27 UTC
Additional commits
commit 8eedd31b92166c53b622a76f252cf307c757d451
    1058431 - don't remove files referenced from other distributions/trees
commit 2938b15e4612600dd25424839402e6d69f9d278f
    1058431 - propagate --skip-kickstart-trees to delete_channels()
commit 603d6cb64063e781b431c170316c07772f104639
    fixed man page for spacewalk-remove-channel
commit 67ea5b347b76294b9d12f6cc9566666168a74b79
    added option to skip kickstart trees removal

Comment 4 Clifford Perry 2015-01-13 09:55:32 UTC
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is
being moved to a Closed Current Release state. 

The Satellite 5.7 GA Errata:
 - https://rhn.redhat.com/errata/RHSA-2015-0033.html 

Satellite 5.7 Release Notes:
 -
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html

Satellite Customer Portal Blog announcement for release:
 - https://access.redhat.com/blogs/1169563/posts/1315743 

Cliff


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