Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1269163

Summary: deleting a lifecycle environment from a capsule should free up space below /var/lib/pulp
Product: Red Hat Satellite Reporter: Christian Horn <chorn>
Component: Foreman ProxyAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Kedar Bidarkar <kbidarka>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.2CC: bbuckingham, chrobert, ealcaniz, egolov, jentrena, jsherril, kbidarka
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-07 13:01:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Horn 2015-10-06 13:39:13 UTC
Description of problem:
deleting a lifecycle environment from a capsule does not free up space below /var/lib/pulp.  On a satellite, a weekly cronjob calls "foreman-rake katello:delete_orphaned_content" for this (see https://access.redhat.com/solutions/1276263 ), but installing foreman-rake is considered to heavy for a capsule.

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

How reproducible:
always

Steps to Reproduce:
1. remove a livecycle environment from a capule as per https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.1/html/User_Guide/sect-Red_Hat_Satellite-User_Guide-Removing_Life_Cycle_Environments_from_the_Red_Hat_Satellite_Capsule_Server.html
2. du -sk /var/lib/pulp

Actual results:
/var/lib/pulp should get smaller

Expected results:
size stays the same

Additional info:

Comment 3 Bryan Kearney 2016-07-08 20:22:17 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 5 Justin Sherrill 2016-09-07 13:01:14 UTC

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