Bug 812856 - packages in organization not deleted when org removed
Summary: packages in organization not deleted when org removed
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 541
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jan Pazdziora (Red Hat)
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2012-04-16 12:52 UTC by Jan Hutař
Modified: 2015-05-29 20:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-29 20:12:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2012-04-16 12:52:58 UTC
Description of problem:
When I remove organization, its packages are not deleted from /var/satellite. Though they are removed from database.


Version-Release number of selected component (if applicable):
Satellite 5.4.1 + updates
satellite-schema-5.4.0.19-1.el6sat.noarch
spacewalk-java-1.2.39-115.el6sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Create organization with some user
2. Use that user to push packages into that org:
   # rhnpush -u jhutar -p jhutar --server=https://$(hostname)/APP /var/www/html/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm -vv --nosig
3. Ensure you can see the package in /var/satellite
   # find /var/satellite/ -name rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
4. Delete the organization
5. Check /var/satellite if package disappeared


Actual results:
Package is still there


Expected results:
Package should have been removed


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