Bug 1473532 - deleting organization does not delete its custom channel's packages
Summary: deleting organization does not delete its custom channel's packages
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-21 06:05 UTC by Jan Hutař
Modified: 2018-04-09 15:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-09 15:34:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2017-07-21 06:05:29 UTC
Description of problem:
Deleting organization does not delete its custom channel's packages


Version-Release number of selected component (if applicable):
spacewalk-java-2.3.8-160.el6sat.noarch
satellite-schema-5.7.0.32-1.el6sat.noarch
spacewalk-backend-2.3.3-52.el6sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Create organization jhutar, no entitlements required, note down org ID
2. Login as that organization admin
3. Create channel jhutar-delme with architecture matching to the package you
   are going to push to it in a while
4. Push some package into it
   # rhnpush -u <user> -p <pass> -c jhutar-delme vim-go-1.8-3.el7.x86_64.rpm
5. Verify that package landed:
   # find /var/satellite/redhat/$ORG_ID/ -type f
6. Logout and login as satellite admin
7. Delete that organization


Actual results:
After deleting organization package is left behind. Have not tried, but `spacewalk-data-fsck` reports it.


Expected results:
Package should be removed from the disk

Comment 1 Jan Hutař 2017-07-21 06:06:35 UTC
Also on 5.8.0:

spacewalk-java-2.5.14-89.el6sat.noarch
satellite-schema-5.8.0.31-1.el6sat.noarch
spacewalk-backend-2.5.3-143.el6sat.noarch

Comment 2 Tomas Lestach 2017-07-21 14:30:05 UTC
I'd say this is expected.

Comment 4 Tomas Lestach 2018-04-09 15:34:47 UTC
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog.

This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED. 

Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed.


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