Bug 1307207
Summary: | Pulp repository sync doesn't clean up old <checksum>.updateinfo.gz files | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Frank Hirtz <fhirtz> | ||||||||||
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Bruno Rocha <rochacbruno> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | high | ||||||||||||
Version: | 6.1.6 | CC: | bbuckingham, bkearney, bmbouter, daniele, daviddavis, dkliban, ehelms, ggainey, ipanova, jcallaha, jentrena, jomitsch, mhrivnak, mverma, pcreech, pdwyer, rakumar, rchan, riehecky, satellite6-bugs, snemeth, ttereshc, zhunting | ||||||||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||||||||
Target Release: | Unused | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | pulp-2.8.7.7-1,pulp-rpm-2.8.7.9-1 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | |||||||||||||
: | 1426379 (view as bug list) | Environment: | |||||||||||
Last Closed: | 2017-05-01 13:52:16 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: | |||||||||||||
Bug Depends On: | |||||||||||||
Bug Blocks: | 1426379 | ||||||||||||
Attachments: |
|
Description
Frank Hirtz
2016-02-13 03:26:34 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. *** Bug 1312054 has been marked as a duplicate of this bug. *** The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug. The Pulp upstream bug status is at POST. Updating the external tracker on this bug. The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug. All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST. The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug. The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. Please add verifications steps for this bug to help QE verify The hotfix is broken. Three of the packages are built for el7, and the rest for el6. Anyone running this hotfix likely has the pre-hotfix version of the pulp_rpm plugin, and thus would not see the desired change in behavior. Zach, would you like to re-build it? All of that said, unless the existence of these extra updateinfo files is causing problems for a user for some specific reason, my suggestion is to wait for 6.2.9. The old files are safe to ignore. Yes I will rebuild, it. I'll try and have it out as soon as possible. Created attachment 1265818 [details]
Pulp Hotfix (revised)
Pulp Hotfix (revised)
The Pulp upstream bug status is at POST. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. Created attachment 1267609 [details]
Pulp Hotfix(EL6 Revised)
The Pulp upstream bug status is at CLOSED - COMPLETE. Updating the external tracker on this bug. Created attachment 1270493 [details]
Pulp Hotfix(EL6 Revised) 6.2.8
Created attachment 1270494 [details]
Pulp Hotfix(EL6 Revised) 6.2.8
Verified in: satellite-6.2.9-2.0.el7sat.noarch Note: For old repositories in this same system I noted some directories with more than 1000+ files, so problem was happening in 6.2.8 The system was updated for 6.2.9 and problem gone as in verification steps bellow. Steps: 1) Added new product + repository 2) Sync 3) verified number of updateinfo.xml.gz files [root@cloud-qe-09 ~]# ls /var/lib/pulp/published/yum/master/yum_distributor/Default_Organization-Zooo-newzoo/1492096608.62/repodata/ | grep updateinfo | wc -l 1 4) Sync again 5) verified if data is updated and have only one file [root@cloud-qe-09 ~]# ls /var/lib/pulp/published/yum/master/yum_distributor/Default_Organization-Zooo-newzoo/1492096608.62/repodata/ | grep updateinfo | wc -l ls: cannot access /var/lib/pulp/published/yum/master/yum_distributor/Default_Organization-Zooo-newzoo/1492096608.62/repodata/: No such file or directory 0 [root@cloud-qe-09 ~]# ls /var/lib/pulp/published/yum/master/yum_distributor/Default_Organization-Zooo-newzoo/1492096810.97/repodata/ | grep updateinfo | wc -l 1 6) Following steps from https://pulp.plan.io/issues/2096 I removed 2 packaged and synck again [root@cloud-qe-09 ~]# ls /var/lib/pulp/published/yum/master/yum_distributor/Default_Organization-Zooo-newzoo/1492096810.97/repodata/ | grep updateinfo | wc -l ls: cannot access /var/lib/pulp/published/yum/master/yum_distributor/Default_Organization-Zooo-newzoo/1492096810.97/repodata/: No such file or directory 0 [root@cloud-qe-09 ~]# ls /var/lib/pulp/published/yum/master/yum_distributor/Default_Organization-Zooo-newzoo/1492096862.19/repodata/ | grep updateinfo | wc -l 1 Results: repodata leak is not happening, directory and repodata/updateinfo.xml.gz is being cleaned between syncs. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1191 |