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 1312054

Summary: Incremental publish does not remove old updateinfo.xml file from repodata.
Product: Red Hat Satellite Reporter: rakesh kumar <rakumar>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: low    
Version: 6.1.6CC: bbuckingham, bmbouter, daviddavis, dkliban, ggainey, ipanova, mhrivnak, pcreech, rchan, ttereshc
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-05 19:44:15 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 rakesh kumar 2016-02-25 15:59:16 UTC
Description of problem:
When an incremental publish is performed the old updateinfo.xml is not removed if a checksum is specified. Each publish adds a new updateinfo, which has a different checksum.


Version-Release number of selected component (if applicable): 
Red Hat Satellite 6.1.6


How reproducible:
Always


Steps to Reproduce:
1. Create a content view, add jbiss(or any other) repository in it.
2. Publish the content view multiple times.
3. list the file at below path:
# ls /var/lib/pulp/published/yum/https/repos/Optum/DevOPS_DEV/RHEL_6_DevOps/content/dist/rhel/server/6/6Server/x86_64/ose-jbosseap/2.2/os/repodata
# ls -l
total 264
-rw-r--r--. 1 apache apache  2346 Jan 14 16:01 2cf247f29a1dc33a29af24293d93141d8d46297c-primary.xml.gz
-rw-r--r--. 1 apache apache   130 Jan 14 16:01 406ca46e811cbb67669659067e496c49a203ebc8-comps.xml
-rw-r--r--. 1 apache apache 46888 Jan 14 16:01 52ef78bec08868bbb36bf5f84e1d84a061c44bab-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 45273 Dec 16 21:47 562d74ed45c8f83838a9554479b1b02ee33aa4c5-updateinfo.xml.gz
-rw-r--r--. 1 apache apache 45273 Dec 16 00:47 bc119e6791c365bff44e0bc9acc7a8bf71326f5a-updateinfo.xml.gz
-rw-r--r--. 1 apache apache  3141 Jan 14 16:01 bdd8ec449465f576766b64b5c704b1853c52246a-other.xml.gz
-rw-r--r--. 1 apache apache 46888 Dec 23 12:54 d992f23dacd8163eda26c7216fb1962474e7fd98-updateinfo.xml.gz

Actual results:
Multiple updateinfo.xml.gz file in repodata.

Expected results:
Single updateinfo.xml.gz file in repodata.


Additional info:
The upstream bug can be found at https://pulp.plan.io/issues/1045.

Comment 1 Bryan Kearney 2016-07-26 19:03:25 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 3 pulp-infra@redhat.com 2016-08-03 14:31:33 UTC
The Pulp upstream bug status is at CLOSED - DUPLICATE. Updating the external tracker on this bug.

Comment 4 pulp-infra@redhat.com 2016-08-03 14:31:36 UTC
The Pulp upstream bug priority is at Low. Updating the external tracker on this bug.

Comment 5 pulp-infra@redhat.com 2016-11-21 21:01:12 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 6 pulp-infra@redhat.com 2016-11-21 21:01:15 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 7 Michael Hrivnak 2016-12-05 19:44:15 UTC

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