Bug 1392500 - Sat6.1->6.2 upgrade leaves 3 directories under /var/lib/pulp as orphaned with lots of content
Summary: Sat6.1->6.2 upgrade leaves 3 directories under /var/lib/pulp as orphaned with...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.2.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
: 1387489 (view as bug list)
Depends On:
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker CEE_Sat6_Top_BZs, GSS_Sat6_Top_Bugs
TreeView+ depends on / blocked
 
Reported: 2016-11-07 15:28 UTC by Pavel Moravec
Modified: 2021-08-30 13:43 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-26 19:32:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2754891 0 None None None 2016-11-07 15:29:04 UTC

Description Pavel Moravec 2016-11-07 15:28:14 UTC
Description of problem:
Due to https://bugzilla.redhat.com/show_bug.cgi?id=1317057 and pulp changes with /var/lib/pulp structure, upgrading from 6.1 to 6.2 leaves all except one subdir of:


    /var/lib/pulp/working
    /var/lib/pulp/content/yum_repo_metadata_file/
    /var/lib/pulp/published/yum/master/

directories as orphaned, occupying even GBs of disk space. The directories shall be purged (with one exception) during Satellite / pulp upgrade, like KCS 

https://access.redhat.com/solutions/2754891

suggests.


Version-Release number of selected component (if applicable):
- Sat 6.2 upgraded from 6.1
- pulp 2.8 upgraded from 2.6


How reproducible:
100%


Steps to Reproduce:
1. Install 6.1
2. sync some repos, publish some Content Views
3. Upgrade to 6.2
4. Remove the C.V.s
5. Run weekly cron job to clean orphaned content
6. grep for C.V. name in /var/lib/pulp directory tree


Actual results:
Some of the 3 dirs still contain subdirs with the deleted C.V. name


Expected results:
No such subdir


Additional info:

Comment 2 Bryan Kearney 2017-03-23 19:45:50 UTC
*** Bug 1387489 has been marked as a duplicate of this bug. ***

Comment 10 Bryan Kearney 2018-11-26 19:32:24 UTC
Satellite 6.2 has reached maintenance support phase 2 [1]. This bug does not quality for inclusion in a 6.2.z release during this support phase. I am therefore closing this bug out.

[1] https://access.redhat.com/support/policy/updates/satellite


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